PremultiplyAlpha Enum
Whether the colors of an ImageBitmap are premultiplied by their alpha (https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#premultiplyalpha).
public enum PremultiplyAlphaFields
| Name | Value | Description |
|---|---|---|
None | 0 | The colors are not premultiplied. |
Premultiply | 1 | The colors are premultiplied (the precision of the colors of the transparent pixels is reduced). |
Default | 2 | The choice of the user agent (the colors are not premultiplied). |