SetAlphaColorCommand Constructor (Color, Double) |
Creates a new instance of SetAlphaColorCommand specifying
color and tolerance.
Namespace:
Atalasoft.Imaging.ImageProcessing.Channels
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public SetAlphaColorCommand(
Color color,
double tolerance
)
Public Sub New (
color As Color,
tolerance As Double
)
Parameters
- color
- Type: System.DrawingColor
Color used to create the alpha channel. - tolerance
- Type: SystemDouble
Tolerance percentage for finding matching colors. (0 - 100)
Exceptions Exception | Condition |
---|
| Thrown if the tolerance is less than 0 or greater than 100. |
See Also