rexseeLayoutStyle
返回手册目录
【函数】void setStyle(String style)
【说明】设置布局样式。
【返回】
【参数】style:样式表。
【示例】
rexseeLayoutStyle.setStyle('margin:10px;padding:10px;border-width:10px;border-color:#FF0000;');
运行示例 恢复

【函数】String getStyle(String name)
【说明】读取布局样式的设置值。
【返回】样式的设置值。
【参数】name:要读取的样式的名称。
【示例】
alert(rexseeLayoutStyle.getStyle('width')+','+rexseeLayoutStyle.getStyle('height'));
运行示例

【函数】String getCurrentStyle(String name)
【说明】读取布局样式的当前值。
【返回】样式的当前值。
【参数】name:要读取的样式的名称。
【示例】
alert(rexseeLayoutStyle.getCurrentStyle('width')+','+rexseeLayoutStyle.getCurrentStyle('height'));
运行示例

【函数】void startAnimation(String style)
【说明】启动布局动画。
【返回】
【参数】style:样式表。
【示例】
rexseeLayoutStyle.startAnimation('animation-type:rotate;animation-duration:1000;animation-repeat-count:1;animation-repeat-mode:reverse;animation-rotate-from:-360;animation-rotate-to:0;');
运行示例

【函数】void stopAnimation()
【说明】停止布局动画。
【返回】
【参数】
返回手册目录