BitmapGlyphData

data class BitmapGlyphData(val x: Float, val y: Float, val boundsTop: Float, val boundsRight: Float, val boundsBottom: Float, val boundsLeft: Float, val advance: Float)

Constructors

Link copied to clipboard
constructor(x: Float, y: Float, boundsTop: Float, boundsRight: Float, boundsBottom: Float, boundsLeft: Float, advance: Float)

Properties

Link copied to clipboard

How many pixels to advance to the right before drawing the next glyph.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Haw far this glyph extends relative to its reference point (x,y). All four bounds are >= 0.

Link copied to clipboard
Link copied to clipboard
val left: Float
Link copied to clipboard
Link copied to clipboard
val top: Float
Link copied to clipboard

The width of this glyph (i.e. the width of the bounding rectangle which encompasses the glyph). Note, the height is the same for all glyphs, and is stored on BitmapFont.

Link copied to clipboard
val x: Float

The x coordinate of the reference point for this glyph within the texture (measured in pixels).

Link copied to clipboard
val y: Float

The y coordinate of the reference point for this glyph within the texture (measured in pixels).