Click or drag to resize
SepiaEffectAlphaMode Property
Specifies the treatment of alpha. Default value Premultiplied.

Namespace:  Microsoft.Graphics.Canvas.Effects
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasAlphaMode AlphaMode { get; set; }

Property Value

Type: CanvasAlphaMode
Remarks

Effect inputs and outputs are assumed to be in premultiplied alpha format, so when this property is set to Premultiplied, the sepia effect is applied directly to the input values with no extra conversions.

If AlphaMode set to Straight, input values will be unpremultiplied, then the sepia effect applied, and finally the result converted back to premultiplied format.

See Also