Table of Contents

Struct GestureEventProcessingInfo

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public struct GestureEventProcessingInfo
Inherited Members
Extension Methods

Constructors

GestureEventProcessingInfo(SKPoint, SKPoint, SKPoint, ISkiaGestureListener)

public GestureEventProcessingInfo(SKPoint mappedLocation, SKPoint childOffset1, SKPoint childOffsetDirect, ISkiaGestureListener wasConsumed)

Parameters

mappedLocation SKPoint
childOffset1 SKPoint
childOffsetDirect SKPoint
wasConsumed ISkiaGestureListener

Properties

AlreadyConsumed

Reference to a gesture listener that has already consumed this gesture. Used to track gesture ownership through the control hierarchy.

public ISkiaGestureListener AlreadyConsumed { readonly get; set; }

Property Value

ISkiaGestureListener

ChildOffset

Coordinate offset used to transform touch coordinates from parent's coordinate space to this control's local space.

public SKPoint ChildOffset { readonly get; set; }

Property Value

SKPoint

ChildOffsetDirect

Direct coordinate offset used for gesture processing without considering cached transformations; useful for direct position calculations.

public SKPoint ChildOffsetDirect { readonly get; set; }

Property Value

SKPoint

Empty

public static GestureEventProcessingInfo Empty { get; }

Property Value

GestureEventProcessingInfo

MappedLocation

Location of the gesture accounting for transforms. Might include all transforms from parents upper th rendering tree.

public SKPoint MappedLocation { readonly get; set; }

Property Value

SKPoint