SDLFont.measureText

class SDLFont
vec2i
measureText
(
string text
)

Return Value

Type: vec2i

Size of text in pixels if rendered with this font.

Meta