# Enum.DominantAxis

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

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

Used by [`UIAspectRatioConstraint.DominantAxis`](https://rapi.sleaze.dev/classes/UIAspectRatioConstraint.md) for resizing the object to maintain the aspect ratio.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Width` | 0 | The X axis. |
| `Height` | 1 | The Y axis. |

## 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 `DominantAxis`
