Class PathFigure
Represents a subsection of a geometry, a single connected series of two-dimensional geometric segments.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class PathFigure : DependencyObject
Constructors
| Improve this Doc View SourcePathFigure()
Initializes a new instance of the PathFigure class.
Declaration
public PathFigure()
Fields
| Improve this Doc View SourceIsClosedProperty
Identifies the IsClosed dependency property.
Declaration
public static readonly DependencyProperty IsClosedProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsFilledProperty
Identifies the IsFilled dependency property.
Declaration
public static readonly DependencyProperty IsFilledProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SegmentsProperty
Identifies the Segments dependency property.
Declaration
public static readonly DependencyProperty SegmentsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
StartPointProperty
Identifies the StartPoint dependency property.
Declaration
public static readonly DependencyProperty StartPointProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceIsClosed
Gets or sets a value that indicates whether this figure's first and last segments are connected.
Declaration
public bool IsClosed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsFilled
Gets or sets a value that indicates whether the contained area of this PathFigure is to be used for hit-testing, rendering, and clipping.
Declaration
public bool IsFilled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Segments
Gets or sets the collection of segments that define the shape of this PathFigure object.
Declaration
public PathSegmentCollection Segments { get; set; }
Property Value
Type | Description |
---|---|
PathSegmentCollection |
StartPoint
Gets or sets the Point where the PathFigure begins.
Declaration
public Point StartPoint { get; set; }
Property Value
Type | Description |
---|---|
Point |