OH_ArkUI_LeadingMarginSpanDrawInfo
typedef struct OH_ArkUI_LeadingMarginSpanDrawInfo OH_ArkUI_LeadingMarginSpanDrawInfo
Overview
Defines the custom drawing information for paragraph indentation.
OH_ArkUI_LeadingMarginSpanDrawInfo_Create can be used to create a custom drawing information object for paragraph indentation.
OH_ArkUI_LeadingMarginSpanDrawInfo_Destroy can be used to destroy the custom drawing information object for paragraph indentation.
This object is used to provide the drawing context information of the current line in the callback function registered by OH_ArkUI_ParagraphStyle_RegisterOnDrawLeadingMarginCallback.
Since: 24
Related module: ArkUI_NativeModule
Header file: styled_string.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 鸿蒙 js-apis-arkui-node
openharmony 鸿蒙 capi-native-node-h
openharmony 鸿蒙 capi-arkui-nativemodule-arkui-listitemswipeactionitem