Interface IWidgetRenderer<TWidget>
Namespace: Ritchie.Toolbox.VisualStyles
Assembly: Ritchie.Toolbox.dll
Syntax
public interface IWidgetRenderer<in TWidget> where TWidget : Widget
Type Parameters
Name | Description |
---|---|
TWidget |
Methods
ClipWidget(TWidget, GeometryHelper, in LayoutRect, in BackgroundStyleProperties)
Declaration
void ClipWidget(TWidget widget, GeometryHelper geometry, in LayoutRect contentRect, in Widget.BackgroundStyleProperties backgroundStyle)
Parameters
Type | Name | Description |
---|---|---|
TWidget | widget | |
GeometryHelper | geometry | |
LayoutRect | contentRect | |
Widget.BackgroundStyleProperties | backgroundStyle |
DrawWidget(TWidget, GeometryHelper, in LayoutRect, in BackgroundStyleProperties)
Declaration
void DrawWidget(TWidget widget, GeometryHelper geometry, in LayoutRect contentRect, in Widget.BackgroundStyleProperties backgroundStyle)
Parameters
Type | Name | Description |
---|---|---|
TWidget | widget | |
GeometryHelper | geometry | |
LayoutRect | contentRect | |
Widget.BackgroundStyleProperties | backgroundStyle |