2 writes to Points
Microsoft.Maui.Controls (2)
Shapes\Polyline.cs (1)
17
Points
= points;
Shapes\StrokeShapeTypeConverter.cs (1)
104
return new Polyline {
Points
= points };
10 references to Points
Microsoft.Maui.Controls (9)
Handlers\Shapes\Polyline\PolylineHandler.cs (1)
11
[nameof(Polyline.
Points
)] = MapPoints,
Shapes\Polyline.cs (8)
20
/// <summary>Bindable property for <see cref="
Points
"/>.</summary>
22
BindableProperty.Create(nameof(
Points
), typeof(PointCollection), typeof(Polyline), null, defaultValueCreator: bindable => new PointCollection());
56
if (
Points
?.Count > 0)
58
path.MoveTo((float)
Points
[0].X, (float)
Points
[0].Y);
60
for (int index = 1; index <
Points
.Count; index++)
61
path.LineTo((float)
Points
[index].X, (float)
Points
[index].Y);
Microsoft.Maui.Controls.Compatibility (1)
iOS\Shapes\PolylineRenderer.cs (1)
69
_points = Element.
Points
;