Skip to main content
Pie
ra0

TcxCanvas.FrameRect(TRect,TColor,Integer,TcxBorders,Boolean) Method

Draws a border around a rectangle.

Declaration

procedure FrameRect(const R: TRect; AColor: TColor; ALineWidth: Integer; const ABorders: TcxBorders; AExcludeFrame: Boolean); overload;

Parameters

Name Type
R TRect
AColor TColor
ALineWidth Integer
ABorders TcxBorders
AExcludeFrame Boolean

Remarks

This method draws a color border around a rectangle. The Color parameter specifies the border color. Optionally you can specify the border sides to draw and the border width (the ABorders and ALineWidth parameters).

See Also