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
Alpha16 | 16 | |
Alpha8 | 1 | Represents a 8-bit alpha-only color. |
AlphaF16 | 14 | |
Argb4444 | 3 | Represents a 16-bit color with the format ARGB. |
Bgr101010x | 20 | |
Bgra1010102 | 19 | |
Bgra8888 | 6 | Represents a 32-bit color with the format BGRA. |
Gray8 | 9 | Represents an opaque 8-bit grayscale color. |
Index8 | 6 | Represents a 8-bit indexed color. |
Rg1616 | 17 | |
Rg88 | 13 | |
Rgb101010x | 8 | Represents an opaque 32-bit color with the format RGB, with 10 bits per color component. |
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. |
Rgb888x | 5 | Represents an opaque 32-bit color with the format RGB, with 8 bits per color component. |
Rgba1010102 | 7 | Represents a 32-bit color with the format RGBA, with 10 bits per color component and 2 bits for the alpha component. |
Rgba16161616 | 18 | |
Rgba8888 | 4 | Represents a 32-bit color with the format RGBA. |
RgbaF16 | 10 | Represents a floating-point based color with the format RGBA. |
RgbaF16Clamped | 11 | |
RgbaF32 | 12 | |
RgF16 | 15 | |
Unknown | 0 | Unknown encoding. |
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기