Show: Delphi C++
Display Preferences

Vcl.Graphics.TCanvas.FrameRect

From RAD Studio API Documentation
Jump to: navigation, search

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 Brush of the canvas to draw the border.

Use FrameRect to draw a 1 pixel wide border around a rectangular region. FrameRect does not fill the interior of the rectangle with the Brush pattern.

To draw a boundary using the Pen instead, use the Polygon method.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance