Property AlphaMode
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
AlphaMode
Specifies the alpha mode of the input and output.
If set to Premultiplied, the input will be unpremultiplied, then swizzling
will be performed, and then the output will be premultiplied.
If set to Straight, the input will be swizzled without unpremultiplication
or premultiplication.
The effect may also skip the premultiplication/unpremultiplication steps if it is not necessary for the given
swizzle (such as when the alpha channel is not modified).
The default value is Premultiplied.
public EffectPropertyAccessor<PixelSwizzleAlphaMode> AlphaMode { get; }