TPostScriptPrinterCanvas.FillRect procedure
Declaration
procedure FillRect(const ARect: TRect); overrideDescription
Not described here; this is what TCanvas.FillRect says of it:
Fills a rectangular area on the canvas using the current Brush settings. No border line is painted.
FillRect is an overloaded method used to fill a rectangular area
on the canvas using the style, color, or bitmap defined in Brush. The border
of the rectangle is not drawn. The overloaded variants allow the vertices for
the rectangle to be specified as either:
- Four separate Integer coordinates representing the top/left and bottom/right sides of the shape.
- A TRect instance where the vertices are represented as either four Integers, two TPoint instances for TopLeft and BottomRight, or a vector using the TArray4IntegerType.
FillRect calls the routine in the LCL interface used to implement the method for a specific widgetset.
Use Rectangle to draw a filled rectangle with borders. Use FloodFill to fill an area (not necessarily rectangular) bounded by a specified color value.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
