Click or drag to resize
Accord.NET (logo)

PointedColorFloodFillTolerance Property

Flood fill tolerance.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public Color Tolerance { get; set; }
Request Example View Source

Property Value

Type: Color
Remarks

The tolerance value determines which colors to fill. If the value is set to 0, then only color of the pointed pixel is filled. If the value is not 0, then other colors may be filled as well, which are similar to the color of the pointed pixel within the specified tolerance.

The tolerance value is specified as Color, where each component (R, G and B) represents tolerance for the corresponding component of color. This allows to set different tolerances for red, green and blue components.

See Also