Table of Contents

Class PolylineGeometry

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll

Represents the geometry of an polyline or polygon.

public class PolylineGeometry : Geometry, INotifyPropertyChanged
Inheritance
PolylineGeometry
Implements
Inherited Members
Extension Methods

Constructors

PolylineGeometry()

Initializes a new instance of the PolylineGeometry class.

public PolylineGeometry()

PolylineGeometry(IEnumerable<Point>, bool)

Initializes a new instance of the PolylineGeometry class.

public PolylineGeometry(IEnumerable<Point> points, bool isFilled)

Parameters

points IEnumerable<Point>
isFilled bool

Fields

IsFilledProperty

Defines the IsFilled property.

public static readonly StyledProperty<bool> IsFilledProperty

Field Value

StyledProperty<bool>

PointsProperty

Defines the Points property.

public static readonly DirectProperty<PolylineGeometry, IList<Point>> PointsProperty

Field Value

DirectProperty<PolylineGeometry, IList<Point>>

Properties

IsFilled

public bool IsFilled { get; set; }

Property Value

bool

Points

Gets or sets the figures.

[Content]
public IList<Point> Points { get; set; }

Property Value

IList<Point>

The points.

Methods

Clone()

Clones the geometry.

public override Geometry Clone()

Returns

Geometry

A cloned geometry.