Previous: FlipToScreen procedure To the Table of Content Next: GetActivePage function

- 4.37.2.26 -
Standard Units
Graph Unit
Graph Unit Procedures and Functions

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.


Previous: FlipToScreen procedure To the Table of Content Next: GetActivePage function
FlipToScreen procedure Table of Content GetActivePage function

- 4.37.2.26 -