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