OH_ArkUI_FontConfigs
typedef struct OH_ArkUI_FontConfigs OH_ArkUI_FontConfigs
概述
定义文本的字体配置。可以通过OH_ArkUI_FontConfigs_Create 接口创建文本字体配置对象。可以通过OH_ArkUI_FontConfigs_Destroy 接口销毁文本字体配置对象。配置创建后通过OH_ArkUI_FontConfigs_SetFontWeightConfigs 接口设置文本的字体粗细配置。配置创建后通过OH_ArkUI_FontConfigs_GetFontWeightConfigs 接口查看文本的字体粗细配置。
起始版本: 24
相关模块: ArkUI_NativeModule
所在头文件: native_type.h
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 arkts-apis-uicontext-contextmenucontroller
openharmony 鸿蒙 errorcode-canvas
openharmony 鸿蒙 capi-oh-nativexcomponent-native-xcomponent-oh-nativexcomponent
openharmony 鸿蒙 errorcode-bindSheet
openharmony 鸿蒙 js-apis-arkui-uiExtension-sys
openharmony 鸿蒙 capi-arkui-accessibility-arkui-accessibilityeventinfo
openharmony 鸿蒙 capi-arkui-rendernodeutils
openharmony 鸿蒙 capi-native-node-h-nodeattributetype-layoutcomponent