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

FloodFill.TargetColor Property

Gets/sets a target color that is used to find the boundaries of area to fill.

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

Syntax

Visual Basic
Public Property TargetColor As Color
C#
public Color TargetColor { get; set; }

Property Value

The Color which is used to determine the filling area boundaries.

Remarks

The method behaviour depends on mode argument value. If mode is UntilColor, this is a boundary color (when algorithm meets this color, it stops filling). If mode is TillColor, this is a surface color (algorithm continue filling till current color is the same as target color).

Default value is a white color.

See Also

Reference