Modifier

Partager via


SKBitmap.InstallMaskPixels(SKMask) Method

Definition

Installs the specified mask's pixels into the bitmap.

public bool InstallMaskPixels (SkiaSharp.SKMask mask);

Parameters

mask
SKMask

The mask to install.

Returns

Returns true on success, or false on failure. If there was an error, the bitmap will be set to empty.

Remarks

The caller must ensure that the specified mask pixels are valid for the lifetime of the created bitmap.

Applies to