cashapelayer Questions

1

Solved

I am using this code to apply a layer to a UIview: mask = [[CAShapeLayer alloc] init]; mask.frame = baseView.layer.bounds; CGRect biggerRect = CGRectMake(mask.frame.origin.x, mask.frame.origin.y, ...
Sword asked 26/3, 2013 at 15:19

1

Solved

How to animate CAShapeLayer path and fillColor? How to animate strokeEnd to show the path being drawn? and how to animate fillColor?
Triumph asked 27/3, 2013 at 4:4

1

Solved

I have a UIImageView that shows a picture the user has just taken with the camera. On that image i need to draw a transparent movable circle thats a set size. So when the user drags their finger ov...
Quetzal asked 10/3, 2013 at 13:15

1

Solved

I'm trying to animate a UIBezierPath and I've installed a CAShapeLayer to try to do it. Unfortunately the animation isn't working and I'm not sure any of the layers are having any affect (as the co...
Emblazon asked 10/3, 2013 at 4:30

2

Solved

I'm getting a BAD ACCESS error using [UIBezierPath CGPath] with CAShapeLayer under ARC. I've tried bridging in various ways but I'm not clear if that is the problem. I have isolated the crash to us...
Agonizing asked 22/1, 2013 at 19:19

1

Solved

I'm animating the drawing of a basic circle. This works fine, except the animation begins drawing at the 3 o'clock position. Does anyone know how I can make it start at 12 o'clock? self.circle = [...
Waive asked 11/11, 2012 at 16:44

3

Solved

I have a issue with masking images. I do game "puzzle" and have to make custom images. I found and tried 2 way of custom cropping: Using CALayer.mask property. Using UIImage.mask property. In ...
Haggadah asked 4/5, 2011 at 8:25

1

Solved

This probably something really simple, but I have never used CAShapeLayers before, I imported this at the top: import < QuartzCore/QuartzCore.h > And the compiler is not complaining, but the l...
Thanh asked 18/10, 2011 at 13:24

1

Solved

I have been doing some experimenting with iOS drawing. To do a practical exercise I wrote a BarChart component. The following is the class diagram (well, I wasnt allowed to upload images) so let me...
Sustentation asked 2/9, 2011 at 17:40

© 2022 - 2024 — McMap. All rights reserved.