Initializes a new instance of the SetAlpha class using the specified opacity.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public SetAlpha(
float opacity
)
Type: System.Single
The opacity (in range [0, 1]) to initialize the alpha channel with. Depending on the channel color depth this value is normalized to 255 (for non-extended 8 bits per channel pixel formats) or to 65535 (for extended 16 bits per channel pixel formats).