/**
* @constructor
*/
function XUITextVerbatim() {
}
XUITextVerbatim.prototype = {
//接口
/**
* 滚动条样式
* @param {Number} nWidth 滚动条宽度
* @param {Number} nTrackR 轨道圆角
* @param {Number} nThumbR 滑块圆角
* @param {Number} nButtonH 按钮高度
* @param {Number} nButtonR 按钮圆角
* @property {Collection} ScrollBarFacade [8,10,10,0,0]
*/
SetScrollBarFacade:function (nWidth,nTrackR,nThumbR,nButtonH,nButtonR) {
},
/**
* 滚动条颜色
* @param {Number} bgColor 背景色
* @param {Number} trackColor 轨道颜色
* @param {Number} ThumbColor 滑块颜色
* @param {Number} ButtonColor 按钮颜色
* @property {Collection} SetScrollBarColor ["0x0000ff00","0x0000ff00","0xff1e4952","0x0000ff00"]
*/
SetScrollBarColor:function (bgColor,trackColor,ThumbColor,ButtonColor) {
},
/**
* 设置光标
* @param {String} strCursor 光标
* @property {String} Cursor "|"
*/
SetCursor:function (strCursor) {
},
/**
* 是否颜色绘制
* @param {Boolean} bColor 是否颜色绘制
* @property {Boolean} DrawColor true
*/
IsDrawColor:function (bColor) {
},
/**
* 获取是否颜色绘制
* @return {Boolean}
*/
GetDrawColor:function () {
},
/**
* 设置背景色
* @param {String} strColor 背景色
* @property {Color} BgColor "0xffffffff"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 获取背景色
* @return {String}
*/
GetBackgroundColor:function () {
},
/**
* 设置背景图片
* @param {String} strImage 背景图片
* @property {String} BackgroundImage ""
*/
SetBackgroundImage:function (strImage) {
},
/**
* 获取背景图片
* @return {String}
*/
GetBackgroundImage:function () {
},
/**
* 图片绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
/**
* 获取图片绘制模式
* @return {String}
*/
GetPicModel:function () {
},
/**
* 设置文字颜色
* @param {String} strColor 文字颜色
* @property {Color} TextColor "0xff000000"
*/
SetTextColor:function (strColor) {
},
/**
* 获取文字颜色
* @return {String}
*/
GetTextColor:function () {
},
/**
* 设置文字大小
* @param {Number} nSize 文字大小
* @property {Number} Textsize 16
*/
SetTextsize:function (nSize) {
},
/**
* 获取文字大小
* @return {Number}
*/
GetTextsize:function () {
},
/**
* 设置文字行间距
* @param {Number} nLineHeight 文字行间距
* @property {Number} TextLineHeight 25
*/
SetTextLineHeight:function (nLineHeight) {
},
/**
* 获取文字行间距
* @return {Number}
*/
GetTextLineHeight:function () {
},
/**
* 设置文字字间距
* @param {Number} nLetterSpacing 文字字间距
* @property {Number} TextLetterSpacing 4
*/
SetTextLetterSpacing:function (nLetterSpacing) {
},
/**
* 获取文字字间距
* @return {Number}
*/
GetTextLetterSpacing:function () {
},
/**
* 是否首行缩进
* @param {Boolean} bIndent 是否首行缩进
* @property {Boolean} TextIndent false
*/
SetTextIndent:function (bIndent) {
},
/**
* 获取是否首行缩进
* @return {Boolean}
*/
GetTextIndent:function () {
},
/**
* 首行缩进字数
* @param {Number} nTextIndentNumber 首行缩进字数
* @property {Number} TextIndentNumber 2
*/
SetTextIndentNumber:function (nTextIndentNumber) {
},
/**
* 获取首行缩进字数
* @return {Number}
*/
GetTextIndentNumber:function () {
},
/**
* 设置边距
* @param {Number} nPadding 边距
* @property {Number} TextPadding 10
*/
SetTextPadding:function (nPadding) {
},
/**
* 获取边距
* @return {Number}
*/
GetTextPadding:function () {
},
/**
* 容器边框颜色
* @param {String} strColor 容器边框颜色
* @property {Color} TextDivBorderColor "0xff000000"
*/
SetTextDivBorderColor:function (strColor) {
},
/**
* 获取边框颜色
* @return {String}
*/
GetTextDivBorderColor:function () {
},
/**
* 容器边框类型
* @param {String} strStyle 容器边框类型
* @property {Combo} TextDivBorderStyle ["solid","dashed"]
*/
SetTextDivBorderStyle:function (strStyle) {
},
/**
* 获取边框类型
* @return {String}
*/
GetTextDivBorderStyle:function () {
},
/**
* 容器边框宽度
* @param {Number} nWidth 容器边框宽度
* @property {Number} TextDivBorderWidth 1
*/
SetTextDivBorderWidth:function (nWidth) {
},
/**
* 获取边框宽度
* @return {Number}
*/
GetTextDivBorderWidth:function () {
},
/**
* 设置文字内容
* @param {String} strContent 文字内容
* @property {String} TextContent "test"
*/
SetTextContent:function (strContent) {
},
/**
* 获取文字内容
* @return {String}
*/
GetTextContent:function () {
},
/**
* 设置显示速度
* @param {Number} nSpeed 显示速度
* @property {Number} LoadSpeed 20
*/
SetLoadSpeed:function (nSpeed) {
},
/**
* 获取显示速度
* @return {Number}
*/
GetLoadSpeed:function () {
},
}