Rich text element base class.
More...
Inherits Ref.
Inherited by RichElementCustomNode, RichElementImage, and RichElementText.
|
| enum | Type |
| | Rich element type.
|
| |
|
|
| 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...
|
| |
| 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...
|
| |
|
|
unsigned int | _ID |
| | object id, ScriptSupport need public _ID
|
| |
|
int | _luaID |
| | Lua reference id.
|
| |
|
void * | _scriptObject |
| | scriptObject, support for swift
|
| |
Rich text element base class.
It defines the basic common properties for all rich text element.
| bool init |
( |
int |
tag, |
|
|
const Color3B & |
color, |
|
|
GLubyte |
opacity |
|
) |
| |
Initialize a rich element with different arguments.
- Parameters
-
| tag | A integer tag value. |
| color | A color in |
- See also
Color3B.
- Parameters
-
| opacity | A opacity value in GLubyte. |
- Returns
- True if initialize success, false otherwise.
| var init |
( |
var |
tag, |
|
|
var |
color, |
|
|
var |
opacity |
|
) |
| |
Initialize a rich element with different arguments.
- Parameters
-
| tag | A integer tag value. |
| color | A color in |
- See also
Color3B.
- Parameters
-
| opacity | A opacity value in GLubyte. |
- Returns
- True if initialize success, false otherwise.
| local init |
( |
local |
tag, |
|
|
local |
color, |
|
|
local |
opacity |
|
) |
| |
Initialize a rich element with different arguments.
- Parameters
-
| tag | A integer tag value. |
| color | A color in |
- See also
Color3B.
- Parameters
-
| opacity | A opacity value in GLubyte. |
- Returns
- True if initialize success, false otherwise.
The documentation for this class was generated from the following file: