> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/korean/development/api-reference/enums/dominantaxis.md).

# DominantAxis

## Overview

DominantAxis는 GUI 요소의 크기를 지정할 때 우선순위를 가질 축을 정의하는 Enum입니다.

UIAspectRatioConstraint의 DominantAxis 속성에서 사용되며, UI 요소가 부모보다 커지려고 할 때 어떤 방향(가로 또는 세로)을 기준으로 크기 조정을 진행할지를 결정합니다.

## Items

| Name   | Value | Description          |
| ------ | ----- | -------------------- |
| Width  | 0     | 수평 축(가로)을 우선순위로 합니다. |
| Height | 1     | 수직 축(세로)을 우선순위로 합니다. |

## See also

{% content-ref url="/pages/uElEmIxtTIIcMrFRGIDT" %}
[UIAspectRatioConstraint](/korean/development/api-reference/classes/uiaspectratioconstraint.md)
{% endcontent-ref %}
