The TPen object is a helper object that represents the pen used to draw the border of the shape displayed by the TShape component. To obtain the TPen object in your scripts, use the TShape.Pen property.
The TPen object provides properties that let you adjust the pen width, color, style and draw mode.

TPen Properties