-------------------------------- -- @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.
-- param flags: italics, bold, underline, strikethrough, url, outline, shadow or glow
-- param url uniform resource locator
-- param outlineColor the color of the outline
-- param outlineSize the outline effect size value
-- param shadowColor the shadow effect color value
-- param shadowOffset shadow effect offset value
-- param shadowBlurRadius the shadow effect blur radius
-- param glowColor glow color
-- return True if initialize success, 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 -- @param #unsigned int flags -- @param #string url -- @param #color3b_table outlineColor -- @param #int outlineSize -- @param #color3b_table shadowColor -- @param #size_table shadowOffset -- @param #int shadowBlurRadius -- @param #color3b_table glowColor -- @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.
-- param flags: italics, bold, underline, strikethrough, url, outline, shadow or glow
-- param url uniform resource locator
-- param outlineColor the color of the outline
-- param outlineSize the outline effect size value
-- param shadowColor the shadow effect color value
-- param shadowOffset shadow effect offset value
-- param shadowBlurRadius the shadow effect blur radius
-- param glowColor glow color
-- 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 -- @param #unsigned int flags -- @param #string url -- @param #color3b_table outlineColor -- @param #int outlineSize -- @param #color3b_table shadowColor -- @param #size_table shadowOffset -- @param #int shadowBlurRadius -- @param #color3b_table glowColor -- @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