Edit

SkiaExtensions.GetBitShiftPerPixel(SKColorType) Method

Definition

Gets the bit shift value per pixel for the specified color type.

public static int GetBitShiftPerPixel(this SkiaSharp.SKColorType colorType);

Parameters

colorType
SKColorType

The color type to query.

Returns

The number of bits to shift to calculate byte offsets for pixels.

Applies to