GlyphMetrics

data class GlyphMetrics(val size: Float = 0.0f, val code: Int = 0, val bounds: Rect = Rect(), val xAdvance: Float = 0.0f, val u: Float = 0.0f, val v: Float = 0.0f, val u2: Float = 0.0f, val v2: Float = 0.0f, val page: Int = 0)

Metrics that describe a single glyph which can be used for rendering.

Author

Colton Daily

See also

Constructors

Link copied to clipboard
fun GlyphMetrics(size: Float = 0.0f, code: Int = 0, bounds: Rect = Rect(), xAdvance: Float = 0.0f, u: Float = 0.0f, v: Float = 0.0f, u2: Float = 0.0f, v2: Float = 0.0f, page: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val code: Int = 0
Link copied to clipboard
Link copied to clipboard
val left: Float
Link copied to clipboard
val page: Int = 0
Link copied to clipboard
Link copied to clipboard
val size: Float = 0.0f
Link copied to clipboard
val top: Float
Link copied to clipboard
val u: Float = 0.0f
Link copied to clipboard
val u2: Float = 0.0f
Link copied to clipboard
val v: Float = 0.0f
Link copied to clipboard
val v2: Float = 0.0f
Link copied to clipboard
Link copied to clipboard
val xAdvance: Float = 0.0f