From 4572853334e7374f1faece2b815966a0809958f5 Mon Sep 17 00:00:00 2001 From: shawn_he Date: Mon, 5 Sep 2022 15:29:09 +0800 Subject: [PATCH] update api Signed-off-by: shawn_he --- api/@ohos.multimodalInput.pointer.d.ts | 55 ++++++++++++++------------ 1 file changed, 30 insertions(+), 25 deletions(-) diff --git a/api/@ohos.multimodalInput.pointer.d.ts b/api/@ohos.multimodalInput.pointer.d.ts index 63636fd133..48ce6c0d1f 100644 --- a/api/@ohos.multimodalInput.pointer.d.ts +++ b/api/@ohos.multimodalInput.pointer.d.ts @@ -24,6 +24,11 @@ import { AsyncCallback } from "./basic"; */ declare namespace pointer { + /** + * Pointer style. + * @since 9 + * @syscap SystemCapability.MultimodalInput.Input.Pointer + */ enum PointerStyle { /** * Default @@ -81,27 +86,27 @@ declare namespace pointer { SOUTH_WEST, /** - * North-east and south-west arrow + * Northeast and southwest adjustment */ NORTH_EAST_SOUTH_WEST, /** - * North-west and south-east arrow + * Northwest and southeast adjustment */ NORTH_WEST_SOUTH_EAST, /** - * Cross + * Cross (accurate selection) */ CROSS, /** - * Copy cursor + * Copy */ CURSOR_COPY, /** - * Forbid cursor + * Forbid */ CURSOR_FORBID, @@ -111,22 +116,22 @@ declare namespace pointer { COLOR_SUCKER, /** - * Hand grabbing + * Grabbing hand */ HAND_GRABBING, /** - * Hand open + * Opening hand */ HAND_OPEN, /** - * Hand pointing + * Hand-shaped pointer */ HAND_POINTING, /** - * Help + * Help */ HELP, @@ -136,27 +141,27 @@ declare namespace pointer { MOVE, /** - * Resize left and right + * Left and right resizing */ RESIZE_LEFT_RIGHT, /** - * Resize up and down + * Up and down resizing */ RESIZE_UP_DOWN, /** - * Screenshot selection + * Screenshot crosshair */ SCREENSHOT_CHOOSE, /** - * Screenshot cursor + * Screenshot */ SCREENSHOT_CURSOR, /** - * Text cursor + * Text selection */ TEXT_CURSOR, @@ -171,52 +176,52 @@ declare namespace pointer { ZOOM_OUT, /** - * East arrow of the middle mouse button + * Scrolling east */ MIDDLE_BTN_EAST, /** - * West arrow of the middle mouse button + * Scrolling west */ MIDDLE_BTN_WEST, /** - * South arrow of the middle mouse button + * Scrolling south */ MIDDLE_BTN_SOUTH, /** - * North arrow of the middle mouse button + * Scrolling north */ MIDDLE_BTN_NORTH, /** - * North-south arrow of the middle mouse button + * Scrolling north and south */ MIDDLE_BTN_NORTH_SOUTH, /** - * North-east arrow of the middle mouse button + * Scrolling northeast */ MIDDLE_BTN_NORTH_EAST, /** - * North-west arrow of the middle mouse button + * Scrolling northwest */ MIDDLE_BTN_NORTH_WEST, /** - * South-east arrow of the middle mouse button + * Scrolling southeast */ MIDDLE_BTN_SOUTH_EAST, /** - * South-west arrow of the middle mouse button + * Scrolling southwest */ MIDDLE_BTN_SOUTH_WEST, /** - * North-west and south-east arrow of the middle mouse button + * Moving as a cone in four directions */ MIDDLE_BTN_NORTH_SOUTH_WEST_EAST, } @@ -319,4 +324,4 @@ declare namespace pointer { function isPointerVisible(): Promise; } -export default pointer; \ No newline at end of file +export default pointer; -- Gitee