|
|
|
|
Constants used for managing the multi-touch
| | | Constant | Details | Used by the function |
---|
BottomToTop | Direction of the gesture: swipe from bottom to top. | Gesture variable | gpControl | Position of the pointer in relation to the top left corner of the control (or window if the event occurred on the window). | GesturePosX, GesturePosY | gpImage | Position of the pointer in relation to the upper-left corner of the image displayed by an Image control.
This constant can be used when an image is not entirely displayed in an Image control in order to find out the position of the pointer in the source image (while taking the possible zoom into account). | GesturePosX, GesturePosY | gpPage | Position of the pointer in relation to the top left corner of the page to which belongs the control on which the event occurred. | GesturePosX, GesturePosY | gpScreen | Position of the pointer in the screen (in relation to the top left corner of the screen). | GesturePosX, GesturePosY | gpWindow | Position of the pointer in relation to the top left corner of the window to which belongs the control on which the event occurred. | GesturePosX, GesturePosY | LeftToRight | Direction of the gesture: swipe from left to right. | Gesture variable | RightToLeft | Direction of the gesture: swipe from right to left. | Gesture variable | TopToBottom | Direction of the gesture: swipe from top to bottom. | Gesture variable | typePointerFinger | Pointer type used: Finger | GesturePointerType | typePointerMouse | Pointer type used: Mouse | GesturePointerType | typePointerStylus | Pointer type used: Stylus | GesturePointerType |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|