CABasicAnimation animationWithKeyPath 一些规定的值
一些 规定
2023-09-11 14:20:46 时间
CABasicAnimation animationWithKeyPath Types
When using the ‘CABasicAnimation’ from the QuartzCore Framework in Objective-C, you have to specify an animationWithKeyPath. This is a long string and is not easily listed in the CABasicAnimation, CAPropertyAnimation, or the CAAnimation class. I ended up finding a handy chart within the Core Animation Programming guide in Apple’s iPhone OS Reference Library. Hope this helps save someone time, at least it will for me.
我们能够通过animationWithKeyPath键值对的方式来改变动画
animationWithKeyPath的值:
transform.scale = 比例轉換
transform.scale.x = 闊的比例轉換
transform.scale.y = 高的比例轉換
transform.rotation.z = 平面圖的旋轉
opacity = 透明度
margin
zPosition
backgroundColor
cornerRadius
borderWidth
frame
bounds
contents
contentsRect
cornerRadius
hidden
mask
masksToBounds
position
shadowColor
shadowOffset
shadowOpacity
shadowRadius
相关文章
- 一些笔记
- 关于win7下r3窗口进程保护的一些方式
- setTimeout模拟请求,使用async和await改写的一些注意地方
- Mint17 一些安装备忘
- 关于Linux&Melis Kernel Neon使用的一些总结
- 给准备面试软件测试工程师岗位的应届生一些建议
- Django Push 的一些资料
- 《精通移动App测试实战:技术、工具和案例》一1.4 Android相关的一些属性简介
- 一些设计上的常识
- PHP中一些常用知识点
- sqlserver 发布与订阅遇到的一些问题记录
- MapXtreme 2005 学习心得 一些问题(八)
- 【购房必备知识】成都公积金贷款/商业贷款的一些知识记录
- SQL Server管理员专用连接的使用 作为一名DBA,经常会处理一些比较棘手的服务无响应问题,鉴于事态的严重性,多数DBA可能直接用“重启”大法,以便尽快的恢复生产环境的正常运转,但是多数情况