Vcl.Graphics.TCustomCanvas.MoveTo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MoveTo(X, Y: Integer); virtual; abstract;

C++

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

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