[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Graph' (#rtl)

FloodFill

Fill an area with a given color

Declaration

Source position: graphh.inc line 761

procedure FloodFill(

  x: SmallInt;

  y: SmallInt;

  Border: Word

);

Description

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

Errors

None

See also

SetColor

  

Set foreground drawing color

SetBkColor

  

Set background drawing color

The latest version of this document can be found at lazarus-ccr.sourceforge.net.