1# @ohos.accessibility.GesturePoint (Gesture Point)
2
3The **GesturePoint** module provides APIs for creating gesture touch point information required for an accessibility application to inject gestures.
4
5> **NOTE**
6>
7> - The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9## Modules to Import
10
11```ts
12import { GesturePoint } from '@kit.AccessibilityKit';
13```
14
15## GesturePoint
16
17Defines a gesture touch point.
18
19**System capability**: SystemCapability.BarrierFree.Accessibility.Core
20
21### Attributes
22
23| Name       | Type  | Readable  | Writable  | Description     |
24| --------- | ------ | ---- | ---- | ------- |
25| positionX | number | Yes   | Yes   | X coordinate of the touch point.|
26| positionY | number | Yes   | Yes   | Y coordinate of the touch point.|
27
28### constructor<sup>(deprecated)</sup>
29
30constructor(positionX: number, positionY: number);
31
32A constructor used to create a **Highlights** album instance.
33
34> **NOTE**
35>
36> This API is deprecated since API version 12.
37
38**System capability**: SystemCapability.BarrierFree.Accessibility.Core
39
40**Parameters**
41
42| Name| Type| Mandatory| Description|
43| -------- | -------- | -------- | -------- |
44| positionX | number | Yes| X coordinate of the touch point.|
45| positionY | number | Yes | Y coordinate of the touch point.|
46
47**Example**
48
49```ts
50import { GesturePoint } from '@kit.AccessibilityKit';
51
52let gesturePoint = new GesturePoint(1, 2);
53```
54