SKPixmap.ExtractSubset Method

Definition

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)

Creates a new SKPixmap which is a subset of this pixmap.

public SkiaSharp.SKPixmap ExtractSubset (SkiaSharp.SKRectI subset);

Parameters

subset
SKRectI

The bounds of the pixmap subset to retrieve.

Returns

Returns a subset of the pixmap.

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