API:Vcl.Graphics.TCanvas.FrameRect
Delphi
procedure FrameRect(const Rect: TRect); override;
C++
virtual void __fastcall FrameRect(const System::Types::TRect &Rect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCanvas |
Description
Draws a rectangle using the current brush of the canvas to draw the border.
Vcl.Graphics.TCanvas.FrameRect inherits from Vcl.Graphics.TCustomCanvas.FrameRect. All content below this line refers to Vcl.Graphics.TCustomCanvas.FrameRect.
Draws a rectangle using the current brush of the canvas to draw the border.
Override the FrameRect method to implement drawing a 1-pixel-wide border around a rectangular region. FrameRect does not fill the interior of the rectangle with the current brush pattern.