2 writes to Points
Microsoft.Maui.Controls (2)
Shapes\Polygon.cs (1)
17 Points = points;
Shapes\StrokeShapeTypeConverter.cs (1)
89 return new Polygon { Points = points };
11 references to Points
Microsoft.Maui.Controls (11)
Handlers\Shapes\Polygon\PolygonHandler.cs (1)
11 [nameof(Polygon.Points)] = MapPoints,
Handlers\Shapes\Polygon\PolygonHandler.iOS.cs (2)
12 polygon.Points.CollectionChanged += OnPointsCollectionChanged; 20 polygon.Points.CollectionChanged -= OnPointsCollectionChanged;
Shapes\Polygon.cs (8)
20 /// <summary>Bindable property for <see cref="Points"/>.</summary> 22 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(Polygon), null, defaultValueCreator: bindable => new PointCollection()); 57 if (Points?.Count > 0) 59 path.MoveTo((float)Points[0].X, (float)Points[0].Y); 61 for (int index = 1; index < Points.Count; index++) 62 path.LineTo((float)Points[index].X, (float)Points[index].Y);