RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TShape Class

TShape represents a geometric shape that can be drawn on a form.

Pascal
TShape = class(TGraphicControl);
C++
class TShape : public TGraphicControl;

ExtCtrls

Add a TShape object to a form to draw a simple geometric shape on the form. TShape introduces properties to describe the pen used to outline the shape and the brush used to fill it.  

If the shape is only part of the image of a custom control, use the methods of the control's canvas instead. 

 

TBrush 

TCanvas 

TPen 

TBevel 

Graphic Controls 

Shapes

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!