GlyphMetrics

data class GlyphMetrics(var size: Double = 0.0, var existing: Boolean = false, var codePoint: Int = 0, var bounds: Rectangle = Rectangle(), var xadvance: Double = 0.0)

Constructors

Link copied to clipboard
constructor(size: Double = 0.0, existing: Boolean = false, codePoint: Int = 0, bounds: Rectangle = Rectangle(), xadvance: Double = 0.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val top: Double
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun copyFromNewSize(other: GlyphMetrics, size: Double, codePoint: Int = other.codePoint): GlyphMetrics
Link copied to clipboard
fun copyFromScaled(other: GlyphMetrics, scale: Double, codePoint: Int = other.codePoint): GlyphMetrics
Link copied to clipboard
open override fun toString(): String