AR_Engine_SDK
Functions | Variables
XUIRichText.lua File Reference
类 XUIRichElement 继承关系图:
Inheritance graph
类 XUIRichElementText 继承关系图:
Inheritance graph
类 XUIRichElementImage 继承关系图:
Inheritance graph
类 XUIRichElementCustomNode 继承关系图:
Inheritance graph
类 XUIRichElementNewLine 继承关系图:
Inheritance graph
类 XUIRichText 继承关系图:
Inheritance graph

Functions

function XUIRichElement new () end
 
function XUIRichElement GetType () end
 
function XUIRichElement Init (tag, color) end
 
function XUIRichElement EqualType (type) end
 
function XUIRichElement SetColor (color) end
 
function XUIRichElement Clone () end
 
function XUIRichElementText Init (tag, color, strText, strfontName, fFontSize, nflags) end
 
function XUIRichElementText Init (tag, color, strText, strfontName, fFontSize, nflags, outlineColor, nOutlineSize) end
 
function XUIRichElementText Init (tag, color, strText, strfontName, fFontSize, nflags, outlineColor, nOutlineSize, shadowColor) end
 
function XUIRichElementText Init (tag, color, strText, strfontName, fFontSize, nflags, outlineColor, nOutlineSize, shadowColor, vShadowOffset, nShadowBlurRadius) end
 
function XUIRichElementText Init (tag, color, strText, strfontName, fFontSize, nflags, outlineColor, nOutlineSize, shadowColor, vShadowOffset, nShadowBlurRadius, glowColor) end
 
function XUIRichElementText Init2 (tag, color, strText, strfontName, fFontSize, outlineColor, nOutlineSize, LowerColor, UpperColor, horizontalAlig, verticalAlig) end
 
function XUIRichElementText Init3 (tag, strText, _TextProperty) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize, nflags) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize, nflags, outlineColor, nOutlineSize) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize, nflags, outlineColor, nOutlineSize, shadowColor) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize, nflags, outlineColor, nOutlineSize, shadowColor, vShadowOffset, nShadowBlurRadius) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize, nflags, outlineColor, nOutlineSize, shadowColor, vShadowOffset, nShadowBlurRadius, glowColor) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize, outlineColor, nOutlineSize) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize, outlineColor, nOutlineSize, LowerColor) end
 
function XUIRichElementText Create (tag, color, strText, strfontName, fFontSize, outlineColor, nOutlineSize, LowerColor, UpperColor, horizontalAlig, verticalAlig) end
 
function XUIRichElementText Create (tag, strText, _TextProperty) end
 
function XUIRichElementImage Init (tag, color, filePath, eTexType) end
 
function XUIRichElementImage Init (tag, color, pImage) end
 
function XUIRichElementImage Create (tag, color, filePath, eTexType) end
 
function XUIRichElementImage Create (tag, color, pImage) end
 
function XUIRichElementImage SetWidth (nWidth) end
 
function XUIRichElementImage SetHeight (nHeight) end
 
function XUIRichElementImage GetImage () end
 
function XUIRichElementCustomNode Init (nTag, color, pNode) end
 
function XUIRichElementCustomNode Create (nTag, color, pNode) end
 
function XUIRichElementNewLine Create (nTag, color) end
 
function XUIRichText Create () end
 
function XUIRichText SetRichText (richtextstr) end
 
function XUIRichText GetRichText () end
 
function XUIRichText SetContentSize (vContentSize) end
 
function XUIRichText InsertElement (pElement, nIndex) end
 
function XUIRichText AddElement (pElement) end
 
function XUIRichText RemoveElement (nIndex, bClean) end
 
function XUIRichText RemoveElement (pElement, bClean) end
 
function XUIRichText GetRichTextElement (nIndex) end
 
function XUIRichText NewLine () end
 
function XUIRichText GetElementsNum () end
 
function XUIRichText SetVerticalSpace (fSpace) end
 
function XUIRichText GetVerticalSpace () end
 
function XUIRichText SetWrapMode (eWrapMode) end
 
function XUIRichText GetWrapMode () end
 
function XUIRichText SetVAlignmentInLine (eAlignment) end
 
function XUIRichText GetVAlignmentInLine () end
 
function XUIRichText SetTextColor (clr) end
 
function XUIRichText GetTextColor () end
 
function XUIRichText SetTextUpperColor (clr) end
 
function XUIRichText GetTextUpperColor () end
 
function XUIRichText SetTextLowerColor (clr) end
 
function XUIRichText GetTextLowerColor () end
 
function XUIRichText SetTextPointSize (fPointSize) end
 
