Vcl.Graphics.TPen.Color

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Color: TColor read GetColor write SetColor default clBlack;

C++

__property System::Uitypes::TColor Color = {read=GetColor, write=SetColor, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TPen

Description

Determines the color used to draw lines on the canvas.

Set Color to change the color used to draw lines or outline shapes. The way the color is used by the pen depends on the Mode and Style properties.

See Also

Code Examples