API:Vcl.Direct2D.TDirect2DCanvas.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.Direct2D.pas Vcl.Direct2D.hpp |
Vcl.Direct2D | TDirect2DCanvas |
Description
Draws a rectangle using the current brush of the canvas to draw the border.
Vcl.Direct2D.TDirect2DCanvas.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.