GlyphData:getDimensions

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

Gets glyph dimensions.

Function

Synopsis

width, height = GlyphData:getDimensions()

Arguments

None.

Returns

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:getDimensions