Table of Contents

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 = 1

Scale uniformly to fill bounds, cropping excess. Preserves aspect ratio.

Fit = 0

Scale uniformly to fit within bounds, preserving aspect ratio.

None = 3

Display at original size without scaling.

Stretch = 2

Stretch to exactly match bounds, ignoring aspect ratio.