function XUIRichText GetTextPointSize () end
 
function XUIRichText SetHAlignMent (hAlign) end
 
function XUIRichText SetVAlignMent (vAlign) end
 
function XUIRichText GetHAlignment () end
 
function XUIRichText GetVAlignment () end
 
function XUIRichText SetOutlineColor (clrOutLine) end
 
function XUIRichText GetOutlineColor () end
 
function XUIRichText SetOutlineSize (nOutlineSize) end
 
function XUIRichText GetOutlineSize () end
 
function XUIRichText SetAdditionalKerning (fAdditionalKerning) end
 
function XUIRichText GetAdditionalKerning () end
 
function XUIRichText SetTTFFontPath (strPath) end
 
function XUIRichText GetTTFFontPath () end
 
function XUIRichText IsSaveRichTextStr () end
 
function XUIRichText SetSaveRichTextStr (bsave) end
 
function XUIRichText FormatText () end
 
function XUIRichText GetActualSize () end
 

Variables

 XUIRichElement = {}
 
XUIRichElement XUI_TEXT = 0
 
XUIRichElement XUI_IMAGE = 0
 
XUIRichElement XUI_CUSTOM = 0
 
XUIRichElement XUI_NEWLINE = 0
 

Function Documentation

◆ AddElement()

function XUIRichText AddElement ( pElement  )

添加一个RichElement

Parameters
pElementXUIRichElement 要添加的RichElement
Returns
void

◆ Clone()

function XUIRichElement Clone ( )

克隆一个富文本元素,并返回新得到的元素指针

Returns
XUIRichElement

◆ Create() [1/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags   
)

XUIRichElementText_Create00

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
Returns
XUIRichElementText

◆ Create() [2/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags  ,
outlineColor  ,
nOutlineSize   
)

XUIRichElementText_Create01

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
outlineColorXCOLORBASE
nOutlineSizenumber
Returns
XUIRichElementText

◆ Create() [3/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags  ,
outlineColor  ,
nOutlineSize  ,
shadowColor   
)

XUIRichElementText_Create02

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
outlineColorXCOLORBASE
nOutlineSizenumber
shadowColorXCOLORBASE
Returns
XUIRichElementText

◆ Create() [4/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags  ,
outlineColor  ,
nOutlineSize  ,
shadowColor  ,
vShadowOffset  ,
nShadowBlurRadius   
)

通过多个变量创建一个XUIRichElementImage类

Parameters
tagnumber 标签值
colorXCOLORBASE 颜色
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
outlineColorXCOLORBASE
nOutlineSizenumber
shadowColorXCOLORBASE
vShadowOffsetXVECTOR2
nShadowBlurRadiusnumber
Returns
XUIRichElementText 创建的指针

◆ Create() [5/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags  ,
outlineColor  ,
nOutlineSize  ,
shadowColor  ,
vShadowOffset  ,
nShadowBlurRadius  ,
glowColor   
)

通过多个变量创建一个XUIRichElementImage类

Parameters
tagnumber 标签值
colorXCOLORBASE 颜色
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
outlineColorXCOLORBASE
nOutlineSizenumber
shadowColorXCOLORBASE
vShadowOffsetXVECTOR2
nShadowBlurRadiusnumber
glowColorXCOLORBASE
Returns
XUIRichElementText 创建的指针

◆ Create() [6/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize   
)

XUIRichElementText_Create05

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
Returns
XUIRichElementText

◆ Create() [7/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
outlineColor  ,
nOutlineSize   
)

XUIRichElementText_Create06

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
outlineColorXCOLORBASE
nOutlineSizenumber
Returns
XUIRichElementText

◆ Create() [8/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
outlineColor  ,
nOutlineSize  ,
LowerColor   
)

创建并返回一个空的控件实例的指针

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
outlineColorXCOLORBASE
nOutlineSizenumber
LowerColorXCOLORBASE
Returns
XUIRichElementText 控件指针

◆ Create() [9/15]

function XUIRichElementText Create ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
outlineColor  ,
nOutlineSize  ,
LowerColor  ,
UpperColor  ,
horizontalAlig  ,
verticalAlig   
)

XUIRichElementText_Create08

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
outlineColorXCOLORBASE
nOutlineSizenumber
LowerColorXCOLORBASE
UpperColorXCOLORBASE
horizontalAlignumber
verticalAlignumber
Returns
XUIRichElementText

◆ Create() [10/15]

function XUIRichElementText Create ( tag  ,
strText  ,
_TextProperty   
)

XUIRichElementText_Create09

