Class ccui.RichElement
- Defined in: UIRichText.js
- Extends ccui.Class
Constructor Attributes | Constructor Name and Description |
---|---|
ccui.RichElement is the base class of RichElementText, RichElementImage etc.
|
Method Summary
Class Detail
ccui.RichElement()
ccui.RichElement is the base class of RichElementText, RichElementImage etc. It has type, tag, color and opacity attributes.
Field Detail
<static> <constant>
ccui.RichElement.CUSTOM
The custom type of rich element.
<static> <constant>
ccui.RichElement.IMAGE
The image type of rich element.
<static> <constant>
ccui.RichElement.TEXT
The text type of rich element.
Method Detail
-
ctor(tag, color, opacity)Constructor of ccui.RichElement
- Parameters:
- tag
- color
- opacity