SKPixmap.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) |
Scales pixels to the destination using default sampling. |
| ScalePixels(SKPixmap, SKSamplingOptions) |
Scales pixels to the destination using the specified sampling options. |
ScalePixels(SKPixmap, SKSamplingOptions)
Scales pixels to the destination using the specified sampling options.
public bool ScalePixels(SkiaSharp.SKPixmap destination, SkiaSharp.SKSamplingOptions sampling);
Parameters
- destination
- SKPixmap
The destination pixmap.
- sampling
- SKSamplingOptions
The sampling options for scaling.
Returns
Returns true on success.