RAD Studio VCL Reference
|
Specifies the pen used to outline the shape control.
property Pen: TPen;
__property TPen Pen;
Read Pen to obtain the TPen object that represents the color and style of the line used to outline the shape. Use the properties of Pen to change the color or style.
Pen is a TPen object that represents the color and style of the line used to outline the shape. Use the properties and methods of TPen to change the color or pattern of the shape object:
Shape1.Pen.Width := 1;
Shape1.Pen.Color := Red;
Shape1->Pen->Width = 1;
Shape1->Pen->Color = clRed;
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|