iphone - CAShapeLayer Line drawing -


i drawing line on 5 custom uiviews (like uitableview rows) 1 position (x,y axis) using cashapelayer.

my issue want know view cashapelayer (line in case) in. there cgintersect calayer , cgrect etc? trying create graph using core animation instead of chart api.

you check in shape layer intersects specific layer checking intersection of bounding box of path agains frame of other layer.

bool doesintersect = cgrectintersectsrect(cgpathgetboundingbox(path), layer.frame); 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -