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.
- x
- Type: System..::.Int32
X-coordinate of a starting point.
- y
- Type: System..::.Int32
Y-coordinate of a 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 boundaryColor.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | graphics is nullNothingnullptra null reference (Nothing in Visual Basic). |