Vcl.ExtCtrls.TShape

提供: RAD Studio API Documentation
移動先: 案内検索

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

Delphi

TShape = class(TGraphicControl)

C++

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

プロパティ

種類 可視性 ソース ユニット
class public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls Vcl.ExtCtrls

説明

TShape は、フォーム上に描画できる幾何学図形を表します。

単純な幾何学図形をフォーム上に描画するには、TShape オブジェクトをフォームに追加します。TShape には、図形の輪郭を描くために使用するペンや、塗りつぶしに使用するブラシを記述するプロパティが導入されています。

図形がカスタム コントロールの画像の一部に過ぎない場合は、代わりにそのコントロールのキャンバスのメソッドを使用します。

関連項目