Property PreserveAlpha
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
PreserveAlpha
Specifies whether the convolution kernel is applied to the alpha channel or only the color channels.
If you set this to true, the convolution kernel is applied only to the color channels.
If you set this to false, the convolution kernel is applied to all channels.
The default value is false.
public EffectPropertyAccessor<bool> PreserveAlpha { get; }