Canvasity.lineTo

Extend the current subpath with a straight line.

The line will go from the current end point (if the current path is not empty) to the given point, which will become the new end point. Its position is affected by the current transform at the time that this is called. If the current path was empty, this is equivalent to just a move.

  1. void lineTo(float x, float y)
    struct Canvasity
    nothrow @nogc
    void
    lineTo
    (
    float x
    ,
    float y
    )
  2. void lineTo(T v)
  3. this(Image buffer, CanvasOptions options)
  4. void initialize(Image buffer, CanvasOptions options)

Meta