measureTextSize

fnVec2 measureTextSize(FontId font, IStr text, DrawOptions options = DrawOptions(), TextOptions extra = TextOptions()) @safe @trusted nothrow @nogc

Returns the size of the text.