Home | GR32 | TBitmap32 |
TBitmap32.FillRect
procedure FillRect(X1, Y1, X2, Y2: Integer; Value: TColor32);
procedure FillRectS(X1, Y1, X2, Y2: Integer; Value: TColor32); overload;
procedure FillRectT(X1, Y1, X2, Y2: Integer; Value: TColor32);
procedure FillRectTS(X1, Y1, X2, Y2: Integer; Value: TColor32); overload;
procedure FillRectS(const ARect: TRect; Value: TColor32); overload;
procedure FillRectS(const ARect: TRect; Value: TColor32); overload;
Description
Fills the rectangle with a specified color. Methods with 'S' postfix provide necessary clipping to bitmap boundaries, versions without 'S' must be supplied with valid parameters and X2 > X1; Y2 > Y1.
The function fills the rectangle up to, but not including the right column and bottom row. When X2 <= X1 or Y2 <= Y1, nothing is drawn.
See Also
FrameRect, Naming Conventions, TColor32
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007