SetAlignment
public void SetAlignment(AnchorPoint anchor)
활성 GridStructure 의 정렬을 AnchorPoint 로 설정한다 (Horizontal/Vertical 동시 적용).
GridStructure 는 이산 정렬만 지원하므로 각 축은 1 만 유효(그 외 ArgumentOutOfRangeException).
Depth 는 2D 대상이라 미적용. 기존 SetVerticalAlignment/SetHorizontalAlignment 를 대체한다.
Parameters
| Name | Type | Description |
|---|---|---|
| anchor | AnchorPoint | 정렬 anchor (H: 0=Left/0.5=Center/1=Right, V: 0=Top/0.5=Middle/1=Bottom) |