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.

Draw gradient along a curved UIBezierPath

In an app, I draw a curved UIBezierPath an an MKOverlayPathView class to show flight routes. This is the code …

ios objective-c gradient uibezierpath
What is the difference between CGPath and UIBezierPath()?

At the moment, I'm trying to work out how to animate a custom button which I have an image of …

ios swift uibezierpath cgpath
Create Hexagon ImageView shape in iOS

I want Above Hexagon shape for my ImageView. But After implementing below code I am getting this Image - (UIBezierPath *)…

ios uiimageview uiimage core-graphics uibezierpath
How to fill a UIBezierPath with a gradient?

I've drawn a graph using a UIBezierPath. I can fill the area under the graph with a solid color but …

ios uibezierpath
Drawing a triangle

Im trying to allow users to draw a triangle shape. I'm getting the start point and the end point and …

objective-c ios ipad uibezierpath cgpoint
Draw arc segments using UIBezierPath

I know there are lots of example related to UIBezierPath, but I am very confused about the angles to use …

ios objective-c geometry calayer uibezierpath
Cropping an Image to the shape of an Overlay - iOS

I'm adding the overlay using pickerController's view and the uinavigationcontrollerdelegate as below. -(void)navigationController:(UINavigationController *)navigationController didShowViewController: (UIViewController *)viewController …

ios uiimagepickercontroller uibezierpath
Swift - How to get Rounded Cap on CAShapeLayer or UIBezierPath(ovalInRect: ovalRect)

I have these 2 functions bellow in my class which extends CAShapeLayer, but I can't get an arc with rounded end …

ios swift uibezierpath rounded-corners cashapelayer