1# @ohos.accessibility.GesturePoint (手势触摸点)
2
3GesturePoint表示手势触摸点。
4
5本模块用于创建辅助功能注入手势所需的手势路径的触摸点信息。
6
7> **说明:**
8>
9> - 本模块首批接口从API version 9开始支持,后续版本的新增接口,采用上角标单独标记接口的起始版本。
10
11## 导入模块
12
13```ts
14import { GesturePoint } from '@kit.AccessibilityKit';
15```
16
17## GesturePoint
18
19表示手势触摸点。
20
21**系统能力**:以下各项对应的系统能力均为 SystemCapability.BarrierFree.Accessibility.Core
22
23### 属性
24
25| 名称        | 类型   | 可读   | 可写   | 说明      |
26| --------- | ------ | ---- | ---- | ------- |
27| positionX | number | 是    | 是    | 触摸点X坐标。 |
28| positionY | number | 是    | 是    | 触摸点Y坐标。 |
29
30### constructor<sup>(deprecated)</sup>
31
32constructor(positionX: number, positionY: number);
33
34构造函数。
35
36> **说明:**
37>
38> 从API version 12开始废弃。
39
40**系统能力**:SystemCapability.BarrierFree.Accessibility.Core
41
42**参数:**
43
44| 参数名 | 类型 | 必填 | 说明 |
45| -------- | -------- | -------- | -------- |
46| positionX | number | 是 | 触摸点X坐标。 |
47| positionY | number | 是  | 触摸点Y坐标。 |
48
49**示例:**
50
51```ts
52import { GesturePoint } from '@kit.AccessibilityKit';
53
54let gesturePoint = new GesturePoint(1, 2);
55```
56