Fills a bounded region with the current fill pattern and color.
procedure FloodFill(X, Y: Integer; Border: Word);
Fills an enclosed area on bitmap devices. (X, Y) is a seed within the enclosed area to be filled. The current fill pattern, as set by SetFillStyle or SetFillPattern, is used to flood the area bounded by Border color. If the seed point is within an enclosed area, then the inside will be filled. If the seed is outside the enclosed area, then the exterior will be filled.
If an error occurs while flooding a region, GraphResult returns a value of grNoFloodMem