Text

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

Functions

component1
Link copied to clipboard
operator fun component1(): Int?
component2
Link copied to clipboard
operator fun component2(): Double?
component3
Link copied to clipboard
operator fun component3(): Double?
component4
Link copied to clipboard
operator fun component4(): String?
component5
Link copied to clipboard
operator fun component5(): String?
copy
Link copied to clipboard
fun copy(numLines: Int? = null, size: Double? = null, maxWidth: Double? = null, foregroundColor: String? = null, backgroundColor: String? = null): MPIOptions.FloatingLabelAppearance.Text
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

backgroundColor
Link copied to clipboard
val backgroundColor: String? = null
Text background color
foregroundColor
Link copied to clipboard
val foregroundColor: String? = null
Text foreground color
maxWidth
Link copied to clipboard
val maxWidth: Double? = null
Maxiumum width of text in pixels
numLines
Link copied to clipboard
val numLines: Int? = null
Number of lines to display when text spans multiple lines
size
Link copied to clipboard
val size: Double? = null
Text size in pixels