harmony 鸿蒙inputmethod_text_avoid_info_capi.h
inputmethod_text_avoid_info_capi.h
概述
提供输入框避让信息对象的创建、销毁与读写方法。
库: libohinputmethod.so
系统能力: SystemCapability.MiscServices.InputMethodFramework
起始版本: 12
相关模块:InputMethod
汇总
类型定义
名称 | 描述 |
---|---|
InputMethod_TextAvoidInfo | 输入框避让信息。 |
函数
名称 | 描述 |
---|---|
InputMethod_TextAvoidInfo * OH_TextAvoidInfo_Create (double positionY, double height) | 创建一个新的InputMethod_TextAvoidInfo实例。 |
void OH_TextAvoidInfo_Destroy (InputMethod_TextAvoidInfo *info) | 销毁一个InputMethod_TextAvoidInfo实例。 |
InputMethod_ErrorCode OH_TextAvoidInfo_SetPositionY (InputMethod_TextAvoidInfo *info, double positionY) | 设置InputMethod_TextAvoidInfo中的Y坐标值。 |
InputMethod_ErrorCode OH_TextAvoidInfo_SetHeight (InputMethod_TextAvoidInfo *info, double height) | 设置InputMethod_TextAvoidInfo中的高度值。 |
InputMethod_ErrorCode OH_TextAvoidInfo_GetPositionY (InputMethod_TextAvoidInfo *info, double *positionY) | 从InputMethod_TextAvoidInfo获取Y坐标值。 |
InputMethod_ErrorCode OH_TextAvoidInfo_GetHeight (InputMethod_TextAvoidInfo *info, double *height) | 从InputMethod_TextAvoidInfo获取高度值。 |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙inputmethod_attach_options_capi.h
harmony 鸿蒙inputmethod_controller_capi.h
harmony 鸿蒙inputmethod_cursor_info_capi.h
harmony 鸿蒙inputmethod_inputmethod_proxy_capi.h
harmony 鸿蒙inputmethod_private_command_capi.h
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