Enum ImageScaleMode
- Namespace
- SharpConsoleUI.Imaging
- Assembly
- SharpConsoleUI.dll
Determines how an image is scaled to fit the available space.
public enum ImageScaleMode
- Extension Methods
Fields
Fill = 1Scale uniformly to fill bounds, cropping excess. Preserves aspect ratio.
Fit = 0Scale uniformly to fit within bounds, preserving aspect ratio.
None = 3Display at original size without scaling.
Stretch = 2Stretch to exactly match bounds, ignoring aspect ratio.