- 4.37.2.26. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.26. FloodFill procedure
4.37.2.26. FloodFill procedure
Targets: MS-DOS, Win32
Graph Unit
Fills a bounded region with the current color.
Declaration:
procedure FloodFill(X, Y: Integer; Border: Word);
Remarks:
Fills an enclosed area on bitmap devices. (X, Y) is a seed within
the enclosed area to be filled. The current fill color, as set by
SetFillColor,
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.
- 4.37.2.26. -