zsisme
ios核心动画高级技巧

Updated 4 years ago

suidongyang (@suidongyang) started discussion #63

4 years ago · 0 comments

Open

除了+functionWithName:之外,CAMediaTimingFunction同样有另一个构造函数,一个有四个浮点参数的+functionWithControlPoints::::(注意这里奇怪的语法,并没有包含具体每个参数的名称,这在objective-C中是合法的,但是却违反了苹果对方法命名的指导方针,而且看起来是一个奇怪的设计)。

自定义缓冲函数 (Edit this file)

传入两个控制点的x坐标和y坐标的相对值,0—1之间

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant