/**
* @constructor
*/
function XUIMultifunctionLegend() {
}
XUIMultifunctionLegend.prototype = {
//接口
/**
* 图标居右或左
* @param {Number} bPos 0是左,1是右
* @property {Number} IconPosition 0
*/
SetIconPosition:function (bPos) {
},
/**
* 获取图标位置
* @return {String}
*/
GetIconPosition:function () {
},
/**
* 图标大小
* @param {Number} nWidth 宽
* @param {Number} nHeight 高
* @property {Collection} ImgSize [10,10]
*/
SetIconSize:function (nWidth,nHeight) {
},
/**
* 获取图标大小
* @return {Array}
*/
GetIconSize:function () {
},
/**
* 文字大小
* @param {Number} nSize 文字大小
* @property {Number} TextSize 16
*/
SetTextSize:function (nSize) {
},
/**
* 获取文字大小
* @return {Number}
*/
GetTextSize:function () {
},
/**
* 文字颜色
* @param {String} strColor 颜色
* @property {Color} TextColor "0xff000000"
*/
SetTextColor:function (strColor) {
},
/**
* 获取文字颜色
* @return {String}
*/
GetTextColor:function () {
},
/**
* 文字位置
* @param {String} strPos 位置
* @property {Combo} TextPosition ["center","left","right"]
*/
SetTextPosition:function (strPos) {
},
/**
* 获取文字位置
* @return {String}
*/
GetTextPosition:function () {
},
/**
* 文字水平内边距
* @param {Number} nPadL 左内边距
* @param {Number} nPadR 右内边距
* @property {Collection} TextHorizontalPadding [0,0]
*/
SetTextHorizontalPadding:function (nPadL,nPadR) {
},
/**
* 获取文字水平内边距
* @return {Array}
*/
GetTextHorizontalPadding:function () {
},
/**
* 是否绘制图标背景色
* @param {Boolean} bDraw true背景色,false背景图
* @property {Boolean} DrawBgColor true
*/
SetDrawColor:function (bDraw) {
},
/**
* 是否绘制图标背景色
* @return {Boolean}
*/
IsDrawColor:function () {
},
/**
* 背景颜色
* @param {String} strColor 颜色
* @property {Color} BgColor ""
*/
SetBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 背景图
* @param {ImageProp} strImage 颜色
* @property {ImageProp} strImage ""
*/
SetBgImage:function (strImage) {
},
/**
* 获取背景图
* @return {String}
*/
GetBgImage:function () {
},
/**
* 图标颜色
* @param {String} strColor 颜色
* @property {Color} IconColor "0xffff0000"
*/
SetIconColor:function (strColor) {
},
/**
* 获取图标颜色
* @return {String}
*/
GetIconColor:function () {
},
/**
* 图标图片
* @param {ImageProp} strImage 颜色
* @property {ImageProp} IconImage ""
*/
SetIconImage:function (strImage) {
},
/**
* 获取图标图片
* @return {String}
*/
GetIconImage:function () {
},
/**
* 图标形状
* @param {String} strShape 形状
* @property {Combo} IconShape ["rect","circle"]
*/
SetIconShape:function (strShape) {
},
/**
* 获取图标背景图
* @return {String}
*/
GetIconShape:function () {
},
/**
* 文本内容
* @param {String} strText 内容
* @property {String} Text "例示文本"
*/
SetText:function (strText) {
},
/**
* 获取文本内容
* @return {String}
*/
GetText:function () {
},
}