-------------------------------- -- @module RichElementText -- @extend RichElement -- @parent_module ccui -------------------------------- -- brief Initialize a RichElementText with various arguments.
-- param tag A integer tag value.
-- param color A color in Color3B.
-- param opacity A opacity in GLubyte.
-- param text Content string.
-- param fontName Content font name.
-- param fontSize Content font size.
-- return True if initialize scucess, false otherwise. -- @function [parent=#RichElementText] init -- @param self -- @param #int tag -- @param #color3b_table color -- @param #unsigned char opacity -- @param #string text -- @param #string fontName -- @param #float fontSize -- @return bool#bool ret (return value: bool) -------------------------------- -- brief Create a RichElementText with various arguments.
-- param tag A integer tag value.
-- param color A color in Color3B.
-- param opacity A opacity in GLubyte.
-- param text Content string.
-- param fontName Content font name.
-- param fontSize Content font size.
-- return RichElementText instance. -- @function [parent=#RichElementText] create -- @param self -- @param #int tag -- @param #color3b_table color -- @param #unsigned char opacity -- @param #string text -- @param #string fontName -- @param #float fontSize -- @return RichElementText#RichElementText ret (return value: ccui.RichElementText) -------------------------------- -- brief Default constructor.
-- js ctor
-- lua new -- @function [parent=#RichElementText] RichElementText -- @param self -- @return RichElementText#RichElementText self (return value: ccui.RichElementText) return nil