SkiaExtensions Class
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.
Convenience methods for SKPixelGeometry.
public static class SkiaExtensions
- Inheritance
-
SkiaExtensions
Methods
| Name | Description |
|---|---|
| GetAlphaType(SKColorType, SKAlphaType) |
Returns a valid alpha type for the specified color type. |
| GetBitShiftPerPixel(SKColorType) |
Gets the bit shift value per pixel for the specified color type. |
| GetBytesPerPixel(SKColorType) |
Gets the number of bytes per pixel for the specified color type. |
| IsBgr(SKPixelGeometry) |
Determines whether the pixel geometry is BGR. |
| IsHorizontal(SKPixelGeometry) |
Determines whether the pixel geometry is horizontal. |
| IsRgb(SKPixelGeometry) |
Determines whether the pixel geometry is RGB. |
| IsVertical(SKPixelGeometry) |
Determines whether the pixel geometry is vertical. |
| ToGlSizedFormat(SKColorType) |
Converts a SKColorType to the equivalent OpenGL sized format, if possible. |