harmony 鸿蒙inputmethod_cursor_info_capi.h

  • 2025-06-16
  • 浏览 (2)

inputmethod_cursor_info_capi.h

概述

提供光标信息对象的创建、销毁与读写方法。

库: libohinputmethod.so

系统能力: SystemCapability.MiscServices.InputMethodFramework

起始版本: 12

相关模块:InputMethod

汇总

类型定义

名称 描述
InputMethod_CursorInfo 光标信息。

函数

名称 描述
InputMethod_CursorInfo * OH_CursorInfo_Create (double left, double top, double width, double height) 创建一个新的InputMethod_CursorInfo实例。
void OH_CursorInfo_Destroy (InputMethod_CursorInfo *cursorInfo) 销毁一个InputMethod_CursorInfo实例。
InputMethod_ErrorCode OH_CursorInfo_SetRect (InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) 设置光标信息内容。
InputMethod_ErrorCode OH_CursorInfo_GetRect (InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) 获取光标信息内容。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙IME Kit(输入法开发服务)

harmony 鸿蒙InputMethod

harmony 鸿蒙输入法框架错误码

harmony 鸿蒙inputmethod_attach_options_capi.h

harmony 鸿蒙inputmethod_controller_capi.h

harmony 鸿蒙inputmethod_inputmethod_proxy_capi.h

harmony 鸿蒙inputmethod_private_command_capi.h

harmony 鸿蒙inputmethod_text_avoid_info_capi.h

harmony 鸿蒙inputmethod_text_config_capi.h

harmony 鸿蒙inputmethod_text_editor_proxy_capi.h

0  赞