# anchorPoint
총 1개의 포스트

Frame과 Bounds 이해하기
Frame Superview의 좌표계에서의 위치와 크기를 나타내는 직사각형 뷰 포지션과 사이즈를 설정하는 레이아웃 작업 시에 사용 frame을 설정하면 center 가 바뀌고, bounds 범위 안에서의 적절한 사이즈로 바뀐다. (bounds와 동일) frame의 변화는 draw(_:) 없이 재표시된다. 만약 draw(_:) method를 사용하고 싶다면, [contentMode](https://developer.apple.co
2021년 5월 6일
·
0개의 댓글·
0