|
|
|
|
|
Constants used for managing the multi-touch
| | | Constant | Details | Used by the function |
---|
BottomToTop | Gesture direction: sweep from bottom to top. | Gesture variable | gpControl | Position of the pointer in relation to the upper-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 upper-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 upper-left corner of the screen). | GesturePosX, GesturePosY | gpWindow | Position of the pointer in relation to the upper-left corner of the window to which belongs the control on which the event occurred. | GesturePosX, GesturePosY | LeftToRight | Gesture direction: sweep from left to right. | Gesture variable | RightToLeft | Gesture direction: sweep from right to left. | Gesture variable | TopToBottom | Gesture direction: sweep up and down. | Gesture variable | typePointerFinger | Type of pointer used: Finger | GesturePointerType | typePointerMouse | Type of pointer used: Mouse | GesturePointerType | typePointerStylus | Type of pointer used: Stylus | GesturePointerType |
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|