Table of Contents

Class SKScrollGestureEventArgs

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Provides data for a mouse scroll (wheel) gesture event.

public class SKScrollGestureEventArgs : EventArgs
Inheritance
SKScrollGestureEventArgs
Inherited Members

Remarks

Scroll events are raised when the mouse wheel is rotated or a trackpad scroll gesture is performed. The SKGestureTracker uses Delta.Y for scroll-wheel zoom when IsScrollZoomEnabled is true.

Platform note: The sign convention for scroll deltas may vary by platform and input device. Typically, positive Delta.Y indicates scrolling up (or zooming in), but this depends on the platform's scroll event normalization.

ScrollDetected ProcessMouseWheel(SKPoint, float, float) ScrollDetected

Constructors

SKScrollGestureEventArgs(SKPoint, SKPoint)

Initializes a new instance of the SKScrollGestureEventArgs class.

Properties

Delta

Gets the scroll delta.

Location

Gets the position of the mouse cursor when the scroll occurred, in view coordinates.