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
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.