Parameters
tagnumber
strTextstring
_TextPropertyXUITextFormat
Returns
XUIRichElementText

◆ Create() [11/15]

function XUIRichElementImage Create ( tag  ,
color  ,
filePath  ,
eTexType   
)

XUIRichElementImage_Create00

Parameters
tagnumber
colorXCOLORBASE
filePathstring
eTexTypenumber
Returns
XUIRichElementImage

◆ Create() [12/15]

function XUIRichElementImage Create ( tag  ,
color  ,
pImage   
)

XUIRichElementImage_Create01

Parameters
tagnumber
colorXCOLORBASE
pImageXUIImage
Returns
XUIRichElementImage

◆ Create() [13/15]

function XUIRichElementCustomNode Create ( nTag  ,
color  ,
pNode   
)

XUIRichElementCustomNode_Create00

Parameters
nTagnumber
colorXCOLORBASE
pNodeXUINode
Returns
XUIRichElementCustomNode

◆ Create() [14/15]

function XUIRichElementNewLine Create ( nTag  ,
color   
)

XUIRichElementNewLine_Create00

Parameters
nTagnumber
colorXCOLORBASE
Returns
XUIRichElementNewLine

◆ Create() [15/15]

function XUIRichText Create ( )

XUIRichText_Create00

Returns
XUIRichText

◆ EqualType()

function XUIRichElement EqualType ( type  )

判断当前富文本元素是否是type类型的富文本元素

Parameters
typenumber
Returns
boolean 返回是否为传入参数类型的富文本元素。

◆ FormatText()

function XUIRichText FormatText ( )

重新排列所有的RichElement。 常内部调用

Returns
void

◆ GetActualSize()

function XUIRichText GetActualSize ( )

获取实际大小

Returns
XVECTOR2 实际大小

◆ GetAdditionalKerning()

function XUIRichText GetAdditionalKerning ( )

获取文本的字间距, 仅TTF文字支持

Returns
number

◆ GetElementsNum()

function XUIRichText GetElementsNum ( )

获取所有元素数目

Returns
number

◆ GetHAlignment()

function XUIRichText GetHAlignment ( )

获取文本水平对齐方式

Returns
number 水平对齐方式

◆ GetImage()

function XUIRichElementImage GetImage ( )

XUIRichElementImage_GetImage00

Returns
XUIImage

◆ GetOutlineColor()

function XUIRichText GetOutlineColor ( )

获取文本描边颜色

Returns
XCOLORBASE 返回描边颜色

◆ GetOutlineSize()

function XUIRichText GetOutlineSize ( )

获取文本描边宽度

Returns
number 返回描边颜色

◆ GetRichText()

function XUIRichText GetRichText ( )

XUIRichText_GetRichText00

Returns
string

◆ GetRichTextElement()

function XUIRichText GetRichTextElement ( nIndex  )

获取指定索引的RichElement 不存在,返回nullptr

Parameters
nIndexnumber 指定的索引
Returns
XUIRichElement

◆ GetTextColor()

function XUIRichText GetTextColor ( )

获取文本颜色

Returns
XCOLORBASE 返回文本颜色

◆ GetTextLowerColor()

function XUIRichText GetTextLowerColor ( )

获取文本渐变颜色-下层颜色

Returns
XCOLORBASE 返回文本下层颜色

◆ GetTextPointSize()

function XUIRichText GetTextPointSize ( )

获取字体大小

Returns
number

◆ GetTextUpperColor()

function XUIRichText GetTextUpperColor ( )

获取文本渐变颜色-上层颜色

Returns
XCOLORBASE 返回文本上层颜色

◆ GetTTFFontPath()

function XUIRichText GetTTFFontPath ( )

XUIRichText_GetTTFFontPath00

Returns
string

◆ GetType()

function XUIRichElement GetType ( )

获取类型

Returns
string

◆ GetVAlignment()

function XUIRichText GetVAlignment ( )

获取文本垂直对齐方式

Returns
number 垂直对齐方式

◆ GetVAlignmentInLine()

function XUIRichText GetVAlignmentInLine ( )

XUIRichText_GetVAlignmentInLine00

Returns
number

◆ GetVerticalSpace()

function XUIRichText GetVerticalSpace ( )

XUIRichText_GetVerticalSpace00

Returns
number

◆ GetWrapMode()

function XUIRichText GetWrapMode ( )

XUIRichText_GetWrapMode00

Returns
number

◆ Init() [1/9]

function XUIRichElement Init ( tag  ,
color   
)

通过不同的参数初始化一个富文本元素

Parameters
tagnumber 标签值
colorXCOLORBASE 颜色
Returns
boolean

