StyledStringBuilder
Builder for creating a StyledString
Parameters
the String to style
The KalugaTextStyle to apply when no StringStyleAttribute are set for a given range. This may be partially overwritten (e.g. StringStyleAttribute.CharacterStyleAttribute.ForegroundColor may overwrite KalugaTextStyle.color)
The LinkStyle to apply when StringStyleAttribute.Link is applied. When null
the Theme default will be used
the Context in which the StyledString will be displayed
Builder for creating a StyledString
Builder for creating a StyledString
Parameters
the String to style
The KalugaTextStyle to apply when no StringStyleAttribute are set for a given range. This may be partially overwritten (e.g. StringStyleAttribute.CharacterStyleAttribute.ForegroundColor may overwrite KalugaTextStyle.color)
The LinkStyle to apply when StringStyleAttribute.Link is applied. When null
the Theme default will be used
Builder for creating a StyledString
Parameters
the String to style
The KalugaTextStyle to apply when no StringStyleAttribute are set for a given range. This may be partially overwritten (e.g. StringStyleAttribute.CharacterStyleAttribute.ForegroundColor may overwrite KalugaTextStyle.color)
The LinkStyle to apply when StringStyleAttribute.Link is applied. When null
the Theme default will be used
Builder for creating a StyledString
Parameters
the String to style
The KalugaTextStyle to apply when no StringStyleAttribute are set for a given range. This may be partially overwritten (e.g. StringStyleAttribute.CharacterStyleAttribute.ForegroundColor may overwrite KalugaTextStyle.color)
The LinkStyle to apply when StringStyleAttribute.Link is applied. When null
the Theme default will be used
Constructors
Types
Provider for a StyledStringBuilder
Provider for a StyledStringBuilder
Provider for a StyledStringBuilder
Provider for a StyledStringBuilder
Provider for a StyledStringBuilder
Functions
Adds a StringStyleAttribute for a given range
Adds a StringStyleAttribute for a given range
Adds a StringStyleAttribute for a given range
Adds a StringStyleAttribute for a given range
Creates the StyledString
Creates the StyledString
Creates the StyledString
Creates the StyledString
Creates the StyledString