FontDefinition

data class FontDefinition(val typeface: Typeface, val fontSize: Int, val letterSpacing: Float?, val lineHeight: Int?)

Constructors

Link copied to clipboard
constructor(typeface: Typeface, fontSize: Int, letterSpacing: Float?, lineHeight: Int?)

Properties

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

Functions

Link copied to clipboard
fun applyTo(paint: Paint)
fun applyTo(text: TextView)