Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

when to use CABasicAnimation and CAKeyFrameAnimation and CGAffineTransform?

when to use CABasicAnimation and CAKeyFrameAnimation and CGAffineTransform?

like image 584
RK- Avatar asked Apr 20 '11 09:04

RK-


1 Answers

CABasicAnimation : provides basic, single-keyframe animation capabilities for a layer property.

CAKeyFrameAnimation:CAKeyframeAnimation provides generic keyframe animation capabilities for a layer property in the render tree.

CGAffineTransform: The CGAffineTransform data structure represents a matrix used for affine transformations. A transformation specifies how points in one coordinate system map to points in another coordinate system. An affine transformation is a special type of mapping that preserves parallel lines in a path but does not necessarily preserve lengths or angles. Scaling, rotation, and translation are the most commonly used manipulations supported by affine transforms, but skewing is also possible.

For more read Core Animation Programming Guide

like image 68
Jhaliya - Praveen Sharma Avatar answered Oct 23 '22 23:10

Jhaliya - Praveen Sharma