Platforms to show: All Mac Windows Linux Cross-Platform
WinGestureInfoMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Windows | MBS Win Plugin | 16.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Parameters for touches:
If kFlagBegin flag is set, save Location so you have first point. And save argument to check later.
For Zoom, get second point from this class. Than you can calculate center point and zoom factor is OldArgumentsLower/NewArgumentsLower.
For Pan, check difference between last point and new point to know how much moved.
For Rotate, please check difference between old RotateAngle and new RotateAngle.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 13 properties
- property Arguments as Int64
- property ArgumentsHigher as UInt32
- property ArgumentsLower as UInt32
- property Flags as Integer
- property ID as Integer
- property InstanceID as Integer
- property LocationInWindowX as Integer
- property LocationInWindowY as Integer
- property LocationX as Integer
- property LocationY as Integer
- property RotateAngle as Double
- property SequenceID as Integer
- property TargetWindow as Integer
- method Constructor Private
- 10 constants
Flags
Constant | Value | Description |
---|---|---|
kFlagBegin | 1 |
A gesture is starting. |
kFlagEnd | 4 |
A gesture has finished. |
kFlagInertia | 2 |
A gesture has triggered inertia. |
Gesture IDs
Constant | Value | Description |
---|---|---|
kGestureIDBegin | 1 |
Begin of a gesture |
kGestureIDEnd | 2 |
End of a gesture |
kGestureIDPan | 4 |
Pan gesture |
kGestureIDPressAndTap | 7 |
Press and Tap gesture |
kGestureIDRotate | 5 |
Rotate gesture |
kGestureIDTwoFingerTap | 6 |
Two-Finger Tap |
kGestureIDZoom | 3 |
Zoom gesture |
This class has no sub classes.
Some events using this class:
- WinPointerEventsMBS.Gesture(info as WinGestureInfoMBS) as boolean
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS Win Plugin.
WinGestureConfigMBS - WinHIDMBS