3 instantiations of Path
Microsoft.Maui.Controls (3)
Shapes\StrokeShapeTypeConverter.cs (3)
66 return new Path(); 72 return new Path(); 74 return new Path { Data = pathGeometry };
17 references to Path
Microsoft.Maui.Controls (17)
Handlers\Shapes\Path\PathHandler.cs (4)
8 public static new IPropertyMapper<Path, IShapeViewHandler> Mapper = new PropertyMapper<Path, IShapeViewHandler>(ShapeViewHandler.Mapper) 11 [nameof(Path.Data)] = MapData, 12 [nameof(Path.RenderTransform)] = MapRenderTransform,
Handlers\Shapes\Path\PathHandler.iOS.cs (3)
10 public static void MapShape(IShapeViewHandler handler, Path path) 15 public static void MapData(IShapeViewHandler handler, Path path) 20 public static void MapRenderTransform(IShapeViewHandler handler, Path path)
Hosting\AppHostBuilderExtensions.cs (1)
98 handlersCollection.AddHandler<Shapes.Path, PathHandler>();
Platform\ShapeExtensions.cs (1)
10 if (drawable is not ShapeDrawable || shapeView is null || shapeView.Shape is not Path path)
Shapes\Path.cs (8)
24 BindableProperty.Create(nameof(Data), typeof(Geometry), typeof(Path), null, 29 BindableProperty.Create(nameof(RenderTransform), typeof(Transform), typeof(Path), null, 51 (oldValue as Geometry).PropertyChanged -= (bindable as Path).OnGeometryPropertyChanged; 54 pathGeometry.InvalidatePathGeometryRequested -= (bindable as Path).OnInvalidatePathGeometryRequested; 59 (newValue as Geometry).PropertyChanged += (bindable as Path).OnGeometryPropertyChanged; 62 pathGeometry.InvalidatePathGeometryRequested += (bindable as Path).OnInvalidatePathGeometryRequested; 70 (oldValue as Transform).PropertyChanged -= (bindable as Path).OnTransformPropertyChanged; 75 (newValue as Transform).PropertyChanged += (bindable as Path).OnTransformPropertyChanged;