XUIRoundProgress()

Methods

GetBgColor() → {String}

获取背景色
Returns:
String

GetCenterCircleColor() → {String}

获取中心圆颜色
Returns:
String

GetCenterCircleRadius() → {String}

获取中心圆半径
Returns:
String

GetDetailValue() → {Number}

获取数据值
Returns:
Number

GetDetailValueColor() → {String}

获取数据字体颜色
Returns:
String

GetDetailValueShow() → {Boolean}

获取数据显示状态
Returns:
Boolean

GetDetailValueSize() → {Number}

获取数据字体大小
Returns:
Number

GetDetailValueStyle() → {String}

获取数据字体风格
Returns:
String

GetDetailValueWeight() → {String}

获取数据字体粗细
Returns:
String

GetFifthLineColor() → {String}

获取中心圈颜色
Returns:
String

GetFifthLineRadius() → {String}

获取中心圈半径
Returns:
String

GetFifthLineShadowBlur() → {Number}

获取中心圈阴影长度
Returns:
Number

GetFifthLineShadowColor() → {String}

获取中心圈阴影色
Returns:
String

GetFifthLineShow() → {Boolean}

获取中心圈显示状态
Returns:
Boolean

GetFifthLineWidth() → {Number}

获取中心圈宽度
Returns:
Number

GetFirstLineColor() → {String}

获取最外圈轴线颜色
Returns:
String

GetFirstLineShow() → {Boolean}

获取最外圈轴线显示状态
Returns:
Boolean

GetFirstLineWidth() → {Number}

获取最外圈轴线宽度
Returns:
Number

GetFourthLineColor() → {String}

获取底色圈颜色
Returns:
String

GetFourthLineRadius() → {String}

获取底色圈半径
Returns:
String

GetFourthLineShow() → {Boolean}

获取底色圈轴线显示状态
Returns:
Boolean

GetFourthLineWidth() → {Number}

获取底色圈宽度
Returns:
Number

GetSecondLineColor() → {String}

获取刻度圈颜色
Returns:
String

GetSecondLineRadius() → {String}

获取刻度圈半径
Returns:
String

GetSecondLineShow() → {Boolean}

获取刻度圈轴线显示状态
Returns:
Boolean

GetSecondLineSplitColor() → {String}

获取刻度圈分割线颜色
Returns:
String

GetSecondLineSplitLength() → {Number}

获取刻度圈分割线长度
Returns:
Number

GetSecondLineSplitNumber() → {Number}

获取刻度圈分割数
Returns:
Number

GetSecondLineWidth() → {Number}

获取刻度圈宽度
Returns:
Number

GetSecondSplitShow() → {Boolean}

获取刻度圈分隔线显示状态
Returns:
Boolean

GetThirdLineAfterColor() → {String}

获取进度圈运行后颜色
Returns:
String

GetThirdLineBeforeColor() → {String}

获取进度圈运行前颜色
Returns:
String

GetThirdLineRadius() → {String}

获取进度圈半径
Returns:
String

GetThirdLineShow() → {Boolean}

获取进度圈轴线显示状态
Returns:
Boolean

GetThirdLineWidth() → {Number}

获取进度圈宽度
Returns:
Number

GetTitleColor() → {String}

获取标题字体颜色
Returns:
String

GetTitleName() → {String}

获取标题名字
Returns:
String

GetTitleShow() → {Boolean}

获取标题显示状态
Returns:
Boolean

GetTitleSize() → {Number}

获取标题字体大小
Returns:
Number

GetTitleStyle() → {String}

获取标题字体风格
Returns:
String

GetTitleWeight() → {String}

获取标题字体粗细
Returns:
String

SetBgColor(strBgColor)

背景颜色
Parameters:
Name Type Description
strBgColor String 背景颜色
Properties:
Name Type Description
BgColor Color "0xff0A181C"

SetCenterCircleColor(strColor)

中心圆颜色
Parameters:
Name Type Description
strColor String 中心圆颜色
Properties:
Name Type Description
CenterCircleColor Color "0xff031E43"

SetCenterCircleRadius(strRadius)

中心圆半径
Parameters:
Name Type Description
strRadius String 半径大小
Properties:
Name Type Description
CenterCircleRadius String "55%"

