Paint.RelLineTo (gb.qt4)

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

Relative-coordinate version of LineTo.

Adds a line to the path from the current point to a point that is offset from the current point by (DX, DY) in user space. After this call the current point will be offset by (DX, DY).

  • DX : the X offset to the end of the new line.

  • DY : the Y offset to the end of the new line.

Given a current point of (X, Y), Paint.RelLineTo(DX, DY) is logically equivalent to Paint.LineTo(X + DX, Y + DY).