/**
* @constructor
*/
function XUIChangeColorRingProgressBar() {
}
XUIChangeColorRingProgressBar.prototype = {
//接口
/**
* 数据
* @param {Number} nData 数据
* @property {Number} Data 25
*/
SetData:function (nData) {
},
/**
* 环的大小
* @param {Number} nInnerSize 内环半径
* @param {Number} nOuterSize 外环半径
* @property {Collection} RingSize [120,200]
*/
SetRingSize:function (nInnerSize,nOuterSize) {
},
/**
* 数据环颜色
* @param {String} strStartColor 起始颜色
* @param {String} strEndColor 结束颜色
* @property {Collection} DataRingColor ["0xff00ffff","0xff0000ff"]
*/
SetDataRingColor:function (strStartColor,strEndColor) {
},
/**
* 数据文本单位
* @param {String} strUnit 单位
* @property {String} DataTextUnit ""
*/
SetDataTextUnit:function (strUnit) {
},
/**
* 数据保留小数
* @param {Number} nDigit 位数
* @property {Number} DataToFixed 0
*/
SetDataToFixed:function (nDigit) {
},
/**
* 数据文本大小
* @param {Number} nSize 文本大小
* @property {Number} DataTextSize 38
*/
SetDataTextSize:function (nSize) {
},
/**
* 数据文本颜色
* @param {String} strColor 文本颜色
* @property {Color} DataTextColor "0xff000000"
*/
SetDataTextColor:function (strColor) {
},
/**
* 显示文本
* @param {Boolean} bShow true显示false隐藏
* @property {Boolean} ShowDataText true
*/
SetShowDataText:function (bShow) {
},
/**
* 是否显示文本
* @return {Boolean}
*/
IsShowDataText:function () {
},
/**
* 文字位置
* @param {Number} nPosX X方向
* @param {Number} nPosY Y方向
* @property {Collection} TextPosition [0,0]
*/
SetTextPosition:function (nPosX,nPosY) {
},
/**
* 背景颜色
* @param {String} strColor 颜色
* @property {Color} BgColor "0x00000000"
*/
SetBgColor:function (strColor) {
},
/**
* 背景图
* @param {ImageProp} strImg 图片
* @property {ImageProp} BgImg ""
*/
SetBgImg:function (strImg) {
},
/**
* 背景图绘制模式
* @param {String} strMode 图片
* @property {Combo} BgImgRepeat ["repeat","no-repeat","repeat-x","repeat-y"]
*/
SetBgImgRepeat:function (strMode) {
},
/**
* 获得数据
* @return {Number}
*/
GetData:function () {
},
/**
* 获得环的大小
* @return {Array}
*/
GetRingSize:function () {
},
/**
* 获得数据环颜色
* @return {Array}
*/
GetDataRingColor:function () {
},
/**
* 获得数据文本单位
* @return {String}
*/
GetDataTextUnit:function () {
},
/**
* 获得数据保留小数
* @return {Number}
*/
GetDataToFixed:function () {
},
/**
* 获得数据文本大小
* @return {Number}
*/
GetDataTextSize:function () {
},
/**
* 获得数据文本颜色
* @return {String}
*/
GetDataTextColor:function () {
},
/**
* 获得文字位置
* @return {Array}
*/
GetTextPosition:function () {
},
/**
* 是否绘制图标背景色
* @param {Boolean} bDraw true背景色,false背景图
* @property {Boolean} DrawBgColor true
*/
SetDrawBgColor:function (bDraw) {
},
/**
* 获取是否绘制图标背景色
* @return {Boolean}
*/
IsDrawBgColor:function () {
},
/**
* 获取背景颜色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 获取背景图
* @return {String}
*/
GetBgImg:function () {
},
/**
* 获取背景图绘制模式
* @return {String}
*/
GetBgImgRepeat:function () {
},
}