FontImageMap
class FontImageMap(val texture: ColorBuffer, val map: Map<Char, IntRectangle>, val glyphMetrics: Map<Char, GlyphMetrics>, val size: Double, val contentScale: Double, val ascenderLength: Double, val descenderLength: Double, val height: Double, val leading: Double, val name: String) : FontMap(source)
A type of FontMap which keeps characters pre-rendered in a ColorBuffer texture at a specific font size.
Constructors
Link copied to clipboard
constructor(texture: ColorBuffer, map: Map<Char, IntRectangle>, glyphMetrics: Map<Char, GlyphMetrics>, size: Double, contentScale: Double, ascenderLength: Double, descenderLength: Double, height: Double, leading: Double, name: String)
Properties
Link copied to clipboard
The length of the ascender part of the font, which is the height above the baseline.
Link copied to clipboard
Link copied to clipboard
The length of the descender part of the font, which is the height below the baseline.
Link copied to clipboard
Link copied to clipboard
A mutable map that stores kerning values for pairs of characters.
Link copied to clipboard
Link copied to clipboard