CanvasItem.drawChar

Draws a string character using a custom font. Returns the advance, depending on the char width and kerning with an optional next char.

struct CanvasItem
@nogc nothrow
double
drawChar
(
StringArg2
StringArg3
)
(,
in Vector2 position
,
in StringArg2 _char
,
in StringArg3 next
,
in Color modulate = Color(1, 1, 1, 1)
)

Meta