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:
public CanvasAlphaMode AlphaMode { get; set; }

Property Value

Type: CanvasAlphaMode

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