Skip to content

AnimProperty

xu.jingyu edited this page Aug 11, 2020 · 2 revisions

简介 动画类型属性枚举

枚举值

Alpha

透明度:0-1,from(number alpha)

Color

背景色,如from(255, 0, 0, 1)

Position

中心点,from(number x, number y)

PositionX

中心点x,from(number x)

PositionY

中心点y,from(number y)

Scale

x、y方向缩放,from(number x, number y)

ScaleX

x方向缩放,from(number x)

ScaleY

y方向缩放,from(number y)

Rotation

z轴旋转,from(number begin)

RotationX

x轴旋转,from(number begin)

RotationY

y轴旋转,from(number begin)

ContentOffset

滚动视图的内容偏移量,from(number x, number y)

TextColor

Label的文字颜色, from(0, 255, 0, 1)

Clone this wiki locally