OH_ArkUI_StyledString_PushTextStyle

Function OH_ArkUI_StyledString_PushTextStyle 

Source
pub unsafe extern "C" fn OH_ArkUI_StyledString_PushTextStyle(
    handle: *mut ArkUI_StyledString,
    style: *mut OH_Drawing_TextStyle,
)
Available on crate feature api-12 only.
Expand description

Sets the new layout style to the top of the current format string style stack.

ยงArguments

  • handle - A pointer to the ArkUI_StyledString object.

  • style - A pointer to the OH_Drawing_TextStyle object.

Available since API-level: 12