◆ Init() [2/9]

function XUIRichElementText Init ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags   
)

通过不同的参数初始化一个富文本元素

Parameters
tagnumber 标签值
colorXCOLORBASE 颜色
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
Returns
boolean

◆ Init() [3/9]

function XUIRichElementText Init ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags  ,
outlineColor  ,
nOutlineSize   
)

XUIRichElementText_Init01

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
outlineColorXCOLORBASE
nOutlineSizenumber
Returns
boolean

◆ Init() [4/9]

function XUIRichElementText Init ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags  ,
outlineColor  ,
nOutlineSize  ,
shadowColor   
)

通过多个变量初始化一个XUIRichElementImage类

Parameters
tagnumber 标签值
colorXCOLORBASE 颜色
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
outlineColorXCOLORBASE
nOutlineSizenumber
shadowColorXCOLORBASE
Returns
boolean 是否成功

◆ Init() [5/9]

function XUIRichElementText Init ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags  ,
outlineColor  ,
nOutlineSize  ,
shadowColor  ,
vShadowOffset  ,
nShadowBlurRadius   
)

通过多个变量初始化一个XUIRichElementImage类

Parameters
tagnumber 标签值
colorXCOLORBASE 颜色
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
outlineColorXCOLORBASE
nOutlineSizenumber
shadowColorXCOLORBASE
vShadowOffsetXVECTOR2
nShadowBlurRadiusnumber
Returns
boolean 是否成功

◆ Init() [6/9]

function XUIRichElementText Init ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
nflags  ,
outlineColor  ,
nOutlineSize  ,
shadowColor  ,
vShadowOffset  ,
nShadowBlurRadius  ,
glowColor   
)

XUIRichElementText_Init04

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
nflagsnumber
outlineColorXCOLORBASE
nOutlineSizenumber
shadowColorXCOLORBASE
vShadowOffsetXVECTOR2
nShadowBlurRadiusnumber
glowColorXCOLORBASE
Returns
boolean

◆ Init() [7/9]

function XUIRichElementImage Init ( tag  ,
color  ,
filePath  ,
eTexType   
)

通过不同的参数初始化一个富文本元素

Parameters
tagnumber 标签值
colorXCOLORBASE 颜色
filePathstring
eTexTypenumber
Returns
boolean

◆ Init() [8/9]

function XUIRichElementImage Init ( tag  ,
color  ,
pImage   
)

XUIRichElementImage_Init01

Parameters
tagnumber
colorXCOLORBASE
pImageXUIImage
Returns
boolean

◆ Init() [9/9]

function XUIRichElementCustomNode Init ( nTag  ,
color  ,
pNode   
)

通过不同的参数初始化一个富文本元素

Parameters
nTagnumber
colorXCOLORBASE 颜色
pNodeXUINode
Returns
boolean

◆ Init2()

function XUIRichElementText Init2 ( tag  ,
color  ,
strText  ,
strfontName  ,
fFontSize  ,
outlineColor  ,
nOutlineSize  ,
LowerColor  ,
UpperColor  ,
horizontalAlig  ,
verticalAlig   
)

XUIRichElementText_Init200

Parameters
tagnumber
colorXCOLORBASE
strTextstring
strfontNamestring
fFontSizenumber
outlineColorXCOLORBASE
nOutlineSizenumber
LowerColorXCOLORBASE
UpperColorXCOLORBASE
horizontalAlignumber
verticalAlignumber
Returns
boolean

◆ Init3()

function XUIRichElementText Init3 ( tag  ,
strText  ,
_TextProperty   
)

XUIRichElementText_Init300

Parameters
tagnumber
strTextstring
_TextPropertyXUITextFormat
Returns
boolean

◆ InsertElement()

function XUIRichText InsertElement ( pElement  ,
nIndex   
)

在指定位置插入一个RichElement

Parameters
pElementXUIRichElement 插入的RichElement
nIndexnumber 指定位置
Returns
void

◆ IsSaveRichTextStr()

function XUIRichText IsSaveRichTextStr ( )

XUIRichText_IsSaveRichTextStr00

Returns
boolean

◆ new()

function XUIRichElement new ( )

XUIRichElement_new00

Returns
XUIRichElement

XUIRichElementText_new00

Returns
XUIRichElementText

XUIRichElementImage_new00

Returns
XUIRichElementImage

XUIRichElementCustomNode_new00

Returns
XUIRichElementCustomNode

XUIRichElementNewLine_new00

Returns
XUIRichElementNewLine

XUIRichText_new00

Returns
XUIRichText

◆ NewLine()

function XUIRichText NewLine ( )

