I want to use uibezierpath to draw sth like the followling pic.But I only find some api add whole rect ,can I use some tricks to draw patial rect
Asked
Active
Viewed 900 times
0
-
You might consider drawing the whole rect, then drawing opaque white (or whatever color) over the portion of the rect you don't want. – Tim Dec 11 '13 at 05:05
-
Try this... http://stackoverflow.com/questions/19136400/drawing-a-line-with-bezierpath-using-cashapelayer-object?rq=1 – Nick Terry Dec 11 '13 at 05:10