Function VisualServerSingleton.canvasItemAddLine

Adds a line command to the CanvasItem's draw commands.

void canvasItemAddLine (
  const(RID) item,
  const(Vector2) from,
  const(Vector2) to,
  const(Color) color,
  const(double) width = 1.00000,
  const(bool) antialiased = false
) nothrow @nogc;