¡@

Home 

2014/10/15 ¤U¤È 10:10:59

iphone Programming Glossary: layerwidth

iOS Paper fold (origami / accordion) effect animation, with manual control

http://stackoverflow.com/questions/11157888/ios-paper-fold-origami-accordion-effect-animation-with-manual-control

EndAngle double end CATransformLayer jointLayer CATransformLayer layer jointLayer.anchorPoint anchorPoint CGFloat layerWidth if anchorPoint.x 0 from left to right layerWidth image.size.width frame.origin.x jointLayer.frame CGRectMake 0 0 layerWidth.. CATransformLayer layer jointLayer.anchorPoint anchorPoint CGFloat layerWidth if anchorPoint.x 0 from left to right layerWidth image.size.width frame.origin.x jointLayer.frame CGRectMake 0 0 layerWidth frame.size.height if frame.origin.x jointLayer.position.. if anchorPoint.x 0 from left to right layerWidth image.size.width frame.origin.x jointLayer.frame CGRectMake 0 0 layerWidth frame.size.height if frame.origin.x jointLayer.position CGPointMake frame.size.width frame.size.height 2 else jointLayer.position..