SKImageRescaleMode Enum
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.
Specifies the sampling algorithm used to rescale pixels during an asynchronous read-pixels operation.
public enum SKImageRescaleMode
- Inheritance
-
SKImageRescaleMode
Fields
| Name | Value | Description |
|---|---|---|
| Nearest | 0 | Uses nearest-neighbor sampling. |
| Linear | 1 | Uses a single bilinear sampling step. |
| RepeatedLinear | 2 | Uses repeated bilinear sampling steps, halving the size each pass, for higher-quality downscaling. |
| RepeatedCubic | 3 | Uses repeated bicubic sampling steps, halving the size each pass, for the highest-quality downscaling. |