ofDocsdocumentation addons ofxAndroid ofxAndroidScaleEventArgs

ofxAndroidScaleEventArgs


getCurrentSpan( )

float getCurrentSpan()

Return the average distance between each of the pointers forming the gesture in progress through the focal point.


getCurrentSpanX( )

float getCurrentSpanX()

Return the average X distance between each of the pointers forming the gesture in progress through the focal point.


getCurrentSpanY( )

float getCurrentSpanY()

Return the average Y distance between each of the pointers forming the gesture in progress through the focal point.


getEventTime( )

int64_t getEventTime()

Return the event time of the current event being processed.


getFocusX( )

float getFocusX()

Get the X coordinate of the current gesture's focal point.


getFocusY( )

float getFocusY()

Get the Y coordinate of the current gesture's focal point.


getPreviousSpan( )

float getPreviousSpan()

Return the previous average distance between each of the pointers forming the gesture in progress through the focal point.


getPreviousSpanX( )

float getPreviousSpanX()

Return the previous average X distance between each of the pointers forming the gesture in progress through the focal point.


getPreviousSpanY( )

float getPreviousSpanY()

Return the previous average Y distance between each of the pointers forming the gesture in progress through the focal point.


getScaleFactor( )

float getScaleFactor()

Return the scaling factor from the previous scale event to the current event.


getTimeDelta( )

int64_t getTimeDelta()

Return the time difference in milliseconds between the previous accepted scaling event and the current scaling event.


ofxAndroidScaleEventArgs( ... )

ofxAndroidScaleEventArgs(int detector)