Vcl.Graphics.TCanvas.MoveTo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual void __fastcall MoveTo(int X, int Y);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCanvas

Description

Changes the current drawing position to the point (X,Y).

Use MoveTo to set the value of PenPos before calling LineTo. Calling MoveTo is equivalent to setting the PenPos property.

See Also

Code Examples