The OpenD Programming Language

Context.lineTo

Adds a line to the path from the current point to position p1 in user-space coordinates. After this call the current point will be p1.

If there is no current point before the call to lineTo() this function will behave as moveTo(p1).

  1. void lineTo(Point!double p1)
    struct Context
    void
    lineTo
    (
    Point!double p1
    )
  2. void lineTo(double x, double y)

Parameters

p1 Point!double

End of the line

Meta