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
Post a Comment