hxdefold API documentation
View source
typedef
ResourceTextMetrics
package
defold
import
defold.Resource
Text metrics returned by the
Resource.get_text_metrics
method.
Fields
width
:
Float
The width of the text.
max_descent
:
Float
max_ascent
:
Float
height
:
Float
The height of the text.