FloodFillCommand Constructor (Point, Color, Double, ColorMatchMode) |
Creates a new instance of FloodFillCommand specifying the position, fill color, tolerance and color match
mode.
Namespace:
Atalasoft.Imaging.ImageProcessing.Effects
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public FloodFillCommand(
Point position,
Color fillColor,
double tolerance,
ColorMatchMode mode
)
Public Sub New (
position As Point,
fillColor As Color,
tolerance As Double,
mode As ColorMatchMode
)
Parameters
- position
- Type: System.DrawingPoint
The X, Y pixel position where the fill should start. - fillColor
- Type: System.DrawingColor
The color used for the fill. - tolerance
- Type: SystemDouble
The percentage of color variation. (0 to 100) - mode
- Type: Atalasoft.Imaging.ImageProcessingColorMatchMode
The ColorMatchMode used for the fill.
Exceptions Exception | Condition |
---|
| Thrown if the tolerance is less than 0 or greater than 100. |
See Also