class methods
Documentation from code comments
pinch to zoom style gestures https://developer.android.com/reference/android/view/ScaleGestureDetector.html
getCurrentSpan()
float ofxAndroidScaleEventArgs::getCurrentSpan()
Documentation from code comments
Return the average distance between each of the pointers forming the gesture in progress through the focal point.
getCurrentSpanX()
float ofxAndroidScaleEventArgs::getCurrentSpanX()
Documentation from code comments
Return the average X distance between each of the pointers forming the gesture in progress through the focal point.
getCurrentSpanY()
float ofxAndroidScaleEventArgs::getCurrentSpanY()
Documentation from code comments
Return the average Y distance between each of the pointers forming the gesture in progress through the focal point.
getEventTime()
int64_t ofxAndroidScaleEventArgs::getEventTime()
Documentation from code comments
Return the event time of the current event being processed.
getFocusX()
float ofxAndroidScaleEventArgs::getFocusX()
Documentation from code comments
Get the X coordinate of the current gesture's focal point.
getFocusY()
float ofxAndroidScaleEventArgs::getFocusY()
Documentation from code comments
Get the Y coordinate of the current gesture's focal point.
getPreviousSpan()
float ofxAndroidScaleEventArgs::getPreviousSpan()
Documentation from code comments
Return the previous average distance between each of the pointers forming the gesture in progress through the focal point.
getPreviousSpanX()
float ofxAndroidScaleEventArgs::getPreviousSpanX()
Documentation from code comments
Return the previous average X distance between each of the pointers forming the gesture in progress through the focal point.
getPreviousSpanY()
float ofxAndroidScaleEventArgs::getPreviousSpanY()
Documentation from code comments
Return the previous average Y distance between each of the pointers forming the gesture in progress through the focal point.
getScaleFactor()
float ofxAndroidScaleEventArgs::getScaleFactor()
Documentation from code comments
Return the scaling factor from the previous scale event to the current event.
getTimeDelta()
int64_t ofxAndroidScaleEventArgs::getTimeDelta()
Documentation from code comments
Return the time difference in milliseconds between the previous accepted scaling event and the current scaling event.
Last updated 火曜日, 19 11月 2024 17:23:29 UTC - 2537ee49f6d46d5fe98e408849448314fd1f180e
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue