GlyphLayout

Author

Colton Daily

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
fun reset()
Link copied to clipboard
fun setText(font: Font, text: CharSequence, color: Color = Color.WHITE, width: Float = 0.0f, scaleX: Float = 1.0f, scaleY: Float = 1.0f, align: HAlign = HAlign.LEFT, wrap: Boolean = false, truncate: String? = null)

Calculates the glyphs position and size.

Properties

Link copied to clipboard
Link copied to clipboard
var height: Float = 0.0f
Link copied to clipboard
Link copied to clipboard
var width: Float = 0.0f