styled
Creates a StyledString from a String
Return
a StyledString styled with all attributes
Parameters
the StyledStringBuilder.Provider to provide the StyledStringBuilder used create a StyledString
the KalugaTextStyle to apply when no StringStyleAttribute are set for a given range
a collection of StringStyleAttribute to apply to the entire string
Creates a StyledString from a String
Return
a StyledString styled with all attributes
Parameters
the StyledStringBuilder.Provider to provide the StyledStringBuilder used create a StyledString
the KalugaTextStyle to apply when no StringStyleAttribute are set for a given range
the KalugaColor to apply to the LinkStyle of the StyledString
a collection of StringStyleAttribute to apply to the entire string
Creates a StyledString from a String
Return
a StyledString styled with all attributes
Parameters
the StyledStringBuilder.Provider to provide the StyledStringBuilder used create a StyledString
the KalugaTextStyle to apply when no StringStyleAttribute are set for a given range
the LinkStyle to apply to the StyledString
a collection of StringStyleAttribute to apply to the entire string
Creates a StyledString from a String
Return
a StyledString styled with all attributes
Parameters
the StyledStringBuilder.Provider to provide the StyledStringBuilder used create a StyledString
the KalugaTextStyle to apply when no StringStyleAttribute are set for a given range
a collection methods that create a Pair of StringStyleAttribute and the IntRange at which it should be applied
Throws
if attributes returns an IntRange out of bounds for the String
Creates a StyledString from a String
Return
a StyledString styled with all attributes
Parameters
the StyledStringBuilder.Provider to provide the StyledStringBuilder used create a StyledString
the KalugaTextStyle to apply when no StringStyleAttribute are set for a given range
the KalugaColor to apply to the LinkStyle of the StyledString
a collection methods that create a Pair of StringStyleAttribute and the IntRange at which it should be applied
Throws
if attributes returns an IntRange out of bounds for the String
Creates a StyledString from a String
Return
a StyledString styled with all attributes
Parameters
the StyledStringBuilder.Provider to provide the StyledStringBuilder used create a StyledString
the KalugaTextStyle to apply when no StringStyleAttribute are set for a given range
the LinkStyle to apply to the StyledString
a collection methods that create a Pair of StringStyleAttribute and the IntRange at which it should be applied
Throws
if attributes returns an IntRange out of bounds for the String