TextTransformData
class TextTransformData(val size: TextTransformData.Size? = null, val weight: TextTransformData.Weight? = null, val style: TextTransformData.Style? = null, val decoration: TextTransformData.Decoration? = null, val case: TextTransformData.Case? = null, val variant: TextTransformData.Variant? = null, val script: TextTransformData.Script? = null, val color: Color? = null)
Text transformation a portion of text can undergo. If a property is set to null it is not specified, hence ignored and the default value is used.
Parameters
size
font size
weight
font weight
style
font style
decoration
text decoration
case
text case
variant
font variant
script
vertical script position (subscript or superscript)
color
text (foreground) color
Constructors
Link copied to clipboard
constructor(size: TextTransformData.Size? = null, weight: TextTransformData.Weight? = null, style: TextTransformData.Style? = null, decoration: TextTransformData.Decoration? = null, case: TextTransformData.Case? = null, variant: TextTransformData.Variant? = null, script: TextTransformData.Script? = null, color: Color? = null)
Types
Link copied to clipboard
Text case transformation.
Link copied to clipboard
Text decoration.
Link copied to clipboard
Vertical script position.
Link copied to clipboard
Font size, relative to the default font size.
Link copied to clipboard
Font style.
Link copied to clipboard
Font variant.
Link copied to clipboard
Font weight.