Cairo.LineTo (gb.cairo)

Static Sub LineTo ( X As Float, Y As Float )

Adds a line to the path from the current point to position (X, Y) in user-space coordinates. After this call the current point will be (X, Y).

  • X : the X coordinate of the end of the new line.

  • Y : the Y coordinate of the end of the new line.

If there is no current point before the call to Cairo.LineTo this function will behave as Cairo.MoveTo(X, Y).