summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/ccui.RichElementImage.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/ccui.RichElementImage.lua')
-rw-r--r--meta/3rd/Cocos4.0/ccui.RichElementImage.lua57
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/ccui.RichElementImage.lua b/meta/3rd/Cocos4.0/ccui.RichElementImage.lua
new file mode 100644
index 00000000..480ad671
--- /dev/null
+++ b/meta/3rd/Cocos4.0/ccui.RichElementImage.lua
@@ -0,0 +1,57 @@
+
+---@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.<br>
+---* param tag A integer tag value.<br>
+---* param color A color in Color3B.<br>
+---* param opacity A opacity in GLubyte.<br>
+---* param filePath A image file name.<br>
+---* param url uniform resource locator<br>
+---* param texType texture type, may be a valid file path, or a sprite frame name<br>
+---* 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.<br>
+---* param tag A integer tag value.<br>
+---* param color A color in Color3B.<br>
+---* param opacity A opacity in GLubyte.<br>
+---* param filePath A image file name.<br>
+---* param url uniform resource locator<br>
+---* param texType texture type, may be a valid file path, or a sprite frame name<br>
+---* 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.<br>
+---* js ctor<br>
+---* lua new
+---@return self
+function RichElementImage:RichElementImage () end \ No newline at end of file