Table of Contents

Class PathFigure

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll
public sealed class PathFigure : AvaloniaObject, INotifyPropertyChanged
Inheritance
PathFigure
Implements
Inherited Members
Extension Methods

Constructors

PathFigure()

Initializes a new instance of the PathFigure class.

public PathFigure()

Fields

IsClosedProperty

Defines the IsClosed property.

public static readonly StyledProperty<bool> IsClosedProperty

Field Value

StyledProperty<bool>

IsFilledProperty

Defines the IsFilled property.

public static readonly StyledProperty<bool> IsFilledProperty

Field Value

StyledProperty<bool>

SegmentsProperty

Defines the Segments property.

public static readonly DirectProperty<PathFigure, PathSegments?> SegmentsProperty

Field Value

DirectProperty<PathFigure, PathSegments>

StartPointProperty

Defines the StartPoint property.

public static readonly StyledProperty<Point> StartPointProperty

Field Value

StyledProperty<Point>

Properties

IsClosed

Gets or sets a value indicating whether this instance is closed.

public bool IsClosed { get; set; }

Property Value

bool

true if this instance is closed; otherwise, false.

IsFilled

Gets or sets a value indicating whether this instance is filled.

public bool IsFilled { get; set; }

Property Value

bool

true if this instance is filled; otherwise, false.

Segments

Gets or sets the segments.

[Content]
public PathSegments? Segments { get; set; }

Property Value

PathSegments

The segments.

StartPoint

Gets or sets the start point.

public Point StartPoint { get; set; }

Property Value

Point

The start point.

Methods

ToString()

public override string ToString()

Returns

string