On this page
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
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/GlyphData:getBoundingBox