Image |
public enum ImageScaleMode
| Member name | Value | Description |
|---|---|---|
| Clip | 0 | Don't scale |
| Fit | 1 | Scales image to fit the display rectangle, aspect ratio is not fixed. |
| ScaleDown | 2 | Scales image down if it is larger than display rectangle, taking aspect ratio into account |
| ScaleUp | 3 | Scales image up if it is smaller than display rectangle, taking aspect ratio into account |
| AlwaysScale | 4 | Scales image to match the display rectangle, taking aspect ratio into account |