widthText

Returns the size of the rendered text for the given font.

@safe
int
widthText
(
T
)

Parameters

T

String type.

text T

Text.

font Font

Font.

Meta