SKPixmap.WithColorType(SKColorType) Method

Definition

Creates a new SKPixmap with the same properties as this SKPixmap, but with the specified color type.

public SkiaSharp.SKPixmap WithColorType (SkiaSharp.SKColorType newColorType);

Parameters

newColorType
SKColorType

The color type.

Returns

Returns the new SKPixmap.

Applies to