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 PremultiplyAlpha

Fields

NameValueDescription
None0The colors are not premultiplied.
Premultiply1The colors are premultiplied (the precision of the colors of the transparent pixels is reduced).
Default2The choice of the user agent (the colors are not premultiplied).