Skip to content

FloodFill

Fill an area with a given color.

Declaration

Source position: graphh.inc line 797

procedure FloodFill(x: SmallInt; y: SmallInt; Border: ColorType);

Description

Fills the area containing the point (X,Y), bounded by the color BorderColor.

Errors

None

See also

Name Description
SetColor Set foreground drawing color.
SetBkColor Set background drawing color.