1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
|