Core Animation学习之anchorPoint
来源:互联网 发布:电路图设计软件 编辑:程序博客网 时间:2024/05/18 01:42
anchorPoint(锚点)简单来说是用来确定“动画效果“的。先看下面这章图:
中间黑色的点就是anchorPoint了,它的取值在0-1,取到1就表示离原点最远。注意这个图是MacOS的图,ios的坐标系原点在左上角。
如果我要使得图形绕着左下角转呢?
anchorPoint的效果应该很清楚了,旋转和缩放必须依赖这个坐标来确定效果。
注意anchorPoint的默认值是(0.5, 0.5)就是图一的效果。
- Core Animation学习之anchorPoint
- Core Animation学习之anchorPoint
- iOS学习之 - Core Animation
- Core Animation之CATransform3D学习篇
- Core Animation之CATransform3D学习篇
- Core Animation之CATransform3D学习篇
- Core Animation之CATransform3D学习篇
- 10. Core Animation之CATransform3D学习篇
- Core Animation之CATransform3D学习篇
- core animation学习
- Core Animation学习笔记
- Core Animation学习----CAkeyframeAnimation
- Core Animation学习笔记
- Core Animation学习笔记
- Core Animation学习笔记
- Core Animation学习笔记
- Core Animation 学习笔记
- core Animation学习笔记
- 【书籍推荐】UNIX编程艺术 The Art of UNIX Programming
- POJ3650纯备忘
- UVa 401 Palindromes (字符串匹配)
- 获取图片缩略图和视频缩略图
- linux查找目录下的所有文件中是否含有某个字符串
- Core Animation学习之anchorPoint
- 用C语言给指定的内存地址赋值(通过指针)
- java大数
- Linux设备模型之platform总线
- java类反射机制
- TCP协议三次握手过程分析
- U-boot的启动过程分析
- Shell脚本语法
- H264 编码详解(转)