-------------------------------- -- @module RichElement -- @extend Ref -- @parent_module ccui -------------------------------- -- brief Initialize a rich element with different arguments.
-- param tag A integer tag value.
-- param color A color in @see `Color3B`.
-- param opacity A opacity value in `GLubyte`.
-- 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.
-- js ctor
-- lua new -- @function [parent=#RichElement] RichElement -- @param self -- @return RichElement#RichElement self (return value: ccui.RichElement) return nil