-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
PolyQuadraticBezierSegment.cs
30 lines (27 loc) · 1.28 KB
/
PolyQuadraticBezierSegment.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/PolyQuadraticBezierSegment.xml" path="Type[@FullName='Microsoft.Maui.Controls.Shapes.PolyQuadraticBezierSegment']/Docs/*" />
public class PolyQuadraticBezierSegment : PathSegment
{
/// <include file="../../../docs/Microsoft.Maui.Controls.Shapes/PolyQuadraticBezierSegment.xml" path="//Member[@MemberName='.ctor'][1]/Docs/*" />
public PolyQuadraticBezierSegment()
{
Points = new PointCollection();
}
/// <include file="../../../docs/Microsoft.Maui.Controls.Shapes/PolyQuadraticBezierSegment.xml" path="//Member[@MemberName='.ctor'][2]/Docs/*" />
public PolyQuadraticBezierSegment(PointCollection points)
{
Points = points;
}
/// <summary>Bindable property for <see cref="Points"/>.</summary>
public static readonly BindableProperty PointsProperty =
BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(PolyQuadraticBezierSegment), null);
/// <include file="../../../docs/Microsoft.Maui.Controls.Shapes/PolyQuadraticBezierSegment.xml" path="//Member[@MemberName='Points']/Docs/*" />
public PointCollection Points
{
set { SetValue(PointsProperty, value); }
get { return (PointCollection)GetValue(PointsProperty); }
}
}
}