1e41f4b71Sopenharmony_ci# @ohos.multimodalInput.gestureEvent (Gesture Input Event)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **gestureEvent** module provides APIs for gesture events reported by devices.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci>  **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci## Modules to Import
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci```js
12e41f4b71Sopenharmony_ciimport { Rotate, Pinch, ThreeFingersSwipe, FourFingersSwipe, ActionType } from '@kit.InputKit';
13e41f4b71Sopenharmony_ci```
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci## Pinch
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ciDefines a pinch event.
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci**System capability**: SystemCapability.MultimodalInput.Input.Core
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci| Name            | Type       | Readable  | Writable  | Description                                      |
22e41f4b71Sopenharmony_ci| -------------- | ----------- | ---- | ---- | ---------------------------------------- |
23e41f4b71Sopenharmony_ci| type         | [ActionType](#actiontype)   | Yes   | No   | Pinch event type.                                  |
24e41f4b71Sopenharmony_ci| scale        | number      | Yes   | No   | Pinch scale factor. The value is greater than or equal to 0.                            |
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci## Rotate<sup>11+</sup>
27e41f4b71Sopenharmony_ci
28e41f4b71Sopenharmony_ciDefines a rotate event.
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ci**System capability**: SystemCapability.MultimodalInput.Input.Core
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ci| Name            | Type       | Readable  | Writable  | Description                                      |
33e41f4b71Sopenharmony_ci| -------------- | ----------- | ---- | ---- | ---------------------------------------- |
34e41f4b71Sopenharmony_ci| type | [ActionType](#actiontype)   | Yes   | No   | Rotate event type.                                  |
35e41f4b71Sopenharmony_ci| angle | number      | Yes   | No   | Angle of rotation.                            |
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ci## ThreeFingersSwipe
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ciDefines a three-finger swipe event.
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci**System capability**: SystemCapability.MultimodalInput.Input.Core
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci| Name            | Type       | Readable  | Writable  | Description                                      |
44e41f4b71Sopenharmony_ci| -------------- | ----------- | ---- | ---- | ---------------------------------------- |
45e41f4b71Sopenharmony_ci| type         | [ActionType](#actiontype)   | Yes   | No   | Three-finger swipe event type.                                  |
46e41f4b71Sopenharmony_ci| x        | number      | Yes   | No   | X coordinate.                            |
47e41f4b71Sopenharmony_ci| y        | number      | Yes   | No   | Y coordinate.                            |
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ci## FourFingersSwipe
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ciDefines a four-finger swipe event.
52e41f4b71Sopenharmony_ci
53e41f4b71Sopenharmony_ci**System capability**: SystemCapability.MultimodalInput.Input.Core
54e41f4b71Sopenharmony_ci
55e41f4b71Sopenharmony_ci| Name            | Type       | Readable  | Writable  | Description                                      |
56e41f4b71Sopenharmony_ci| -------------- | ----------- | ---- | ---- | ---------------------------------------- |
57e41f4b71Sopenharmony_ci| type         | [ActionType](#actiontype)   | Yes   | No   | Four-finger swipe event type.                                  |
58e41f4b71Sopenharmony_ci| x        | number      | Yes   | No   | X coordinate.                            |
59e41f4b71Sopenharmony_ci| y        | number      | Yes   | No   | Y coordinate.                            |
60e41f4b71Sopenharmony_ci
61e41f4b71Sopenharmony_ci## ThreeFingersTap<sup>11+</sup>
62e41f4b71Sopenharmony_ci
63e41f4b71Sopenharmony_ciDefines a three-finger tap event.
64e41f4b71Sopenharmony_ci
65e41f4b71Sopenharmony_ci**System capability**: SystemCapability.MultimodalInput.Input.Core
66e41f4b71Sopenharmony_ci
67e41f4b71Sopenharmony_ci| Name              | Type                     | Readable| Writable| Description            |
68e41f4b71Sopenharmony_ci| ------------------ | ------------------------- | ---- | ---- | ---------------- |
69e41f4b71Sopenharmony_ci| type | [ActionType](#actiontype) | Yes  | No  | Three-finger tap event type.|
70e41f4b71Sopenharmony_ci
71e41f4b71Sopenharmony_ci## ActionType
72e41f4b71Sopenharmony_ci
73e41f4b71Sopenharmony_ciEnumerates gesture event types.
74e41f4b71Sopenharmony_ci
75e41f4b71Sopenharmony_ci**System capability**: SystemCapability.MultimodalInput.Input.Core
76e41f4b71Sopenharmony_ci
77e41f4b71Sopenharmony_ci| Name       | Value | Description            |
78e41f4b71Sopenharmony_ci| ----------- | --- | --------------- |
79e41f4b71Sopenharmony_ci| CANCEL      | 0   | Canceled.            |
80e41f4b71Sopenharmony_ci| BEGIN       | 1   | Started.        |
81e41f4b71Sopenharmony_ci| UPDATE      | 2   | Updated.        |
82e41f4b71Sopenharmony_ci| END         | 3   | Ended.        |
83