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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.