Vcl.Graphics.TCustomCanvas.FrameRect
Delphi
procedure FrameRect(const Rect: TRect); virtual; abstract;
C++
virtual void __fastcall FrameRect(const System::Types::TRect &Rect) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCustomCanvas |
Description
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.