Vcl.ExtCtrls.TShape

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTShape

Delphi

TShape = class(TGraphicControl)

C++

class PASCALIMPLEMENTATION TShape : public Vcl::Controls::TGraphicControl

Properties

Type Visibility Source Unit Parent
class public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls Vcl.ExtCtrls

Description

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

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.

See Also