annie.Tween Class
全局静态单列类,不要实例化此类
Methods
- backIn static
- backInOut static
- backOut static
- bounceIn static
- bounceInOut static
- bounceOut static
- circularIn static
- circularInOut static
- circularOut static
- cubicIn static
- cubicInOut static
- cubicOut static
- elasticIn static
- elasticInOut static
- elasticOut static
- exponentialIn static
- exponentialInOut static
- exponentialOut static
- from static
- kill static
- killAll static
- quadraticIn static
- quadraticInOut static
- quadraticOut static
- quarticIn static
- quarticInOut static
- quarticOut static
- quinticIn static
- quinticInOut static
- quinticOut static
- sinusoidalIn static
- sinusoidalInOut static
- sinusoidalOut static
- to static
Properties
Events
Methods
backIn
backIn
(
-
k
)
Number
public
static
backIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
backInOut
backInOut
(
-
k
)
Number
public
static
backInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
backOut
backOut
(
-
k
)
Number
public
static
backOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
bounceIn
bounceIn
(
-
k
)
Number
public
static
bounceIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
bounceInOut
bounceInOut
(
-
k
)
Number
public
static
bounceInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
bounceOut
bounceOut
(
-
k
)
Number
public
static
bounceOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
circularIn
circularIn
(
-
k
)
Number
public
static
circularIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
circularInOut
circularInOut
(
-
k
)
Number
public
static
circularInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
circularOut
circularOut
(
-
k
)
Number
public
static
circularOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
cubicIn
cubicIn
(
-
k
)
Number
public
static
cubicIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
cubicInOut
cubicInOut
(
-
k
)
Number
public
static
cubicInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
cubicOut
cubicOut
(
-
k
)
Number
public
static
cubicOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
elasticIn
elasticIn
(
-
k
)
Number
public
static
elasticIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
elasticInOut
elasticInOut
(
-
k
)
Number
public
static
elasticInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
elasticOut
elasticOut
(
-
k
)
Number
public
static
elasticOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
exponentialIn
exponentialIn
(
-
k
)
Number
public
static
exponentialIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
exponentialInOut
exponentialInOut
(
-
k
)
Number
public
static
exponentialInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
exponentialOut
exponentialOut
(
-
k
)
Number
public
static
exponentialOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
from
from
(
-
target
-
totalFrame
-
data
)
public
static
将target对象从data中指定的属性数值渐变到target属性当前的数值
Parameters:
name | type | flag | description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
target
| Object | ||||||||||||||||||||||||||||||||||||||
totalFrame
| Number | 总时间长度 如果data.useFrame为true 这里就是帧数,如果data.useFrame为false则这里就是时间 | |||||||||||||||||||||||||||||||||||||
data
| Object | 包含target对象的各种数字类型属性及其他一些方法属性
|
killAll
killAll
()
public
static
销毁所有正在运行的Tween对象
quadraticIn
quadraticIn
(
-
k
)
Number
public
static
quadraticIn缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
quadraticInOut
quadraticInOut
(
-
k
)
Number
public
static
quadraticInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
quadraticOut
quadraticOut
(
-
k
)
Number
public
static
quadraticOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
quarticIn
quarticIn
(
-
k
)
Number
public
static
quarticIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
quarticInOut
quarticInOut
(
-
k
)
Number
public
static
quarticInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
quarticOut
quarticOut
(
-
k
)
Number
public
static
quarticOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
quinticIn
quinticIn
(
-
k
)
Number
public
static
quinticIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
quinticInOut
quinticInOut
(
-
k
)
Number
public
static
quinticInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
quinticOut
quinticOut
(
-
k
)
Number
public
static
quinticOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
sinusoidalIn
sinusoidalIn
(
-
k
)
Number
public
static
sinusoidalIn 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
sinusoidalInOut
sinusoidalInOut
(
-
k
)
Number
public
static
sinusoidalInOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
sinusoidalOut
sinusoidalOut
(
-
k
)
Number
public
static
sinusoidalOut 缓动类型
Parameters:
name | type | flag | description |
---|---|---|---|
k
| Number |
Returns:
to
to
(
-
target
-
totalFrame
-
data
)
public
static
将target对象从data中指定的属性数值渐变到target属性当前的数值
Parameters:
name | type | flag | description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
target
| Object | ||||||||||||||||||||||||||||||||||||||
totalFrame
| Number | 总时间长度 如果data.useFrame为true 这里就是帧数,如果data.useFrame为false则这里就是时间 | |||||||||||||||||||||||||||||||||||||
data
| Object | 包含target对象的各种数字类型属性及其他一些方法属性
|