Property AlphaMode
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
AlphaMode
Specifies the alpha mode for the inputs and the output.
If this value is Premultiplied, the inputs will be unpremultiplied, then the
channel replacement will be performed, and then the result will be premultiplied.
If this value is Straight, the channel replacement will be performed on the
input images without any further processing.
The effect may also skip the premultiplication/unpremultiplication steps if it is not necessary for the given
channel replacement (such as when the alpha channel is not being modified).
The default value is Premultiplied.
public EffectPropertyAccessor<ReplaceChannelAlphaMode> AlphaMode { get; }