Skip to main content

TcxCanvas.Pen Property

Specifies the active pen for the canvas.

Declaration

property Pen: TPen read; write;

Property Value

Type
TPen

Remarks

This property value defines the default line settings. Use the Pen.Color, Pen.Width, and Pen.Style properties to set the color, width (in pixels) and pattern to draw lines.

All line-related parameters of the shape and line draw procedures override the corresponding active pen settings.

Note

The Pen property maps to the Pen property of the underlying canvas.

See Also