Table of Contents

Class Polygon

Namespace
Avalonia.Controls.Shapes
Assembly
Avalonia.Controls.dll
public class Polygon : Shape, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
Inheritance
Polygon
Implements
Inherited Members
Extension Methods

Constructors

Polygon()

public Polygon()

Fields

PointsProperty

public static readonly StyledProperty<IList<Point>> PointsProperty

Field Value

StyledProperty<IList<Point>>

Properties

Points

public IList<Point> Points { get; set; }

Property Value

IList<Point>

Methods

CreateDefiningGeometry()

Creates the shape's defining geometry.

protected override Geometry CreateDefiningGeometry()

Returns

Geometry

Defining Geometry of the shape.