Floods a surface with the color.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
Parameters
- graphics
- Type: System.Drawing..::.Graphics
Graphics in which we will draw.
- color
- Type: System.Drawing..::.Color
A color.
- boundaryColor
- Type: System.Drawing..::.Color
The color of the surface border.
- point
- Type: System.Drawing..::.Point
The coordinates of a starting point.
Remarks
The method fills a surface with the coloru color
from a starting point point to borders.
The color of the surface borders differences from boundaryColor.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | graphics is nullNothingnullptra null reference (Nothing in Visual Basic). |