Canvas.lineTo

Connects the last point in the current sub-path to the specified (x, y) coordinates with a straight line. If several points are provided, it is equivalent to consecutive single-point lineTo calls.

  1. void lineTo(float x, float y)
    struct Canvas
    nothrow @nogc
    void
    lineTo
    (
    float x
    ,
    float y
    )
  2. void lineTo(vec2f point)
  3. void lineTo(vec2f[] points)

Meta