SKBitmap.InstallMaskPixels(SKMask) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.