SetAlphaValueCommand Constructor (Byte, AlphaMergeType) |
Creates a new instance of SetAlphaValueCommand specifying the alpha value and merge type.
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 SetAlphaValueCommand(
byte alphaValue,
AlphaMergeType mergeType
)
Public Sub New (
alphaValue As Byte,
mergeType As AlphaMergeType
)
Parameters
- alphaValue
- Type: SystemByte
A value of 0 to 255 indicating the opacity to use on the alpha channel. - mergeType
- Type: Atalasoft.Imaging.ImageProcessingAlphaMergeType
The type of merge performed.
Exceptions Exception | Condition |
---|
| Thrown if the alphaValue is less than 0 or greater than 255. |
See Also