BitmapGlyphData

data class BitmapGlyphData(val left: Float, val baseline: Float, val width: Float, val advance: Float)

Constructors

Link copied to clipboard
constructor(left: Float, baseline: Float, width: Float, advance: Float)

Properties

Link copied to clipboard

The starting position of the NEXT glyph relative to this one when rendering text. This does not take into account kerning. Kerning is not supported by the fonts in Tickle.

Link copied to clipboard

The position of the BASELINE of the glyph in the texture.

Link copied to clipboard
val left: Float

The position of the left of the glyph in the texture.

Link copied to clipboard

The width of this glyph (i.e. the width of the bounding rectangle which encompasses the glyph