OudsAnnotatedHeadingText
An annotated string for com.orange.ouds.core.component.OudsHeadingText text in OUDS components.
This class supports colored text formatting to highlight one or more important words in a heading.
Use buildOudsAnnotatedHeadingText to create instances:
OudsHeadingText(
text = buildOudsAnnotatedHeadingText {
append("This is ")
withColor(OudsTheme.colorScheme.content.brandSecondary) {
append("brand secondary text")
}
)Content copied to clipboard
Types
Link copied to clipboard
class Builder(capacity: Int = 16) : OudsAnnotatedString.Builder<OudsAnnotatedHeadingText> , OudsAnnotatedString.ColorBuilder
Properties
Functions
Link copied to clipboard
Create capitalized OudsAnnotatedString.
Link copied to clipboard
Create decapitalized OudsAnnotatedString.
Link copied to clipboard
Concatenates this annotated string with another annotated string.
Link copied to clipboard
Link copied to clipboard
Create lower case transformed OudsAnnotatedString.
Link copied to clipboard
Create upper case transformed OudsAnnotatedString.