Top "Uibezierpath" questions

The UIBezierPath class lets you define a path consisting of straight and curved line segments and render that path in your custom views.

CABasicAnimation with CALayer path doesn't animate

I'm trying to animation the transition of a CALayer from normal corners to rounded corners. I only want to round …

core-animation calayer uibezierpath cgpath cabasicanimation
Reposition/resize UIBezierPath

I have a draggable view that has a mask layer on it. The mask layer has a UIBezierPath on it …

ios iphone ios7 mask uibezierpath
Draw ellipse with start and end angle in Objective-C

I am writing an iPad app in which I am rendering XML objects that represent shapes into graphics on the …

objective-c ios ellipse uibezierpath geometric-arc
Swift draw shadow to a uibezier path

I have a strange question. Even though I did read a lot of tutorials on how to do this, the …

swift shadow uibezierpath cashapelayer
start and end angle of UIBezierPath?

I have coded as below for half circle in iOS using UIBezierPath and CAShapeLayer. clockWiseLayer = [[CAShapeLayer alloc] init]; CGFloat startAngle = …

ios angle uibezierpath cashapelayer
Filling a path with a gradient on iOS

On a CAShapeLayer, I've drawn a closed UIBezierPath. I can fill this shape by setting the fillColor, however I want …

ios uibezierpath cagradientlayer
How can I combine UIBezierPath drawings?

I'm trying to combine several UIBezierPath drawings. I have different types of drawings I can make (line, cubic bezier, quadratic …

ios6 uibezierpath cgpath
How to autoresize sublayers

I have an imageview and on button click I draw some bezier paths and some text layer too. On undo, …

iphone ios objective-c drawing uibezierpath
Drawing a line with Bezierpath using CAShapeLayer object

I am making an image editor which can create different shapes objects like circle, triangle and square which can also …

ios objective-c uibezierpath cashapelayer
How to fill a CAShapeLayer with an angled gradient

How do I fill a CAShapeLayer() with a gradient and on an angle of 45 degrees? For example, in Image 1, the …

ios swift optimization uibezierpath cashapelayer