Sets the alpha channel to the current bitmap.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void 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).