3 instantiations of Polygon
Microsoft.Maui.Controls (3)
Shapes\StrokeShapeTypeConverter.cs (3)
81 return new Polygon(); 87 return new Polygon(); 89 return new Polygon { Points = points };
12 references to Polygon
Microsoft.Maui.Controls (12)
Handlers\Shapes\Polygon\PolygonHandler.cs (4)
8 public static new IPropertyMapper<Polygon, IShapeViewHandler> Mapper = new PropertyMapper<Polygon, IShapeViewHandler>(ShapeViewHandler.Mapper) 11 [nameof(Polygon.Points)] = MapPoints, 12 [nameof(Polygon.FillRule)] = MapFillRule,
Handlers\Shapes\Polygon\PolygonHandler.iOS.cs (5)
11 if (VirtualView is Polygon polygon) 19 if (VirtualView is Polygon polygon) 25 public static void MapShape(IShapeViewHandler handler, Polygon polygon) 30 public static void MapPoints(IShapeViewHandler handler, Polygon polygon) 35 public static void MapFillRule(IShapeViewHandler handler, Polygon polygon)
Hosting\AppHostBuilderExtensions.cs (1)
99 handlersCollection.AddHandler<Shapes.Polygon, PolygonHandler>();
Shapes\Polygon.cs (2)
22 BindableProperty.Create(nameof(Points), typeof(PointCollection), typeof(Polygon), null, defaultValueCreator: bindable => new PointCollection()); 26 BindableProperty.Create(nameof(FillRule), typeof(FillRule), typeof(Polygon), FillRule.EvenOdd);