Show / Hide Table of Contents

Class PathFigure

Represents a subsection of a geometry, a single connected series of two-dimensional geometric segments.

Inheritance
System.Object
DependencyObject
PathFigure
Inherited Members
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
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, IDependencyObject

Constructors

| Improve this Doc View Source

PathFigure()

Initializes a new instance of the PathFigure class.

Declaration
public PathFigure()

Fields

| Improve this Doc View Source

IsClosedProperty

Identifies the IsClosed dependency property.

Declaration
public static readonly DependencyProperty IsClosedProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IsFilledProperty

Identifies the IsFilled dependency property.

Declaration
public static readonly DependencyProperty IsFilledProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SegmentsProperty

Identifies the Segments dependency property.

Declaration
public static readonly DependencyProperty SegmentsProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

StartPointProperty

Identifies the StartPoint dependency property.

Declaration
public static readonly DependencyProperty StartPointProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

IsClosed

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

true if the first and last segments of the figure are connected; otherwise, false. The default is false.

| Improve this Doc View Source

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

true if the contained area of this PathFigure is to be used for hit-testing, rendering, and clipping; otherwise, false. The default is true.

| Improve this Doc View Source

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

The collection of segments that define the shape of this PathFigure object. The default is an empty collection.

| Improve this Doc View Source

StartPoint

Gets or sets the Point where the PathFigure begins.

Declaration
public Point StartPoint { get; set; }
Property Value
Type Description
Point

The Point where the PathFigure begins. The default is a Point with value 0,0.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source