Class GeometryDrawing
Represents a drawing operation that combines a geometry with and brush and/or pen to produce rendered content.
public sealed class GeometryDrawing : Drawing, INotifyPropertyChanged
- Inheritance
-
GeometryDrawing
- Implements
- Inherited Members
- Extension Methods
Constructors
GeometryDrawing()
public GeometryDrawing()
Fields
BrushProperty
Defines the Brush property.
public static readonly StyledProperty<IBrush?> BrushProperty
Field Value
GeometryProperty
Defines the Geometry property.
public static readonly StyledProperty<Geometry?> GeometryProperty
Field Value
PenProperty
Defines the Pen property.
public static readonly StyledProperty<IPen?> PenProperty
Field Value
Properties
Brush
Gets or sets the IBrush used to fill the interior of the shape described by this GeometryDrawing.
public IBrush? Brush { get; set; }
Property Value
Geometry
Gets or sets the Geometry that describes the shape of this GeometryDrawing.
[Content]
public Geometry? Geometry { get; set; }
Property Value
Pen
Gets or sets the IPen used to stroke this GeometryDrawing.
public IPen? Pen { get; set; }
Property Value
Methods
GetBounds()
Gets the drawing's bounding rectangle.
public override Rect GetBounds()