Font.measureText

class Font
nothrow @nogc nothrow @nogc
box2i
measureText
(
StringType
)
(
StringType s
,,)

Return Value

Type: box2i

Where a line of text will be drawn if starting at position (0, 0).

Meta