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;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!