CanvasAlphaMode Enumeration |
Specifies the way in which an alpha channel affects color channels.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public enum CanvasAlphaMode
Members
| Member name | Value | Description |
---|
| Premultiplied | 0 | The alpha value has been premultiplied. In blending, each color is scaled by the alpha value. Note that the alpha value itself is the same in both straight and premultiplied alpha. Typically, no color channel value is greater than the alpha channel value. |
| Straight | 1 | The alpha channel indicates the transparency of the color. |
| Ignore | 2 | The alpha value is ignored. |
See Also