Table of Contents

Class SKPinchGestureEventArgs

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Provides data for a pinch (scale) gesture event detected from two or more simultaneous touches.

public class SKPinchGestureEventArgs : EventArgs
Inheritance
SKPinchGestureEventArgs
Inherited Members

Remarks

Pinch events are raised continuously as two or more touches move relative to each other. The ScaleDelta is a relative (per-event) multiplier, not an absolute scale. To compute the cumulative scale, multiply successive ScaleDelta values together, or use the Scale property which maintains the absolute value.

PinchDetected PinchDetected SKRotateGestureEventArgs

Constructors

SKPinchGestureEventArgs(SKPoint, SKPoint, float)

Initializes a new instance of the SKPinchGestureEventArgs class.

Properties

FocalPoint

Gets the current center point between the pinch fingers in view coordinates.

PreviousFocalPoint

Gets the center point between the pinch fingers from the previous event.

ScaleDelta

Gets the relative scale change factor since the previous pinch event.