TTFFont.measureText

Returns the dimensions of a string with this font.

class TTFFont
override
vec2
measureText
(
string text
,
float scale = 1.0f
)

Meta