cashapelayer
CALayer vs CGContext, which is a better design approach?
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 wr[详细]
2023-04-02 16:44 分类:问答Animating CAShapeLayer with moving frame
Using core animation layers, I\'ve been trying to implement the following feature. Within a containing superlayer, there are two anchor layers, and another layer that connects the two.The following im[详细]
2023-03-28 11:44 分类:问答Animate drawing the fill of a CAShapeLayer
I\'ve been playing around with drawing a path using a CAShapeLayer as outlined in this great article, http://oleb.net/blog/2010/12/animating-drawing-of-cgpath-with-cashapelayer, but I\'m wondering if[详细]
2023-03-02 16:11 分类:问答Simple confetti effect using CAShapeLayer and CoreAnimation on iphone?
I am building a fairly simple game on my app. the app UI is based a lot core animation so does the开发者_StackOverflow中文版 game.[详细]
2023-02-18 09:54 分类:问答CAShapeLayer Slow User Interaction
I have a CAShapeLayer and it has to do a simpl开发者_开发百科e task of moving on the screen, guided by the user\'s finger.[详细]
2023-02-11 05:13 分类:问答Constructing CAShapeLayer from a multiple CGpaths
I have a CAShapeLayer that takes his shape fr开发者_高级运维om path. This creates a layer object which can be manipulated, like move and rotate.[详细]
2023-02-10 15:25 分类:问答Drawing CAShapeLayer with a big CGPath
I am creating a vector based drawing app, and being truly vector based I need to have a \"limitless\" canvas. So I have created the following structure:[详细]
2023-02-10 08:53 分类:问答Drawing a path in Photoshop/Illustrator, using it in iOS
I am looking for a more convenient way of drawing a path than by drawing it programmatically. Is there any way of drawing a path in Photoshop (or Illustrator) and getting that path to the iPhone to us[详细]
2023-01-29 11:12 分类:问答Maximum CAShapeLayer size?
I\'m trying to draw a semi-transparent shape over an image. I\'ve got a UIView which has it\'s layer\'s contents set to the image, with a CAShapeLayer sub-layer who\'s path is set to the shape. There[详细]
2023-01-13 21:43 分类:问答Can a CGImage be added to the contents property of a CAShapeLayer?
I have a custom view with a layerClass override like: + (Class) layerClass { return [CAShapeLayer class];[详细]
2023-01-05 18:37 分类:问答