FrameRect

Graphics32

TBitmap32.FrameRect

procedure FrameRectS(X1, Y1, X2, Y2: Integer; Value: TColor32); overload;

procedure FrameRectTS(X1, Y1, X2, Y2: Integer; Value: TColor32); overload;

procedure FrameRectS(const ARect: TRect; Value: TColor32); overload;

procedure FrameRectTS(const ARect: TRect; Value: TColor32); overload;
procedure FrameRectTSP(X1, Y1, X2, Y2: Integer);

Description

Draws a rectangle frame. Row with X2 coordinate and column with Y2 coordinate are excluded.

If X2 <= X1 or Y2 <= Y1, the function does not draw the rectangle.

FrameRectTSP version supports line patterns.

See Also

FillRect, LineTo, Naming Conventions, TColor32