8 instantiations of PointCollection
Microsoft.Maui.Controls (8)
PointCollection.cs (2)
21 => d == null ? new() : new(d);
Shapes\PointCollectionConverter.cs (1)
29 var pointCollection = new PointCollection();
Shapes\PolyBezierSegment.cs (1)
10 Points = new PointCollection();
Shapes\Polygon.cs (1)
22 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(Polygon), null, defaultValueCreator: bindable => new PointCollection());
Shapes\Polyline.cs (1)
22 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(Polyline), null, defaultValueCreator: bindable => new PointCollection());
Shapes\PolyLineSegment.cs (1)
10 Points = new PointCollection();
Shapes\PolyQuadraticBezierSegment.cs (1)
10 Points = new PointCollection();
38 references to PointCollection
Microsoft.Maui.Controls (31)
PointCollection.cs (1)
20 public static implicit operator PointCollection(Point[] d)
Shapes\PathGeometry.cs (1)
167 var points = polyQuadraticBezierSegment.Points;
Shapes\PointCollectionConverter.cs (3)
24 return (PointCollection)pointArray; 29 var pointCollection = new PointCollection(); 63 if (value is not PointCollection pc)
Shapes\PolyBezierSegment.cs (4)
14 public PolyBezierSegment(PointCollection points) 21 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(PolyBezierSegment), null); 24 public PointCollection Points 27 get { return (PointCollection)GetValue(PointsProperty); }
Shapes\Polygon.cs (4)
15 public Polygon(PointCollection points) : this() 22 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(Polygon), null, defaultValueCreator: bindable => new PointCollection()); 29 public PointCollection Points 32 get { return (PointCollection)GetValue(PointsProperty); }
Shapes\Polyline.cs (4)
15 public Polyline(PointCollection points) : this() 22 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(Polyline), null, defaultValueCreator: bindable => new PointCollection()); 29 public PointCollection Points 32 get { return (PointCollection)GetValue(PointsProperty); }
Shapes\PolyLineSegment.cs (4)
14 public PolyLineSegment(PointCollection points) 21 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(PolyLineSegment), null); 24 public PointCollection Points 27 get { return (PointCollection)GetValue(PointsProperty); }
Shapes\PolyQuadraticBezierSegment.cs (4)
14 public PolyQuadraticBezierSegment(PointCollection points) 21 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(PolyQuadraticBezierSegment), null); 24 public PointCollection Points 27 get { return (PointCollection)GetValue(PointsProperty); }
Shapes\StrokeShapeTypeConverter.cs (6)
47 PointCollection points = pointCollectionConverter.ConvertFromString(parts[1]) as PointCollection; 84 PointCollection points = pointCollectionConverter.ConvertFromString(parts[1]) as PointCollection; 99 PointCollection points = pointCollectionConverter.ConvertFromString(parts[1]) as PointCollection;
Microsoft.Maui.Controls.Build.Tasks (7)
CompiledConverters\StrokeShapeTypeConverter.cs (7)
41 var points = pointCollectionConverter.ConvertFromString(parts[1]) as PointCollection; 112 var points = pointCollectionConverter.ConvertFromString(parts[1]) as PointCollection; 140 var points = pointCollectionConverter.ConvertFromString(parts[1]) as PointCollection; 197 IEnumerable<Instruction> CreatePointCollection(ILContext context, ModuleDefinition module, PointCollection points)