Class DefaultWidgetBackgroundRenderer
Inherited Members
Namespace: Ritchie.Toolbox.VisualStyles
Assembly: Ritchie.Toolbox.dll
Syntax
public sealed class DefaultWidgetBackgroundRenderer : IWidgetBackgroundRenderer, IVisualRenderer<Widget.BackgroundStyleProperties>
Methods
Draw(Widget, GeometryHelper, in LayoutRect, BackgroundStyleProperties)
Draws a widget using the specified visual properties.
Declaration
public void Draw(Widget widget, GeometryHelper geometry, in LayoutRect contentRect, Widget.BackgroundStyleProperties properties)
Parameters
Type | Name | Description |
---|---|---|
Widget | widget | The widget to draw |
GeometryHelper | geometry | The destination to which the widget should be drawn |
LayoutRect | contentRect | The widget's calculated content bounds |
Widget.BackgroundStyleProperties | properties | The visual properties associated with the widget |