Class ccui.RichElementCustomNode

Class Summary
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
    Parameters:
    {Number} tag
    {cc.Color} color
    {Number} opacity
    {cc.Node} customNode