---@meta ---@class ccui.RichElementImage :ccui.RichElement local RichElementImage={ } ccui.RichElementImage=RichElementImage ---* ---@param height int ---@return self function RichElementImage:setHeight (height) end ---* brief Initialize a RichElementImage with various arguments.
---* param tag A integer tag value.
---* param color A color in Color3B.
---* param opacity A opacity in GLubyte.
---* param filePath A image file name.
---* param url uniform resource locator
---* param texType texture type, may be a valid file path, or a sprite frame name
---* return True if initialize success, false otherwise. ---@param tag int ---@param color color3b_table ---@param opacity unsigned_char ---@param filePath string ---@param url string ---@param texType int ---@return boolean function RichElementImage:init (tag,color,opacity,filePath,url,texType) end ---* ---@param width int ---@return self function RichElementImage:setWidth (width) end ---* ---@param url string ---@return self function RichElementImage:setUrl (url) end ---* brief Create a RichElementImage with various arguments.
---* param tag A integer tag value.
---* param color A color in Color3B.
---* param opacity A opacity in GLubyte.
---* param filePath A image file name.
---* param url uniform resource locator
---* param texType texture type, may be a valid file path, or a sprite frame name
---* return A RichElementImage instance. ---@param tag int ---@param color color3b_table ---@param opacity unsigned_char ---@param filePath string ---@param url string ---@param texType int ---@return self function RichElementImage:create (tag,color,opacity,filePath,url,texType) end ---* brief Default constructor.
---* js ctor
---* lua new ---@return self function RichElementImage:RichElementImage () end