Difference between revisions of "FontBase:getBounds"
From GiderosMobile
(----) |
|||
Line 18: | Line 18: | ||
'''Returns''' (number) height of the bound <br/> | '''Returns''' (number) height of the bound <br/> | ||
− | + | {{FontBase}} | |
− | {{ | ||
− | |||
− | |||
− | |||
− |
Revision as of 20:45, 3 December 2019
Available since: Gideros 2011.6
Class: FontBase
Description
Returns the tight bounding rectangle of the characters in the string specified by text.
(number), (number), (number), (number) = FontBase:getBounds(text)
Parameters
text: (string)
Return values
Returns (number) x coordinate of the bound
Returns (number) y coordinate of the bound
Returns (number) width of the bound
Returns (number) height of the bound