TcxCanvas.FloodFill(Integer,Integer,TColor,TFillStyle) Method
In This Article
Fills a closed polygon with the active brush.
#Declaration
Delphi
procedure FloodFill(X: Integer; Y: Integer; Color: TColor; FillStyle: TFillStyle);
#Parameters
Name | Type |
---|---|
X | Integer |
Y | Integer |
Color | TColor |
Fill |
TFill |
#Remarks
Call this procedure to fill a closed polygon starting at the point whose coordinates are passed as the X and Y parameters. The FloodFill procedure uses the Color and FillStyle parameters to identify borders of the fill operation:
Fill |
Description |
---|---|
fs |
The target fill region is a contiguous area that has the color defined by the Color parameter. |
fs |
The target fill region is an area whose pixel colors do not match the specified color. The Flood |
See Also