sourceRectAtTime가 가지고 있는 속성으로 앵커 포인트 고정 또는 레이어 정보 불러오기
sourceRectAtTime은 4가지 속성을 가지고 있음
- left
- top
- width
- height
이를 활용해 레이어 또는 도형의 크기와 위치 값을 불러올 수 있음
a=sourceRectAtTime();
[a.left+a.width/2 , a.top+a.height/2]
sourceRectAtTime가 가지고 있는 속성으로 앵커 포인트 고정 또는 레이어 정보 불러오기
sourceRectAtTime은 4가지 속성을 가지고 있음
이를 활용해 레이어 또는 도형의 크기와 위치 값을 불러올 수 있음
a=sourceRectAtTime();
[a.left+a.width/2 , a.top+a.height/2]