new XUIAnimation()
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 -
SetSource(strSrc)
-
动画资源
Parameters:
Name Type Description strSrc
ImageProp 动画资源 Properties:
Name Type Description Source
ImageProp ""