API:Vcl.Graphics.TCanvas.FrameRect
Delphi
procedure FrameRect(const Rect: TRect); override;
C++
virtual void __fastcall FrameRect(const System::Types::TRect &Rect);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCanvas |
説明
境界を示すために、現在のブラシで、キャンバスの矩形領域を描画します。
Vcl.Graphics.TCanvas.FrameRect は Vcl.Graphics.TCustomCanvas.FrameRect を継承しています。以下の内容はすべて Vcl.Graphics.TCustomCanvas.FrameRect を参照しています。
境界を示すために、現在のブラシで、キャンバスの矩形領域を描画します。
矩形領域の周囲に 1 ピクセル幅の境界の描画を実装するために FrameRect メソッドをオーバーライドします。FrameRect では、現在のブラシ パターンで矩形内部が塗りつぶされません。