python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Animate startAngle in UIBezierPath in UIView
I have a UIView subclass, which draws an arc inside its frame. The draw method looks like this:
override func draw(_ rect: CGRect) {
let clockwise = true
let center: CGPoint = CGPoint(...
Dan Donaldson
Votes: 0
Answers: 1
UIBezierPath Shadow with transparent internal rect Objective c
I have a problem by adding shadow using UIbezierPath. My Code is
CGRect f = view.bounds;
view.layer.shadowColor = [UIColor redColor].CGColor;
view.layer.shadowOpacity = 1;
view.layer.shadowRadius = 10...

GNChishti
Votes: 0
Answers: 2
How to use lineJoin and lineJoinStyle with a UIBezierPath?
I have a mask applied to a view using CAShapeLayer and UIBezierPath. I'd like to add a rounding effect to the line joins but it's not working. How do I round the corners of this shape?
You can plug th...
lurning too koad
Votes: 0
Answers: 2
changing size of CALayer also changes size of previously added layer's size
i'm trying to draw over UIImageView with this custome class and i would like to be able to change the size and color of lines being drawn by user. But every time i change the size or color of CALayer ...
Ramesh Sanghar
Votes: 0
Answers: 1