SkiaExtensions Class

Definition

Convenience methods for SKPixelGeometry.

public static class SkiaExtensions
Inheritance
SkiaExtensions

Methods

IsBgr(SKPixelGeometry)

Returns true if the pixel geometry is BGR.

IsHorizontal(SKPixelGeometry)

Returns true if the pixel geometry is horizontal.

IsRgb(SKPixelGeometry)

Returns true if the pixel geometry is RGB.

IsVertical(SKPixelGeometry)

Returns true if the pixel geometry is vertical.

ToColorType(GRPixelConfig)

Converts a GRPixelConfig to an equivalent SKColorType, if possible.

ToFilterQuality(SKBitmapResizeMethod)

Converts a SKBitmapResizeMethod to an equivalent SKFilterQuality.

ToGlSizedFormat(GRPixelConfig)

Converts a GRPixelConfig to the equivalent OpenGL sized format, if possible.

ToGlSizedFormat(SKColorType)

Converts a SKColorType to the equivalent OpenGL sized format, if possible.

ToPixelConfig(SKColorType)

Converts a SKColorType to an equivalent GRPixelConfig, if possible.

Applies to