ContiguousBackgroundRemoval Constructor (Color)

Initializes a new instance of the ContiguousBackgroundRemoval class with the specified background color.

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

Syntax

C#
public ContiguousBackgroundRemoval(
	Color backgroundColor
)

Parameters

backgroundColor

Type: Aurigma.GraphicsMill.Color

The color of the background, or null to use the median color of the image border.

Exceptions

Exception Condition
System.ArgumentException The color is a spot or an indexed color.

See Also

Reference