Table of Contents

Class SKFlingGestureEventArgs

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Provides data for fling gesture events, including the initial fling detection and per-frame animation updates.

public class SKFlingGestureEventArgs : EventArgs
Inheritance
SKFlingGestureEventArgs
Inherited Members

Remarks

This class is used by two distinct events:

FlingDetected FlingUpdated FlingCompleted

Constructors

SKFlingGestureEventArgs(SKPoint)

Initializes a new instance of the SKFlingGestureEventArgs class with velocity only. Used for the initial FlingDetected event.

SKFlingGestureEventArgs(SKPoint, SKPoint)

Initializes a new instance of the SKFlingGestureEventArgs class with velocity and per-frame displacement. Used for FlingUpdated events.

Properties

Delta

Gets the displacement for this animation frame.

Speed

Gets the current speed (magnitude of the velocity vector).

Velocity

Gets the velocity of the fling.