new Animation(opts)
overlay/app/Animation.js, line 27
构造相关对象
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
动画效果相关参数
|
Classes
Members
-
innerRadius
-
设置/获取动画内圆半径
-
materialType
-
设置/获取材质类型
-
outerRadius
-
设置/获取动画外圆半径
-
position
-
设置/获取动画位置
Methods
-
addToLayer(layer){Animation}
overlay/app/Animation.js, line 141 -
添加指定图层
Name Type Description layer
PrimitiveLayer 图层对象
Returns:
Type Description Animation -
remove()
overlay/app/Animation.js, line 164 -
移出动画效果
-
setStyle(style){Animation}
overlay/app/Animation.js, line 154 -
设置动画样式
Name Type Description style
Object 动画样式
Returns:
Type Description Animation