XUILucencyAnnular()

Methods

FoldAnimation(nDuration1, nDuration2)

折叠动效
Parameters:
Name Type Description
nDuration1 Number 动效时间1
nDuration2 Number 动效时间2

IgnoreEvents(bIgnore)

穿透鼠标事件
Parameters:
Name Type Description
bIgnore Boolean 穿透鼠标事件

SetAnnulusColor(strColor)

设置中心圆环颜色
Parameters:
Name Type Description
strColor String 颜色
Properties:
Name Type Description
AnnulusColor Color ""

SetImageResource(strImage)

设置图片资源
Parameters:
Name Type Description
strImage ImageProp 资源
Properties:
Name Type Description
ImageResource ImageProp "images/bg_centerronud.png"

SetInitGifResource(strGifRes)

设置初始Gif资源
Parameters:
Name Type Description
strGifRes ImageProp 资源
Properties:
Name Type Description
InitGifResource ImageProp "images/earth_green.gif"

SetInitialMode(nMode)

设置初始模式
Parameters:
Name Type Description
nMode Number 0:折叠、1:展开

SetOverGifResource(strGifRes)

设置切换后Gif资源
Parameters:
Name Type Description
strGifRes ImageProp 资源
Properties:
Name Type Description
OverGifResource ImageProp "images/earth_yellow.gif"

SetReadyGifResource(strGifRes)

设置待切换Gif资源
Parameters:
Name Type Description
strGifRes ImageProp 资源
Properties:
Name Type Description
ReadyGifResource ImageProp "images/earth_red.gif"

SetScale(nScale)

设置缩放比例
Parameters:
Name Type Description
nScale Double 缩放比例

SetTopImageResource(strImage)

设置上层图片资源
Parameters:
Name Type Description
strImage ImageProp 资源
Properties:
Name Type Description
TopImageResource ImageProp "images/bg_centerround_top.png"

UnfoldAnimation(nDelayTime, nDuration1, nDuration2)

展开动效
Parameters:
Name Type Description
nDelayTime Number 延时时间
nDuration1 Number 动效时间1
nDuration2 Number 动效时间2