textWidth

Measures the specified text string. Returns horizontal size of the measured text. Measured values are returned in local coordinate space.

nothrow @trusted @nogc
float
textWidth
(
T
)
(,
const(T)[] str
)
if (
isAnyCharType!T
)

See Also

Meta