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 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

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, color: Color? = null)

Types

Link copied to clipboard

Text case transformation.

Link copied to clipboard
Link copied to clipboard

Font size, relative to the default font size.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val color: Color? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard