Vcl.Direct2D.TDirect2DCanvas.FrameRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FrameRect(const Rect: TRect); override;

Properties

Type Visibility Source Unit Parent
procedure public Vcl.Direct2D.pas Vcl.Direct2D TDirect2DCanvas

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