GlyphData:getBoundingBox

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Gets glyph bounding box.

Function

Synopsis

x, y, width, height = GlyphData:getBoundingBox()

Arguments

None.

Returns

number x
Glyph position x.
number y
Glyph position y.
number width
Glyph width.
number height
Glyph height.

See Also


Other Languages