GlyphRenderInfo

data class GlyphRenderInfo(val char: Char, val atlasLocation: GlyphAtlasLocation?, val glyphBounds: BoundingBox2f, val layoutInfo: GlyphLayoutInfo) : Record

Contains information about the placement of characters in a bitmap and how they are rendered

Constructors

Link copied to clipboard
constructor(char: Char, atlasLocation: GlyphAtlasLocation?, glyphBounds: BoundingBox2f, layoutInfo: GlyphLayoutInfo)

Properties

Link copied to clipboard

The location of the Glyph on the sprite, may be null if the glyph is a whitespace

Link copied to clipboard
val char: Char

Which char does this glyph represent?

Link copied to clipboard

The bounds of the rendered glyph. Used for rendering.

Link copied to clipboard