mirror of https://github.com/axmolengine/axmol.git
29 lines
827 B
Lua
29 lines
827 B
Lua
|
|
--------------------------------
|
|
-- @module RichElement
|
|
-- @extend Ref
|
|
-- @parent_module ccui
|
|
|
|
--------------------------------
|
|
-- 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)
|
|
|
|
--------------------------------
|
|
-- 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
|