Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.Shapes.PolygonAvalonia.Controls.ShapesAvalonia.Controlssrc/Avalonia.Controls/Shapes/Polygon.csShapecontrolpublic static readonly StyledProperty<IList<Point>> PointsProperty = AvaloniaProperty.Register<Polygon, IList<Point>>("Points");public static readonly StyledProperty<FillRule> FillRuleProperty = AvaloniaProperty.Register<Polygon, FillRule>(nameof(FillRule));public Polygon() {public IList<Point> Points {public FillRule FillRule {<Polygon x:Name="SamplePolygon" />
using Avalonia.Controls.Shapes;
var control = new Polygon();