Click or drag to resize
EdgeDetectionEffectAlphaMode 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, edge detection is applied directly to the input values with no extra conversions.

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

See Also