2015-01-31 6 views
0

메소드의 매개 변수로 CAShapeLayer가 있고 관련 경로가 필요합니다. 누구든지 조언 할 수 있습니까? 목표 C : CaShapeLayer에서 패스를 추출하는 방법

+0

CAShapeLayer에는 경로 속성 CGPathRef가 있습니다. https://developer.apple.com/library/ios/documentation/GraphicsImaging/Reference/CAShapeLayer_class/#//apple_ref/occ/instp/CAShapeLayer/path –

+0

감사합니다. Sinisa Drpa – moufkir

답변

0

CAShapeLayer는 다음과 같은 속성이 사전에 감사합니다

@property CGPathRef path; 

... 당신에게 레이어와 관련된 경로를 반환하는.

+0

감사합니다. ipmcc – moufkir