d2dgame v3.0.0-beta.3 (2021-12-03T16:28:11Z)
Dub
Repo
TTFFont.measureText
d2d
font
ttffont
TTFFont
Returns the dimensions of a string with this font.
class
TTFFont
override
vec2
measureText
(
string
text
,
float
scale
= 1.0f
)
Meta
Source
See Implementation
d2d
font
ttffont
TTFFont
destructors
~this
functions
dispose
load
measureText
measureTextMultiline
render
renderMultiline
properties
handle
lineHeight
valid
Returns the dimensions of a string with this font.