Available on crate feature
api-12 only.Re-exports§
pub use super::ArkUI_StyledString;
Structs§
- ArkUI_
Styled String - Defines formatted string data objects supported by the text component.
- OH_
Drawing_ Font Collection - Defines an OH_Drawing_FontCollection, which is used to load fonts.
- OH_
Drawing_ Placeholder Span - Defines the placeholder span.
- OH_
Drawing_ Text Style - Defines an OH_Drawing_TextStyle, which is used to manage text colors and decorations.
- OH_
Drawing_ Typography - Defines an OH_Drawing_Typography, which is used to manage the typography layout and display.
- OH_
Drawing_ Typography Style - Defines an OH_Drawing_TypographyStyle, which is used to manage the typography style, such as the text direction.
Functions§
- OH_
ArkUI_ ⚠Convert ToHtml api-14 - Converts styled string information into HTML.
- OH_
ArkUI_ ⚠Marshall Styled String Descriptor api-14 - Serializes the styled string information into a byte array.
- OH_
ArkUI_ ⚠Styled String_ AddPlaceholder - Set the placeholder.
- OH_
ArkUI_ ⚠Styled String_ AddText - Sets the corresponding text content based on the current format string style.
- OH_
ArkUI_ ⚠Styled String_ Create - Creates a pointer to the ArkUI_StyledString object.
- OH_
ArkUI_ ⚠Styled String_ Create Typography - Creates a pointer to an OH_Drawing_Typography object based on a format string object for advanced text estimation and typography.
- OH_
ArkUI_ ⚠Styled String_ Descriptor_ Create api-14 - Creates an ArkUI_StyledString_Descriptor object.
- OH_
ArkUI_ ⚠Styled String_ Descriptor_ Destroy api-14 - Destroys an ArkUI_StyledString_Descriptor object and reclaims the memory occupied by the object.
- OH_
ArkUI_ ⚠Styled String_ Destroy - Free the memory occupied by the ArkUI_StyledString object.
- OH_
ArkUI_ ⚠Styled String_ PopText Style - Removes the top style from the stack in the current format string object.
- OH_
ArkUI_ ⚠Styled String_ Push Text Style - Sets the new layout style to the top of the current format string style stack.
- OH_
ArkUI_ ⚠Unmarshall Styled String Descriptor api-14 - Deserializes a byte array containing styled string information into a styled string.