[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Fills an area at the specified coordinates with the current Brush for the canvas.
Source position: graphics.pp line 1125
public procedure TCanvas.FloodFill( |
X: Integer; |
Y: Integer; |
FillColor: TColor; |
FillStyle: TFillStyle |
); virtual; |
X |
|
Horizontal coordinate where the fill operation is performed. |
Y |
|
Vertical coordinate where the fill operation is performed. |
FillColor |
|
Color replaced or used as a boundary in the fill operation. |
FillStyle |
|
Determines whether FillColor is the boundary or the target for the fill operation. |
FloodFill is a method used to fill the area at the point specified in X, Y with the style, color, or bitmap defined in Brush.
FillColor contains the color value for the boundary of the fill, or the area to be filled, depending on the value in FillStyle.
FillStyle determines the type of fill operation performed in the method. For example:
Please note that comments in the TGraphicsFillStyle source code have these conditions reversed.
FloodFill calls the routine in the LCL interface used to implement the method for the widgetset. The return value from the LCL interface is ignored.
|
The Brush used to paint on the Canvas. |
|
|
Color type used by most LCL drawing functions. |
|
|
Alias for the TGraphicsFillStyle enumeration type in LazUtils. |
|
|
Fills an area of the display surface with the current brush. |
Version 3.2 | Generated 2024-02-25 | Home |