axmol/cocos/scripting/lua-bindings/auto/api/RichElement.lua

43 lines
1.2 KiB
Lua

--------------------------------
-- @module RichElement
-- @extend Ref
-- @parent_module ccui
--------------------------------
--
-- @function [parent=#RichElement] equalType
-- @param self
-- @param #int type
-- @return bool#bool ret (return value: bool)
--------------------------------
-- brief Initialize a rich element with different arguments.<br>
-- param tag A integer tag value.<br>
-- param color A color in @see `Color3B`.<br>
-- param opacity A opacity value in `GLubyte`.<br>
-- return True if initialize success, false otherwise.
-- @function [parent=#RichElement] init
-- @param self
-- @param #int tag
-- @param #color3b_table color
-- @param #unsigned char opacity
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#RichElement] setColor
-- @param self
-- @param #color3b_table color
-- @return RichElement#RichElement self (return value: ccui.RichElement)
--------------------------------
-- brief Default constructor.<br>
-- js ctor<br>
-- lua new
-- @function [parent=#RichElement] RichElement
-- @param self
-- @return RichElement#RichElement self (return value: ccui.RichElement)
return nil