-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
PolyLineSegment.cs
30 lines (27 loc) · 1.18 KB
/
PolyLineSegment.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#nullable disable
namespace Microsoft.Maui.Controls.Shapes
{
/// <include file="../../../docs/Microsoft.Maui.Controls.Shapes/PolyLineSegment.xml" path="Type[@FullName='Microsoft.Maui.Controls.Shapes.PolyLineSegment']/Docs/*" />
public class PolyLineSegment : PathSegment
{
/// <include file="../../../docs/Microsoft.Maui.Controls.Shapes/PolyLineSegment.xml" path="//Member[@MemberName='.ctor'][1]/Docs/*" />
public PolyLineSegment()
{
Points = new PointCollection();
}
/// <include file="../../../docs/Microsoft.Maui.Controls.Shapes/PolyLineSegment.xml" path="//Member[@MemberName='.ctor'][2]/Docs/*" />
public PolyLineSegment(PointCollection points)
{
Points = points;
}
/// <summary>Bindable property for <see cref="Points"/>.</summary>
public static readonly BindableProperty PointsProperty =
BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(PolyLineSegment), null);
/// <include file="../../../docs/Microsoft.Maui.Controls.Shapes/PolyLineSegment.xml" path="//Member[@MemberName='Points']/Docs/*" />
public PointCollection Points
{
set { SetValue(PointsProperty, value); }
get { return (PointCollection)GetValue(PointsProperty); }
}
}
}