This documentation is for the old version. Go to the latest Graphics Mill docs

FloodFill.Tolerance Property

Gets/sets a maximum allowed tolerance for the target color.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Property Tolerance As Single
C#
public float Tolerance { get; set; }

Property Value

Value in range [0, 1] specifying admissible tolerance (distance between colors in color space) when comparing current color and target color (see comments for targetColor). Minimum value (0) means exact match of the colors, maximum value (1) means that any color matches.

Remarks

Default value is 0.1.

See Also

Reference