Vcl.Graphics.TCustomCanvas.PenPos

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PenPos: TPoint read GetPenPos write SetPenPos;

C++

__property Winapi::Windows::TPoint PenPos = {read=GetPenPos, write=SetPenPos};

Properties

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

Description

Specifies the current drawing position of the Pen.

Read PenPos to learn the current drawing position of the Pen. This is the starting point of a line drawn by the LineTo method. Setting the PenPos property is equivalent to calling the MoveTo method.

See Also