SKAlphaType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes how to interpret the alpha component of a pixel.
public enum SKAlphaType
- Inheritance
-
SKAlphaType
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | |
Opaque | 1 | All pixels are stored as opaque. |
Premul | 2 | All pixels have their alpha premultiplied in their color components. This is the natural format for the rendering target pixels. |
Unpremul | 3 | All pixels have their color components stored without any regard to the alpha. e.g. this is the default configuration for PNG images. This alpha-type is ONLY supported for input images. Rendering cannot generate this on output. |