Appends alpha channel to current bitmap.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub AddAlpha ( _ opacity As Single _ )
public void AddAlpha( float opacity )
Type: System.Single
Opacity value to initialize alpha channel with. Valid values are in range [0, 1]. Depending on channel bit 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).bitmap.Channels.AddAlpha(0.4F)
bitmap.Channels.AddAlpha(0.4f);