SetCtrlBgColor(strBgColor)

背景颜色
Parameters:
Name Type Description
strBgColor String 背景颜色
Properties:
Name Type Description
CtrlBgColor Color "0xff0A181C"

SetCtrlBgImg(strBgImg)

背景图片
Parameters:
Name Type Description
strBgImg ImageProp 背景图片
Properties:
Name Type Description
CtrlBgImg ImageProp "images/bg.png"

SetCurValue(nValue)

当前值
Parameters:
Name Type Description
nValue Number 当前安全率
Properties:
Name Type Description
CurValueRate Number 72

SetDetailValue(nValue)

数据值
Parameters:
Name Type Description
nValue Number 数据值
Properties:
Name Type Description
DetailValue Number 0

SetDetailValueColor(strColor)

数据字体颜色
Parameters:
Name Type Description
strColor String 数据字体颜色
Properties:
Name Type Description
DetailValueColor Color "0xffFFFFFF"

SetDetailValueShow(bShow)

数据是否显示
Parameters:
Name Type Description
bShow Boolean 数据是否显示
Properties:
Name Type Description
DetailValueShow Boolean true

SetDetailValueSize(nFontSize)

数据字体大小
Parameters:
Name Type Description
nFontSize Number 数据字体大小
Properties:
Name Type Description
DetailValueSize Number 40

SetDetailValueStyle(strStyle)

数据字体风格
Parameters:
Name Type Description
strStyle String 数据字体风格
Properties:
Name Type Description
DetailValueStyle Combo ["normal","italic","oblique"]

SetDetailValueWeight(strWeight)

数据字体粗细
Parameters:
Name Type Description
strWeight String 数据字体粗细
Properties:
Name Type Description
DetailValueWeight Combo ["normal","bold","bolder","lighter"]

SetDrawColor(bDrawColor)

背景颜色绘制
Parameters:
Name Type Description
bDrawColor Boolean
Properties:
Name Type Description
BgDrawColor Boolean true

SetFifthLineColor(strColor)

中心圈颜色
Parameters:
Name Type Description
strColor String 中心圈颜色
Properties:
Name Type Description
FifthLineColor Color "0xff007AE6"

SetFifthLineRadius(strRadius)

中心圈半径
Parameters:
Name Type Description
strRadius String 半径大小
Properties:
Name Type Description
FifthLineRadius String "56%"

SetFifthLineShadowBlur(nShadowBlur)

中心圈阴影长度
Parameters:
Name Type Description
nShadowBlur Number 阴影长度
Properties:
Name Type Description
FifthLineShadowBlur Number 10

SetFifthLineShadowColor(strColor)

中心圈阴影色
Parameters:
Name Type Description
strColor String 中心圈阴影色
Properties:
Name Type Description
FifthLineShadowColor Color "0xff007AE6"

SetFifthLineShow(bShow)

中心圈是否显示
Parameters:
Name Type Description
bShow Boolean 中心圈是否显示
Properties:
Name Type Description
FifthLineShow Boolean true

SetFifthLineWidth(nWidth)

中心圈宽度
Parameters:
Name Type Description
nWidth Number 中心圈宽度
Properties:
Name Type Description
FifthLineWidth Number 2

SetFirstLineColor(strColor)

最外圈轴线颜色
Parameters:
Name Type Description
strColor String 轴线颜色
Properties:
Name Type Description
FirstLineColor Color "0xff012659"

SetFirstLineShow(bShow)

最外圈轴线是否显示
Parameters:
Name Type Description
bShow Boolean 轴线是否显示
Properties:
Name Type Description
FirstLineShow Boolean true

SetFirstLineWidth(nWidth)

最外圈轴线宽度
Parameters:
Name Type Description
nWidth Number 轴线宽度
Properties:
Name Type Description
FirstLineWidth Number 2

SetFourthLineColor(strColor)

底色圈颜色
Parameters:
Name Type Description
strColor String 底色圈颜色
Properties:
Name Type Description
FourthLineColor Color "0xff011C46"

SetFourthLineRadius(strRadius)

底色圈半径
Parameters:
Name Type Description
strRadius String 半径大小
Properties:
Name Type Description
FourthLineRadius String "66%"

SetFourthLineShow(bShow)

