Table of Contents

Property AlphaMode

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll

AlphaMode

Specifies the alpha mode for the input and output.
If this is set to Premultiplied, the input will be unpremultiplied, then the transfer function will be applied, and then the result will be premultiplied.
If this is set to Straight, the transfer function will be applied without any unpremultiply or premultiply steps.
Table values are specified in straight alpha format.
The default value is Premultiplied.

public EffectPropertyAccessor<TableTransferAlphaMode2> AlphaMode { get; }

Property Value

EffectPropertyAccessor<TableTransferAlphaMode2>