SKImageInfo.WithAlphaType(SKAlphaType) Method

Definition

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

public SkiaSharp.SKImageInfo WithAlphaType (SkiaSharp.SKAlphaType newAlphaType);
public readonly SkiaSharp.SKImageInfo WithAlphaType (SkiaSharp.SKAlphaType newAlphaType);

Parameters

newAlphaType
SKAlphaType

The alpha/transparency type.

Returns

Returns the new SKImageInfo.

Applies to