Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public FloodFillCommand(
	Point position,
	Color fillColor,
	double tolerance,
	ColorMatchMode mode
)

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
ExceptionCondition
Thrown if the tolerance is less than 0 or greater than 100.
See Also