Reposition CGPath/UIBezierPath in View
Is it possible to reposition an already drawn CGPath/UIBezierPath on a view? I would like to move or change a path's position then perhaps recall the drawinRect method to just show the drawing again. From your question it sounds like you are drawing the path using Core Graphics inside drawRect: (as compared to using a CAShapeLayer ) so I'll explain the version first. Moving a CGPath You can create a new path by transforming another path. A translation transform moves the transformed object a certain distance in x and y. So using a translation transform you can move your existing path a certain