Enums.AspectRatioMode enumeration

The AspectRatioMode can be one of:

ConstantDescription
Enums.AspectRatioModeIgnoreAspectRatio(0) The size is scaled freely. The aspect ratio is not preserved.
Enums.AspectRatioModeKeepAspectRatio(1) The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio.
Enums.AspectRatioModeKeepAspectRatioByExpanding(2) The size is scaled to a rectangle as small as possible outside given rectangle, preserving the aspect ratio.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.