vec2 Draw::MeasureString(const string&in str, UI::Font@ font = null, float size = 0.0f, float wrapWidth = 0.0f)
Calculates the size that a string will be drawn at.
string str
string
str
UI::Font@ font
UI::Font@
font
float size
float
size
float wrapWidth
wrapWidth
vec2