1 implementation of IGraphicsView
Microsoft.Maui.Controls (1)
GraphicsView\GraphicsView.cs (1)
7
public class GraphicsView : View,
IGraphicsView
19 references to IGraphicsView
Microsoft.Maui (11)
Handlers\GraphicsView\GraphicsViewHandler.cs (6)
13
public static IPropertyMapper<
IGraphicsView
, IGraphicsViewHandler> Mapper = new PropertyMapper<
IGraphicsView
, IGraphicsViewHandler>(ViewHandler.ViewMapper)
15
[nameof(
IGraphicsView
.Drawable)] = MapDrawable,
19
public static CommandMapper<
IGraphicsView
, IGraphicsViewHandler> CommandMapper = new(ViewCommandMapper)
21
[nameof(
IGraphicsView
.Invalidate)] = MapInvalidate
38
IGraphicsView
IGraphicsViewHandler.VirtualView => VirtualView;
Handlers\GraphicsView\GraphicsViewHandler.Standard.cs (4)
5
public partial class GraphicsViewHandler : ViewHandler<
IGraphicsView
, object>
9
public static void MapDrawable(IGraphicsViewHandler handler,
IGraphicsView
graphicsView) { }
10
public static void MapFlowDirection(IGraphicsViewHandler handler,
IGraphicsView
graphicsView) { }
12
public static void MapInvalidate(IGraphicsViewHandler handler,
IGraphicsView
graphicsView, object? arg) { }
Handlers\GraphicsView\IGraphicsViewHandler.cs (1)
11
new
IGraphicsView
VirtualView { get; }
Microsoft.Maui.Controls (8)
GraphicsView\GraphicsView.cs (8)
29
Handler?.Invoke(nameof(
IGraphicsView
.Invalidate));
32
void
IGraphicsView
.CancelInteraction() => CancelInteraction?.Invoke(this, EventArgs.Empty);
34
void
IGraphicsView
.DragInteraction(PointF[] points) => DragInteraction?.Invoke(this, new TouchEventArgs(points, true));
36
void
IGraphicsView
.EndHoverInteraction() => EndHoverInteraction?.Invoke(this, EventArgs.Empty);
38
void
IGraphicsView
.EndInteraction(PointF[] points, bool isInsideBounds) => EndInteraction?.Invoke(this, new TouchEventArgs(points, isInsideBounds));
40
void
IGraphicsView
.StartHoverInteraction(PointF[] points) => StartHoverInteraction?.Invoke(this, new TouchEventArgs(points, true));
42
void
IGraphicsView
.MoveHoverInteraction(PointF[] points) => MoveHoverInteraction?.Invoke(this, new TouchEventArgs(points, true));
44
void
IGraphicsView
.StartInteraction(PointF[] points) => StartInteraction?.Invoke(this, new TouchEventArgs(points, true));