SKColorType 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 components of a pixel.
public enum SKColorType
- Inheritance
-
SKColorType
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Unknown encoding. |
Alpha8 | 1 | Represents a 8-bit alpha-only color. |
Rgb565 | 2 | Represents an opaque 16-bit color with the format RGB, with the red and blue components being 5 bits and the green component being 6 bits. |
Argb4444 | 3 | Represents a 16-bit color with the format ARGB. |
Rgba8888 | 4 | Represents a 32-bit color with the format RGBA. |
Rgb888x | 5 | Represents an opaque 32-bit color with the format RGB, with 8 bits per color component. |
Bgra8888 | 6 | Represents a 32-bit color with the format BGRA. |
Index8 | 6 | Represents a 8-bit indexed color. |
Rgba1010102 | 7 | Represents a 32-bit color with the format RGBA, with 10 bits per color component and 2 bits for the alpha component. |
Rgb101010x | 8 | Represents an opaque 32-bit color with the format RGB, with 10 bits per color component. |
Gray8 | 9 | Represents an opaque 8-bit grayscale color. |
RgbaF16 | 10 | Represents a floating-point based color with the format RGBA. |
RgbaF16Clamped | 11 | |
RgbaF32 | 12 | |
Rg88 | 13 | |
AlphaF16 | 14 | |
RgF16 | 15 | |
Alpha16 | 16 | |
Rg1616 | 17 | |
Rgba16161616 | 18 | |
Bgra1010102 | 19 | |
Bgr101010x | 20 |