# Enum.AspectType

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/AspectType/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/AspectType

Used by [`UIAspectRatioConstraint.AspectType`](https://rapi.sleaze.dev/classes/UIAspectRatioConstraint.md) to control sizing behavior.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `FitWithinMaxSize` | 0 | The object will be the maximum size possible within its own `AbsoluteSize`. |
| `ScaleWithParentSize` | 1 | The object's maximum size will be the size of the parent while still maintaining the aspect ratio. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [UIAspectRatioConstraint](https://rapi.sleaze.dev/classes/UIAspectRatioConstraint.md): property `AspectType`
