Vcl.Graphics.TCustomCanvas.MoveTo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MoveTo(X, Y: Integer); overload; virtual; abstract;
procedure MoveTo(const Point: TPoint); overload;

C++

virtual void __fastcall MoveTo(int X, int Y) = 0 /* overload */;
void __fastcall MoveTo(const Winapi::Windows::TPoint &Point)/* overload */;

Properties

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

Description

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

Override the MoveTo method to implement setting the value of PenPos before calling LineTo. Calling MoveTo is equivalent to setting the PenPos property.

See Also