底色圈轴线是否显示
Parameters:
Name Type Description
bShow Boolean 轴线是否显示
Properties:
Name Type Description
FourthLineShow Boolean true

SetFourthLineWidth(nWidth)

底色圈宽度
Parameters:
Name Type Description
nWidth Number 底色圈宽度
Properties:
Name Type Description
FourthLineWidth Number 12

SetPicModel(strModel)

图片绘制模式
Parameters:
Name Type Description
strModel String 绘制模式
Properties:
Name Type Description
PicModel Combo ["no-repeat","repeat-x","repeat-y","repeat"]

SetSecondLineColor(strColor)

刻度圈颜色
Parameters:
Name Type Description
strColor String 刻度圈颜色
Properties:
Name Type Description
SecondLineColor Color "0xff0160B5"

SetSecondLineRadius(strRadius)

刻度圈半径
Parameters:
Name Type Description
strRadius String 半径大小
Properties:
Name Type Description
SecondLineRadius String "85%"

SetSecondLineShow(bShow)

刻度圈轴线是否显示
Parameters:
Name Type Description
bShow Boolean 轴线是否显示
Properties:
Name Type Description
SecondLineShow Boolean true

SetSecondLineSplitColor(strColor)

刻度圈分割线颜色
Parameters:
Name Type Description
strColor String 分割线颜色
Properties:
Name Type Description
SecondLineSplitColor Color "0xff0160B5"

SetSecondLineSplitLength(nLength)

刻度圈分割线长度
Parameters:
Name Type Description
nLength Number 分割线长度
Properties:
Name Type Description
SecondLineSplitLength Number 15

SetSecondLineSplitNumber(nSplitNumber)

刻度圈分割数
Parameters:
Name Type Description
nSplitNumber Number 刻度圈分割数
Properties:
Name Type Description
SecondLineSplitNumber Number 10

SetSecondLineWidth(nWidth)

刻度圈宽度
Parameters:
Name Type Description
nWidth Number 刻度圈宽度
Properties:
Name Type Description
SecondLineWidth Number 2

SetSecondSplitShow(bShow)

刻度圈分隔线是否显示
Parameters:
Name Type Description
bShow Boolean 分隔线是否显示
Properties:
Name Type Description
SecondSplitShow Boolean true

SetThirdLineColor(strColor1, strColor2)

进度圈颜色
Parameters:
Name Type Description
strColor1 String 运行后颜色
strColor2 String 运行前颜色
Properties:
Name Type Description
ThirdLineColor Collection ["0xff00E1FF","0xff009FFE"]

SetThirdLineRadius(strRadius)

进度圈半径
Parameters:
Name Type Description
strRadius String 半径大小
Properties:
Name Type Description
ThirdLineRadius String "75%"

SetThirdLineShow(bShow)

进度圈轴线是否显示
Parameters:
Name Type Description
bShow Boolean 轴线是否显示
Properties:
Name Type Description
ThirdLineShow Boolean true

SetThirdLineWidth(nWidth)

进度圈宽度
Parameters:
Name Type Description
nWidth Number 进度圈宽度
Properties:
Name Type Description
ThirdLineWidth Number 12

SetTitleColor(strColor)

标题字体颜色
Parameters:
Name Type Description
strColor String 标题字体颜色
Properties:
Name Type Description
TitleColor Color "0xffFFFFFF"

SetTitleName(strName)

标题名字
Parameters:
Name Type Description
strName String 标题名字
Properties:
Name Type Description
TitleName String "风场安全率"

SetTitleShow(bShow)

标题是否显示
Parameters:
Name Type Description
bShow Boolean 标题是否显示
Properties:
Name Type Description
TitleShow Boolean true

SetTitleSize(nFontSize)

标题字体大小
Parameters:
Name Type Description
nFontSize Number 标题字体大小
Properties:
Name Type Description
TitleSize Number 20

SetTitleStyle(strStyle)

标题字体风格
Parameters:
Name Type Description
strStyle String 标题字体风格
Properties:
Name Type Description
TitleStyle Combo ["normal","italic","oblique"]

SetTitleWeight(strWeight)

标题字体粗细
Parameters:
Name Type Description
strWeight String 标题字体粗细
Properties:
Name Type Description
TitleWeight Combo ["normal","bold","bolder","lighter"]