ZoomGestureDetector.ZoomEvent


abstract class ZoomGestureDetector.ZoomEvent

Known direct subclasses
ZoomGestureDetector.ZoomEvent.Begin

The beginning of a zoom gesture.

ZoomGestureDetector.ZoomEvent.End

The end of a zoom gesture.

ZoomGestureDetector.ZoomEvent.Move

The moving events of a gesture in progress.


The zoom event that contains extended info about event state.

Summary

Nested types

The beginning of a zoom gesture.

The end of a zoom gesture.

The moving events of a gesture in progress.

Public properties

Long

The event time in milliseconds of the current event being processed, in SystemClock.uptimeMillis time base.

Int

The X coordinate of the current gesture's focal point in pixels.

Int

The Y coordinate of the current gesture's focal point in pixels.

Public properties

eventTime

Added in 1.4.0-alpha11
val eventTimeLong

The event time in milliseconds of the current event being processed, in SystemClock.uptimeMillis time base.

focusX

Added in 1.4.0-alpha11
val focusXInt

The X coordinate of the current gesture's focal point in pixels.

focusY

Added in 1.4.0-alpha11
val focusYInt

The Y coordinate of the current gesture's focal point in pixels.