|
AR_Engine_SDK
|






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 | 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 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 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 | InsertElement (pElement, nIndex) end |
| function XUIRichText | AddElement (pElement) end |
| function XUIRichText | RemoveElement (nIndex, bClean) end |
| function XUIRichText | RemoveElement (pElement, bClean) end |
| function XUIRichText | NewLine () end |
| function XUIRichText | GetElementsNum () end |
| function XUIRichText | SetVerticalSpace (fSpace) end |
| function XUIRichText | SetWrapMode (eWrapMode) end |
| function XUIRichText | GetWrapMode () end |
| function XUIRichText | SetVAlignmentInLine (eAlignment) end |
| function XUIRichText | GetVAlignmentInLine () 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 XUIRichText AddElement | ( | pElement | ) |
| function XUIRichElement Clone | ( | ) |
克隆一个富文本元素,并返回新得到的元素指针
| function XUIRichElementText Create | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | |||
| ) |
XUIRichElementText_Create00
| tag | number |
| color | XCOLORBASE |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| function XUIRichElementText Create | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | , | ||
| outlineColor | , | ||
| nOutlineSize | |||
| ) |
通过多个变量创建一个XUIRichElementImage类
| tag | number 标签值 |
| color | XCOLORBASE 颜色 |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| outlineColor | XCOLORBASE |
| nOutlineSize | number |
| function XUIRichElementText Create | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | , | ||
| outlineColor | , | ||
| nOutlineSize | , | ||
| shadowColor | |||
| ) |
通过多个变量创建一个XUIRichElementImage类
| tag | number 标签值 |
| color | XCOLORBASE 颜色 |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| outlineColor | XCOLORBASE |
| nOutlineSize | number |
| shadowColor | XCOLORBASE |
| function XUIRichElementText Create | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | , | ||
| outlineColor | , | ||
| nOutlineSize | , | ||
| shadowColor | , | ||
| vShadowOffset | , | ||
| nShadowBlurRadius | |||
| ) |
XUIRichElementText_Create03
| tag | number |
| color | XCOLORBASE |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| outlineColor | XCOLORBASE |
| nOutlineSize | number |
| shadowColor | XCOLORBASE |
| vShadowOffset | XVECTOR2 |
| nShadowBlurRadius | number |
| function XUIRichElementText Create | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | , | ||
| outlineColor | , | ||
| nOutlineSize | , | ||
| shadowColor | , | ||
| vShadowOffset | , | ||
| nShadowBlurRadius | , | ||
| glowColor | |||
| ) |
XUIRichElementText_Create04
| tag | number |
| color | XCOLORBASE |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| outlineColor | XCOLORBASE |
| nOutlineSize | number |
| shadowColor | XCOLORBASE |
| vShadowOffset | XVECTOR2 |
| nShadowBlurRadius | number |
| glowColor | XCOLORBASE |
| function XUIRichElementImage Create | ( | tag | , |
| color | , | ||
| filePath | , | ||
| eTexType | |||
| ) |
XUIRichElementImage_Create00
| tag | number |
| color | XCOLORBASE |
| filePath | string |
| eTexType | number |
| function XUIRichElementImage Create | ( | tag | , |
| color | , | ||
| pImage | |||
| ) |
通过多个变量创建一个XUIRichElementImage类
| tag | number 标签值 |
| color | XCOLORBASE 颜色 |
| pImage | XUIImage |
| function XUIRichElementCustomNode Create | ( | nTag | , |
| color | , | ||
| pNode | |||
| ) |
XUIRichElementCustomNode_Create00
| nTag | number |
| color | XCOLORBASE |
| pNode | XUINode |
| function XUIRichElementNewLine Create | ( | nTag | , |
| color | |||
| ) |
| function XUIRichText Create | ( | ) |
XUIRichText_Create00
| function XUIRichElement EqualType | ( | type | ) |
判断当前富文本元素是否是type类型的富文本元素
| type | number |
| function XUIRichText FormatText | ( | ) |
重新排列所有的RichElement。 常内部调用
| function XUIRichText GetActualSize | ( | ) |
获取实际大小
| function XUIRichText GetElementsNum | ( | ) |
获取所有元素数目
| function XUIRichElement GetType | ( | ) |
获取类型
| function XUIRichText GetVAlignmentInLine | ( | ) |
XUIRichText_GetVAlignmentInLine00
| function XUIRichText GetWrapMode | ( | ) |
XUIRichText_GetWrapMode00
| function XUIRichElement Init | ( | tag | , |
| color | |||
| ) |
| function XUIRichElementText Init | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | |||
| ) |
通过不同的参数初始化一个富文本元素
| tag | number 标签值 |
| color | XCOLORBASE 颜色 |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| function XUIRichElementText Init | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | , | ||
| outlineColor | , | ||
| nOutlineSize | |||
| ) |
XUIRichElementText_Init01
| tag | number |
| color | XCOLORBASE |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| outlineColor | XCOLORBASE |
| nOutlineSize | number |
| function XUIRichElementText Init | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | , | ||
| outlineColor | , | ||
| nOutlineSize | , | ||
| shadowColor | |||
| ) |
通过多个变量初始化一个XUIRichElementImage类
| tag | number 标签值 |
| color | XCOLORBASE 颜色 |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| outlineColor | XCOLORBASE |
| nOutlineSize | number |
| shadowColor | XCOLORBASE |
| function XUIRichElementText Init | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | , | ||
| outlineColor | , | ||
| nOutlineSize | , | ||
| shadowColor | , | ||
| vShadowOffset | , | ||
| nShadowBlurRadius | |||
| ) |
通过多个变量初始化一个XUIRichElementImage类
| tag | number 标签值 |
| color | XCOLORBASE 颜色 |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| outlineColor | XCOLORBASE |
| nOutlineSize | number |
| shadowColor | XCOLORBASE |
| vShadowOffset | XVECTOR2 |
| nShadowBlurRadius | number |
| function XUIRichElementText Init | ( | tag | , |
| color | , | ||
| strText | , | ||
| strfontName | , | ||
| fFontSize | , | ||
| nflags | , | ||
| outlineColor | , | ||
| nOutlineSize | , | ||
| shadowColor | , | ||
| vShadowOffset | , | ||
| nShadowBlurRadius | , | ||
| glowColor | |||
| ) |
XUIRichElementText_Init04
| tag | number |
| color | XCOLORBASE |
| strText | string |
| strfontName | string |
| fFontSize | number |
| nflags | number |
| outlineColor | XCOLORBASE |
| nOutlineSize | number |
| shadowColor | XCOLORBASE |
| vShadowOffset | XVECTOR2 |
| nShadowBlurRadius | number |
| glowColor | XCOLORBASE |
| function XUIRichElementImage Init | ( | tag | , |
| color | , | ||
| filePath | , | ||
| eTexType | |||
| ) |
通过不同的参数初始化一个富文本元素
| tag | number 标签值 |
| color | XCOLORBASE 颜色 |
| filePath | string |
| eTexType | number |
| function XUIRichElementImage Init | ( | tag | , |
| color | , | ||
| pImage | |||
| ) |
| function XUIRichElementCustomNode Init | ( | nTag | , |
| color | , | ||
| pNode | |||
| ) |
| function XUIRichText InsertElement | ( | pElement | , |
| nIndex | |||
| ) |
| function XUIRichElement new | ( | ) |
XUIRichElement_new00
XUIRichElementText_new00
XUIRichElementImage_new00
XUIRichElementCustomNode_new00
XUIRichElementNewLine_new00
XUIRichText_new00
| function XUIRichText NewLine | ( | ) |
在富文本中新启一行,相当于加了个'
'
| function XUIRichText RemoveElement | ( | nIndex | , |
| bClean | |||
| ) |
删除指定索引的RichElement
| nIndex | number 指定的索引 |
| bClean | boolean |
| function XUIRichText RemoveElement | ( | pElement | , |
| bClean | |||
| ) |
| function XUIRichElement SetColor | ( | color | ) |
| function XUIRichElementImage SetHeight | ( | nHeight | ) |
设置高度
| nHeight | number |
| function XUIRichText SetVAlignmentInLine | ( | eAlignment | ) |
XUIRichText_SetVAlignmentInLine00
| eAlignment | number |
| function XUIRichText SetVerticalSpace | ( | fSpace | ) |
设置每个RichElement的垂直间隔
| fSpace | number 间隔值 |
| function XUIRichElementImage SetWidth | ( | nWidth | ) |
设置宽度
| nWidth | number |
| function XUIRichText SetWrapMode | ( | eWrapMode | ) |
XUIRichText_SetWrapMode00
| eWrapMode | number |
| XUIRichElement XUI_CUSTOM = 0 |
| XUIRichElement XUI_IMAGE = 0 |
| XUIRichElement XUI_NEWLINE = 0 |
| XUIRichElement XUI_TEXT = 0 |
| XUIRichElement = {} |
1.8.15