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 };
22 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.Standard.cs (3)
9 public static void MapShape(IShapeViewHandler handler, Path path) { } 10 public static void MapData(IShapeViewHandler handler, Path path) { } 11 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;
Microsoft.Maui.Controls.Compatibility (5)
iOS\Shapes\PathRenderer.cs (5)
4using Path = Microsoft.Maui.Controls.Shapes.Path; 13 public class PathRenderer : ShapeRenderer<Path, PathView> 21 protected override void OnElementChanged(ElementChangedEventArgs<Path> args) 40 if (args.PropertyName == Path.DataProperty.PropertyName || args.PropertyName == Path.RenderTransformProperty.PropertyName)