컴포넌트의 배치 기준은 수평기준-수직기준으로 지정한다.
부모의 크기 변경시, anchor 속성값에 따라 지정된 위치로 배치된다.
- 0:left-top, x, y 속성을 기준으로 배치
- 1:left-bottom, x, bottom 속성을 기준으로 배치
- 2:right-top, right, y 속성을 기준으로 배치
- 3:right-bottom, right, bottom 속성을 기준으로 배치
- 4:left-center, x 속성 및 수직 중앙으로 배치
- 5:center-top, 수평 중앙, y 속성 기준으로 배치
- 6:center-center, 수평/수직 중앙으로 배치
- 7:right-center, right 속성 및 수직 중앙로 배치
- 8:center-bottom, 수평 중앙, bottom 속성을 기준으로 배치