2014-03-13 14:51:53 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module RichElementText
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend RichElement
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module ccui
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-13 14:51:53 +08:00
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- brief Initialize a RichElementText with various arguments.<br>
|
|
|
|
-- param tag A integer tag value.<br>
|
|
|
|
-- param color A color in Color3B.<br>
|
|
|
|
-- param opacity A opacity in GLubyte.<br>
|
|
|
|
-- param text Content string.<br>
|
|
|
|
-- param fontName Content font name.<br>
|
|
|
|
-- param fontSize Content font size.<br>
|
|
|
|
-- return True if initialize scucess, false otherwise.
|
2014-03-13 14:51:53 +08:00
|
|
|
-- @function [parent=#RichElementText] init
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int tag
|
|
|
|
-- @param #color3b_table color
|
|
|
|
-- @param #unsigned char opacity
|
|
|
|
-- @param #string text
|
|
|
|
-- @param #string fontName
|
|
|
|
-- @param #float fontSize
|
2014-03-13 14:51:53 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- brief Create a RichElementText with various arguments.<br>
|
|
|
|
-- param tag A integer tag value.<br>
|
|
|
|
-- param color A color in Color3B.<br>
|
|
|
|
-- param opacity A opacity in GLubyte.<br>
|
|
|
|
-- param text Content string.<br>
|
|
|
|
-- param fontName Content font name.<br>
|
|
|
|
-- param fontSize Content font size.<br>
|
|
|
|
-- return RichElementText instance.
|
2014-03-13 14:51:53 +08:00
|
|
|
-- @function [parent=#RichElementText] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int tag
|
|
|
|
-- @param #color3b_table color
|
|
|
|
-- @param #unsigned char opacity
|
|
|
|
-- @param #string text
|
|
|
|
-- @param #string fontName
|
|
|
|
-- @param #float fontSize
|
2014-03-13 14:51:53 +08:00
|
|
|
-- @return RichElementText#RichElementText ret (return value: ccui.RichElementText)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-31 12:01:57 +08:00
|
|
|
-- brief Default constructor.<br>
|
|
|
|
-- js ctor<br>
|
|
|
|
-- lua new
|
2014-03-13 14:51:53 +08:00
|
|
|
-- @function [parent=#RichElementText] RichElementText
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RichElementText#RichElementText self (return value: ccui.RichElementText)
|
2014-03-13 14:51:53 +08:00
|
|
|
|
|
|
|
return nil
|