편집

다음을 통해 공유


SkiaExtensions Class

Definition

Convenience methods for SKPixelGeometry.

public static class SkiaExtensions
Inheritance
SkiaExtensions

Methods

GetAlphaType(SKColorType, SKAlphaType)
GetBytesPerPixel(SKColorType)
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.

ToColorChannel(SKDisplacementMapEffectChannelSelectorType)
ToColorSpaceTransferFn(SKColorSpaceRenderTargetGamma)
ToColorSpaceTransferFn(SKNamedGamma)
ToColorSpaceXyz(SKColorSpaceGamut)
ToColorSpaceXyz(SKMatrix44)
ToColorType(GRPixelConfig)
Obsolete.

Converts a GRPixelConfig to an equivalent SKColorType, if possible.

ToFilterQuality(SKBitmapResizeMethod)
Obsolete.

Converts a SKBitmapResizeMethod to an equivalent SKFilterQuality.

ToGlSizedFormat(GRPixelConfig)
Obsolete.

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)
Obsolete.

Converts a SKColorType to an equivalent GRPixelConfig, if possible.

ToShaderTileMode(SKMatrixConvolutionTileMode)
ToTextEncoding(SKEncoding)

Applies to