IBrushFactory
Interface
Creates a drawing brush for a gauge visual and requested style.
Definition
Namespace:Telerik.WinControls.UI.Gauges
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public interface IBrushFactory
Methods
Creates a brush when the factory supports the specified visual and style.
C#
Brush CreateBrush(GaugeVisualElement owner, GaugeBrushType type)
The gauge visual whose colors and geometry may be used to configure the brush.
typeGaugeBrushTypeThe requested brush style.
Returns:A brush for the visual, or null when this factory does not support the visual or style. The gauge renderer disposes brushes returned by this method after painting.