Skip to main content
Pie
ra0

TcxCanvas.MoveTo(Integer,Integer) Method

Moves the current pen position to a specified point on the canvas.

Declaration

procedure MoveTo(X: Integer; Y: Integer);

Parameters

Name Type
X Integer
Y Integer

Remarks

Call this procedure and pass the coordinates of a point as the X and Y parameters to move the current pen position to this point. This is useful if you need to draw a new separate line or shape.

See Also