在富文本中新启一行,相当于加了个'
'

Returns
void

◆ RemoveElement() [1/2]

function XUIRichText RemoveElement ( nIndex  ,
bClean   
)

删除指定索引的RichElement

Parameters
nIndexnumber 指定的索引
bCleanboolean
Returns
void

◆ RemoveElement() [2/2]

function XUIRichText RemoveElement ( pElement  ,
bClean   
)

删除指定的RichElement

Parameters
pElementXUIRichElement 指定的元素指针
bCleanboolean
Returns
void

◆ SetAdditionalKerning()

function XUIRichText SetAdditionalKerning ( fAdditionalKerning  )

获取文本描边宽度 设置文本的字间距, 仅TTF文字支持

Parameters
fAdditionalKerningnumber 字间距值
Returns
void 返回描边颜色

◆ SetColor()

function XUIRichElement SetColor ( color  )

设置颜色

Parameters
colorXCOLORBASE
Returns
void

◆ SetContentSize()

function XUIRichText SetContentSize ( vContentSize  )

设置节点的大小。 contentSize依然是相同的,无论节点是缩放或者旋转。 所有的节点都有大小。图层和场景有相同的屏幕大小。

Parameters
vContentSizeXVECTOR2 未转换节点的大小
Returns
void

◆ SetHAlignMent()

function XUIRichText SetHAlignMent ( hAlign  )

设置文本水平对齐方式

Parameters
hAlignnumber 水平对齐
Returns
void

◆ SetHeight()

function XUIRichElementImage SetHeight ( nHeight  )

设置高度

Parameters
nHeightnumber
Returns
void

◆ SetOutlineColor()

function XUIRichText SetOutlineColor ( clrOutLine  )

设置文本描边颜色

Parameters
clrOutLineXCOLORBASE 描边颜色
Returns
void

◆ SetOutlineSize()

function XUIRichText SetOutlineSize ( nOutlineSize  )

设置文本描边宽度

Parameters
nOutlineSizenumber
Returns
void

◆ SetRichText()

function XUIRichText SetRichText ( richtextstr  )

设置富文本字符串

Parameters
richtextstrstring 富文本
Returns
void

◆ SetSaveRichTextStr()

function XUIRichText SetSaveRichTextStr ( bsave  )

XUIRichText_SetSaveRichTextStr00

Parameters
bsaveboolean
Returns
void

◆ SetTextColor()

function XUIRichText SetTextColor ( clr  )

设置文本颜色

Parameters
clrXCOLORBASE 文本颜色
Returns
void

◆ SetTextLowerColor()

function XUIRichText SetTextLowerColor ( clr  )

设置文本渐变颜色-下层颜色

Parameters
clrXCOLORBASE 文本下层颜色
Returns
void

◆ SetTextPointSize()

function XUIRichText SetTextPointSize ( fPointSize  )

设置字体大小

Parameters
fPointSizenumber
Returns
void

◆ SetTextUpperColor()

function XUIRichText SetTextUpperColor ( clr  )

设置文本渐变颜色-上层颜色

Parameters
clrXCOLORBASE 文本上层颜色
Returns
void

◆ SetTTFFontPath()

function XUIRichText SetTTFFontPath ( strPath  )

更改字体

Parameters
strPathstring
Returns
void

◆ SetVAlignMent()

function XUIRichText SetVAlignMent ( vAlign  )

设置文本垂直对齐方式

Parameters
vAlignnumber 垂直对齐
Returns
void

◆ SetVAlignmentInLine()

function XUIRichText SetVAlignmentInLine ( eAlignment  )

XUIRichText_SetVAlignmentInLine00

Parameters
eAlignmentnumber
Returns
void

◆ SetVerticalSpace()

function XUIRichText SetVerticalSpace ( fSpace  )

设置每个RichElement的垂直间隔

Parameters
fSpacenumber 间隔值
Returns
void

◆ SetWidth()

function XUIRichElementImage SetWidth ( nWidth  )

设置宽度

Parameters
nWidthnumber
Returns
void

◆ SetWrapMode()

function XUIRichText SetWrapMode ( eWrapMode  )

XUIRichText_SetWrapMode00

Parameters
eWrapModenumber
Returns
void

Variable Documentation

◆ XUI_CUSTOM

XUIRichElement XUI_CUSTOM = 0

◆ XUI_IMAGE

XUIRichElement XUI_IMAGE = 0

◆ XUI_NEWLINE

XUIRichElement XUI_NEWLINE = 0

◆ XUI_TEXT

XUIRichElement XUI_TEXT = 0

◆ XUIRichElement