inputmethod_cursor_info_capi.h
Overview
Provides methods for creating, destroying, reading, and writing cursor information objects.
Library: libohinputmethod.so
System capability: SystemCapability.MiscServices.InputMethodFramework
Since: 12
Related module: InputMethod
Summary
Types
| Name | Description |
|---|---|
| InputMethod_CursorInfo | Cursor information. |
Functions
| Name | Description |
|---|---|
| InputMethod_CursorInfo * OH_CursorInfo_Create (double left, double top, double width, double height) | Creates an InputMethod_CursorInfo instance. |
| void OH_CursorInfo_Destroy (InputMethod_CursorInfo *cursorInfo) | Destroys an InputMethod_CursorInfo instance. |
| InputMethod_ErrorCode OH_CursorInfo_SetRect (InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) | Sets the cursor information. |
| InputMethod_ErrorCode OH_CursorInfo_GetRect (InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) | Obtains the cursor information. |