Edit

SKBitmap.ScalePixels Method

Definition

Overloads

Name Description
ScalePixels(SKPixmap, SKSamplingOptions)

Scales the pixels to the destination using the sampling options.

ScalePixels(SKBitmap, SKSamplingOptions)

Scales the pixels to the destination using the sampling options.

ScalePixels(SKPixmap, SKSamplingOptions)

Scales the pixels to the destination using the sampling options.

public bool ScalePixels(SkiaSharp.SKPixmap destination, SkiaSharp.SKSamplingOptions sampling);

Parameters

destination
SKPixmap

The destination pixmap.

sampling
SKSamplingOptions

The sampling options for resizing.

Returns

Returns true on success.

Applies to

ScalePixels(SKBitmap, SKSamplingOptions)

Scales the pixels to the destination using the sampling options.

public bool ScalePixels(SkiaSharp.SKBitmap destination, SkiaSharp.SKSamplingOptions sampling);

Parameters

destination
SKBitmap

The destination bitmap.

sampling
SKSamplingOptions

The sampling options for resizing.

Returns

Returns true on success.

Applies to