CAShapeLayer is a special purpose CALayer subclass for drawing animatable shapes using cubic Bezier splines.
I am trying to draw a circle that will be used to indicate progress. The progress updates might come in …
ios objective-c core-animation uibezierpath cashapelayerI would like to add a circular mask to UIImageVIew. Here is the function that am using to add the …
ios uiimageview calayer uiviewanimation cashapelayerI am working on CAShapeLayer.And trying to draw non-linear path.I want to set frame to CAShapeLayer.So i …
ios cgpath cashapelayerI am drawing a circle, with an initial radius of 200 self.circle = [CAShapeLayer layer]; self.circle.fillColor = nil; self.circle.…
objective-c ios cabasicanimation cashapelayerHere is my class and it'll draw a circle, it looks like this: class OvalLayer: CAShapeLayer { let animationDuration: CFTimeInterval = 0.3 override …
ios swift calayer core-text cashapelayerI have a strange question. Even though I did read a lot of tutorials on how to do this, the …
swift shadow uibezierpath cashapelayerI have coded as below for half circle in iOS using UIBezierPath and CAShapeLayer. clockWiseLayer = [[CAShapeLayer alloc] init]; CGFloat startAngle = …
ios angle uibezierpath cashapelayerI am using this code to apply a layer to a UIview: mask = [[CAShapeLayer alloc] init]; mask.frame = baseView.layer.…
iphone ios cocoa-touch uiview cashapelayerI have a CAShapeLayer (which is the layer of a UIView subclass) whose path should update whenever the view's bounds …
ios animation core-animation cashapelayerI want to draw a circle with color gradient stroke like the following picture, on both iOS and macOS: Is …
ios swift macos cashapelayer nsbezierpath