SKPixmap.WithAlphaType(SKAlphaType) Method

Definition

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

public SkiaSharp.SKPixmap WithAlphaType (SkiaSharp.SKAlphaType newAlphaType);

Parameters

newAlphaType
SKAlphaType

The alpha/transparency type.

Returns

Returns the new SKPixmap.

Applies to