FloodFill Method
FloodFill(Brush, Point)
Flood fills the drawing surface starting from the given point, using the given brush.
Declaration
public void FloodFill(Brush brush, Point point)
Parameters
| Type | Name | Description |
|---|---|---|
| Brush | brush | Brush to fill the surface with. Only SolidBrush objects are supported at the moment. |
| Point | point | The point to start filling from. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
| System.ArgumentException |
|