|
Axmol 3.0.0-89d6d9a
|
Rich text element base class. More...
#include <RichText.h>
Inherits Object.
Inherited by RichElementCustomNode, RichElementImage, RichElementNewLine, and RichElementText.
Public Types | |
| enum class | Type { TEXT , IMAGE , CUSTOM , NEWLINE } |
| Rich element type. More... | |
Public Member Functions | |
| bool | init (int tag, const Color32 &color) |
| Initialize a rich element with different arguments. | |
| Public Member Functions inherited from Object | |
| void | retain () |
| Retains the ownership. | |
| void | release () |
| Releases the ownership immediately. | |
| Object * | autorelease () |
| Releases the ownership sometime soon automatically. | |
| unsigned int | getReferenceCount () const |
| Returns the Object's current reference count. | |
| uint64_t | getObjectID () const noexcept |
| Returns the process-local diagnostic identifier assigned at construction. | |
| virtual | ~Object () |
| Destructor. | |
Rich text element base class.
It defines the basic common properties for all rich text element.
|
strong |
| bool init | ( | int | tag, |
| const Color32 & | color ) |
Initialize a rich element with different arguments.
| tag | A integer tag value. |
| color | A color in |