4

I am working with CGPath and CAShapeLayer. I have drawn non linear path. So how to find frame from CGPath which should be exactly taken space by CGPath? Because I am drawing so many CGPath which are nearer to other CGPath's. Yes I know about CGPathGetPathBoundingBox(path), but it is giving me rectangle frame so it is over lapping to other CAShapeLayer.

Any pointers?

Amar
  • 13,202
  • 7
  • 53
  • 71
h999
  • 395
  • 1
  • 5
  • 21

0 Answers0