Property AlphaMode
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
AlphaMode
Specifies the alpha mode of the input and output. The default is Premultiplied.
To preserve color information for transparent pixels, make sure the input is in
straight alpha format (not premultiplied) and set this property to Straight.
The default value is Premultiplied.
public EffectPropertyAccessor<GrayscaleAlphaMode2> AlphaMode { get; }