Class DrawingBrush
Paints an area with an Drawing.
public sealed class DrawingBrush : TileBrush, INotifyPropertyChanged, ISceneBrush, ITileBrush, IBrush
- Inheritance
-
DrawingBrush
- Implements
- Inherited Members
- Extension Methods
Constructors
DrawingBrush()
Initializes a new instance of the DrawingBrush class.
public DrawingBrush()
DrawingBrush(Drawing)
Initializes a new instance of the DrawingBrush class.
public DrawingBrush(Drawing visual)
Parameters
visual
DrawingThe visual to draw.
Fields
DrawingProperty
Defines the Drawing property.
public static readonly StyledProperty<Drawing?> DrawingProperty
Field Value
Properties
Drawing
Gets or sets the visual to draw.
public Drawing? Drawing { get; set; }
Property Value
Methods
OnUnreferencedFromCompositor(Compositor)
protected override void OnUnreferencedFromCompositor(Compositor c)