Function CanvasItem.drawChar

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

double drawChar (
  Font font,
  const(Vector2) position,
  const(String) _char,
  const(String) next,
  const(Color) modulate = Color(0.00000F, 0.00000F, 0.00000F, 1.00000F, ).this(1.00000F, 1.00000F, 1.00000F, 1.00000F)
) nothrow @nogc;