PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

AspectType

AspectType

Controls the behavior of the aspect ratio constraint.


Enums

Name Value Description

FitWithinMaxSize

0

Makes the element the maximum size it can be within the current possible AbsoluteSize of the element while maintaining the aspect ratio.

ScaleWithParentSize

1

Scales the element to the largest size it can fit inside the parent element’s maximum size while maintaining the aspect ratio.

Referenced by

  • UIAspectRatioConstraint/AspectType