Rich element for displaying text. More...
Inherits RichElement.
Public Member Functions | |
| RichElementText () | |
| Default constructor. | |
| ctor () | |
| Default constructor. | |
| new () | |
| Default constructor. | |
| virtual | ~RichElementText () |
| Default destructor. | |
| bool | init (int tag, const Color3B &color, GLubyte opacity, const std::string &text, const std::string &fontName, float fontSize) |
| Initialize a RichElementText with various arguments. More... | |
| var | init ( var tag, var color, var opacity, var text, var fontName, var fontSize) |
| Initialize a RichElementText with various arguments. More... | |
| local | init ( local tag, local color, local opacity, local text, local fontName, local fontSize) |
| Initialize a RichElementText with various arguments. More... | |
Public Member Functions inherited from RichElement | |
| RichElement () | |
| Default constructor. | |
| ctor () | |
| Default constructor. | |
| new () | |
| Default constructor. | |
| virtual | ~RichElement () |
| Default destructor. | |
| bool | init (int tag, const Color3B &color, GLubyte opacity) |
| Initialize a rich element with different arguments. More... | |
| var | init ( var tag, var color, var opacity) |
| Initialize a rich element with different arguments. More... | |
| local | init ( local tag, local color, local opacity) |
| Initialize a rich element with different arguments. More... | |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
| Destructor. More... | |
Static Public Member Functions | |
| static RichElementText * | create (int tag, const Color3B &color, GLubyte opacity, const std::string &text, const std::string &fontName, float fontSize) |
| Create a RichElementText with various arguments. More... | |
Additional Inherited Members | |
Public Types inherited from RichElement | |
| enum | Type |
| Rich element type. | |
Public Attributes inherited from Ref | |
| unsigned int | _ID |
| object id, ScriptSupport need public _ID | |
| int | _luaID |
| Lua reference id. | |
| void * | _scriptObject |
| scriptObject, support for swift | |
Rich element for displaying text.
| bool init | ( | int | tag, |
| const Color3B & | color, | ||
| GLubyte | opacity, | ||
| const std::string & | text, | ||
| const std::string & | fontName, | ||
| float | fontSize | ||
| ) |
Initialize a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
| var init | ( | var | tag, |
| var | color, | ||
| var | opacity, | ||
| var | text, | ||
| var | fontName, | ||
| var | fontSize | ||
| ) |
Initialize a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
| local init | ( | local | tag, |
| local | color, | ||
| local | opacity, | ||
| local | text, | ||
| local | fontName, | ||
| local | fontSize | ||
| ) |
Initialize a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
|
static |
Create a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
|
static |
Create a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
|
static |
Create a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |