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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.