編輯

共用方式為


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