new XUIAnimationContainer()
Methods
-
IsDrawColor() → {Boolean}
-
是否使用颜色绘制
Returns:
Boolean - 是否使用颜色绘制 -
SetBgColor(strColor)
-
设置背景颜色
Parameters:
Name Type Description strColor
String 背景颜色 Properties:
Name Type Description BgColor
Color "0xffff0000" -
SetBgImage(strImage)
-
设置背景图片
Parameters:
Name Type Description strImage
ImageProp Properties:
Name Type Description BgImage
ImageProp "" -
SetDrawColor(bDrawColor)
-
设置是否使用颜色绘制
Parameters:
Name Type Description bDrawColor
Boolean 使用颜色绘制 Properties:
Name Type Description DrawColor
Boolean true -
SetTransition(strTransition)
-
设置动效
Parameters:
Name Type Description strTransition
String 动效 Properties:
Name Type Description Transition
String "all 2s ease-in"