SKPixmap.ExtractSubset 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.
Overloads
ExtractSubset(SKRectI) |
Creates a new SKPixmap which is a subset of this pixmap. |
ExtractSubset(SKPixmap, SKRectI) |
Creates a new SKPixmap which is a subset of this pixmap. |
ExtractSubset(SKRectI)
ExtractSubset(SKPixmap, SKRectI)
Creates a new SKPixmap which is a subset of this pixmap.
public bool ExtractSubset (SkiaSharp.SKPixmap result, SkiaSharp.SKRectI subset);
Parameters
- result
- SKPixmap
The pixmap to store the subset pixels.
- subset
- SKRectI
The bounds of the pixmap subset to retrieve.
Returns
Returns true
if the pixels were read, or false
if there was an error.
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.