Fills an area by flooding the color.

Namespace:  SGP.Baltie2D
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[DefaultMethodAttribute]
public void FloodFill(
	Color color,
	int x,
	int y
)

Parameters

color
Type: System.Drawing..::.Color
A color.
x
Type: System..::.Int32
The X coordinate of the starting point.
y
Type: System..::.Int32
The Y coordinate of the starting point.

Remarks

The method fills a surface with the color color from a starting point x, y to borders. The color of the surface borders differences from the color of a starting point.

See Also