/**
* @constructor
*/
function XUILabel() {
}
XUILabel.prototype = {
//接口
/**
* 文本
* @param {String} strText 文本内容
* @property {String} Text "Label"
*/
SetText:function (strText) {
},
/**
* 获取文本
* @return {String} strText 文本内容
*/
GetText:function () {
},
/**
* 指数显示,纯数字文本有效
* @param {Boolean} bExponent 是否指数显示
* @property {Boolean} bExponent false
*/
SetShowExponent:function (bExponent) {
},
/**
* 是否指数显示
* @return {Boolean} 指数显示
*/
IsShowExponent:function () {
},
/**
* 幂数显示,纯数字文本有效
* @param {Boolean} bPower 是否幂数显示
* @property {Boolean} bPower false
*/
SetShowPower:function (bPower) {
},
/**
* 是否幂数显示
* @return {Boolean} 幂数显示
*/
IsShowPower:function () {
},
/**
* 科学计数显示精度,纯数字文本有效
* @param {Number} nPrecision 科学计数显示精度
* @property {Number} nPrecision 3
*/
SetPrecision:function (nPrecision) {
},
/**
* 获取科学计数精度
* @return {Number} 精度
*/
GetPrecision:function () {
},
/**
* 文本颜色
* @param {String} strColor 文字颜色
* @property {Color} TextColor "0xff000000"
*/
SetTextColor:function (strColor) {
},
/**
* 获取文本颜色
* @return {String} 文字颜色
*/
GetTextColor:function () {
},
/**
* 文本大小
* @param {Number} nFontSize 文字大小
* @property {Number} TextSize 20
*/
SetTextSize:function (nFontSize) {
},
/**
* 获取文本字体大小
* @return {Number} nFontSize 文字大小
*/
GetTextSize:function () {
},
/**
* 字体系列
* @param {String} strFontFamily
* @property {String} FontFamily "微软雅黑"
*/
SetFontFamily:function (strFontFamily) {
},
/**
* 获取字体系列
* @return {String} strFontFamily "微软雅黑"
*/
GetFontFamily:function () {
},
/**
* 水平对齐方式
* @param {String} strAlign
* @property {Combo} HorAlign ["center","left","right"]
*/
SetTextHorAlign:function (strAlign) {
},
/**
* 竖直对齐方式
* @param {String} strAlign
* @property {Combo} VerAlign ["middle","top","bottom"]
*/
SetTextVerAlign:function (strAlign) {
},
/**
* 是否换行
* @param {Boolean} bAutoReturn 是否换行
* @property {Boolean} AutoReturn false
*/
SetAutoReturn:function (bAutoReturn) {
},
/**
* 是否换行
* @return {Boolean} 是否换行
*/
IsAutoReturn:function () {
},
/**
* 使用颜色绘制
* @param {Boolean} bDrawColor 使用颜色绘制
* @property {Boolean} DrawColor false
*/
SetDrawColor:function (bDrawColor) {
},
/**
* 是否使用颜色绘制
* @return {Boolean} 是否使用颜色绘制
*/
IsDrawColor:function () {
},
/**
* 背景颜色
* @param {String} strColor 背景颜色
* @property {Color} BgColor "0xffff0000"
*/
SetBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String} 背景颜色
*/
GetBgColor:function () {
},
/**
* 背景图片
* @param {ImageProp} strImage
* @property {ImageProp} BgImage "XUILabel/images/red.png"
*/
SetBgImage:function (strImage) {
},
/**
* 获取背景图片
* @return {String} 背景图片
*/
GetBgImage:function () {
},
/**
* 显示边框
* @param {Boolean} bShowBorder 是否显示边框
* @property {Boolean} ShowBorder false
*/
ShowBorder:function (bShowBorder) {
},
/**
* 是否显示边框
* @return {Boolean}
*/
IsShowBorder:function () {
},
/**
* 边框线宽
* @param {Number} nWidth
* @property {Number} BorderWidth 1
*/
SetBorderWidth:function (nWidth) {
},
/**
* 获取边框线宽
* @return {Number}
*/
GetBorderWidth:function () {
},
/**
* 边框类型
* @param {String} strType
* @property {Combo} BorderType ["solid","dashed","dotted"]
*/
SetBorderType:function (strType) {
},
/**
* 获取边框类型
* @return {String}
*/
GetBorderType:function () {
},
/**
* 边框颜色
* @param {String} strColor
* @property {Color} BorderColor "0xffff0000"
*/
SetBorderColor:function (strColor) {
},
/**
* 获取边框颜色
* @return {String}
*/
GetBorderColor:function () {
},
/**
* 边框圆角
* @param {Number} nRadius
* @property {Number} BorderRadius 0
*/
SetBorderRadius:function (nRadius) {
},
/**
* 获取边框圆角
* @return {Number}
*/
GetBorderRadius:function () {
},
/**
* 穿透鼠标事件
* @param {Boolean} bIgnore 穿透鼠标事件
* @property {Boolean} IgnoreEvents false
*/
IgnoreEvents:function (bIgnore) {
},
/**
* 鼠标样式
* @param {String} cursor 穿透鼠标事件
* @property {Combo} Cursor ["defult","pointer"]
*/
SetCursor:function (cursor) {
},
}