Font.draw

Draw "string" into a canvas item using the font at a given position, with "modulate" color, and optionally clipping the width. "position" specifies the baseline, not the top. To draw from the top, ascent must be added to the Y axis.

struct Font
@nogc nothrow const
void
draw
(
StringArg2
)
(,
in Vector2 position
,
in StringArg2 string
,
in Color modulate = Color(1, 1, 1, 1)
,
in long clip_w = -1
,
in Color outline_modulate = Color(1, 1, 1, 1)
)

Meta