Class ccui.RichElementCustomNode
- Defined in: UIRichText.js
- Extends ccui.RichElement
Constructor Attributes | Constructor Name and Description |
---|---|
The custom node element for RichText.
|
Method Summary
Class Detail
ccui.RichElementCustomNode()
The custom node element for RichText.
Method Detail
-
<static> {ccui.RichElementCustomNode} ccui.RichElementCustomNode.create(tag, color, opacity, customNode)Create a richElementCustomNode
- Parameters:
- {Number} tag
- {Number} color
- {Number} opacity
- {cc.Node} customNode
- Deprecated:
- since v3.0, please use new ccui.RichElementCustomNode() instead.
- Returns:
- {ccui.RichElementCustomNode}
-
ctor(tag, color, opacity, customNode)Constructor of ccui.RichElementCustomNode
-
init(tag, color, opacity, customNode)Initializes a ccui.RichElementCustomNode