Struct AspectRatioMode
sealed struct AspectRatioMode
AspectRatioMode describes how to preserve the aspect ratio.
Fields
Constants
IGNORE_ASPECT_RATIO
Size is scaled freely. The aspect ratio is not preserved. *AspectRatioMode={0}
KEEP_ASPECT_RATIO
Size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio. *AspectRatioMode={1}
KEEP_ASPECT_RATIO_BY_EXPANDING
Size is scaled to a rectangle as small as possible outside a given rectangle, preserving the aspect ratio. *AspectRatioMode={2}

