Click or drag to resize

SetAlphaColorCommand Constructor (Color, Double, AlphaMergeType)

Creates a new instance of SetAlphaColorCommand specifying color, tolerance, and merge type.

Namespace:  Atalasoft.Imaging.ImageProcessing.Channels
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public SetAlphaColorCommand(
	Color color,
	double tolerance,
	AlphaMergeType mergeType
)

Parameters

color
Type: System.DrawingColor
Color used to create the alpha channel.
tolerance
Type: SystemDouble
Tolerance percentage for finding matching colors. (0 - 100)
mergeType
Type: Atalasoft.Imaging.ImageProcessingAlphaMergeType
The type of merge performed.
Exceptions
ExceptionCondition
Thrown if the tolerance is less than 0 or greater than 100.
See Also