From f5e5b018088664c03aa9b73208773a7cb7aa84ea Mon Sep 17 00:00:00 2001 From: zhou-chaobo Date: Sat, 13 Sep 2025 15:42:43 +0800 Subject: [PATCH] gesture add globalLocation Signed-off-by: zhou-chaobo --- api/@internal/component/ets/gesture.d.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/api/@internal/component/ets/gesture.d.ts b/api/@internal/component/ets/gesture.d.ts index 5f6f279b39..7dc04203ae 100644 --- a/api/@internal/component/ets/gesture.d.ts +++ b/api/@internal/component/ets/gesture.d.ts @@ -934,6 +934,28 @@ declare interface EventLocationInfo { * @since 20 */ displayY: number; + + /** + * X position of the point relative to the global display coordinate. + * + * @type { ?number } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 23 + */ + globalDisplayX?: number; + + /** + * Y position of the point relative to the global display coordinate. + * + * @type { ?number } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 23 + */ + globalDisplayY?: number; } /** -- Gitee