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