Text

@Serializable
data class Text @JvmOverloads constructor(val numLines: Int? = null, val size: Double? = null, val maxWidth: Double? = null, val foregroundColor: String? = null, val backgroundColor: String? = null)

Constructors

Link copied to clipboard
constructor(numLines: Int? = null, size: Double? = null, maxWidth: Double? = null, foregroundColor: String? = null, backgroundColor: String? = null)

Properties

Link copied to clipboard
val backgroundColor: String? = null

Text background color

Link copied to clipboard
val foregroundColor: String? = null

Text foreground color

Link copied to clipboard
val maxWidth: Double? = null

Maxiumum width of text in pixels

Link copied to clipboard
val numLines: Int? = null

Number of lines to display when text spans multiple lines

Link copied to clipboard
val size: Double? = null

Text size in pixels