summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.LayerRadialGradient.lua
blob: 0292f71a23dc34ea8ec4d10c87311831098edb60 (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---@meta

---@class cc.LayerRadialGradient :cc.Layer
local LayerRadialGradient={ }
cc.LayerRadialGradient=LayerRadialGradient




---* 
---@return color4b_table
function LayerRadialGradient:getStartColor () end
---* 
---@return cc.BlendFunc
function LayerRadialGradient:getBlendFunc () end
---* 
---@return color3b_table
function LayerRadialGradient:getStartColor3B () end
---* 
---@return unsigned_char
function LayerRadialGradient:getStartOpacity () end
---* 
---@param center vec2_table
---@return self
function LayerRadialGradient:setCenter (center) end
---* 
---@return color4b_table
function LayerRadialGradient:getEndColor () end
---* 
---@param opacity unsigned_char
---@return self
function LayerRadialGradient:setStartOpacity (opacity) end
---* 
---@return vec2_table
function LayerRadialGradient:getCenter () end
---* 
---@param opacity unsigned_char
---@return self
function LayerRadialGradient:setEndOpacity (opacity) end
---* 
---@param expand float
---@return self
function LayerRadialGradient:setExpand (expand) end
---* 
---@return unsigned_char
function LayerRadialGradient:getEndOpacity () end
---* 
---@param startColor color4b_table
---@param endColor color4b_table
---@param radius float
---@param center vec2_table
---@param expand float
---@return boolean
function LayerRadialGradient:initWithColor (startColor,endColor,radius,center,expand) end
---@overload fun(color3b_table0:color4b_table):self
---@overload fun(color3b_table:color3b_table):self
---@param color color3b_table
---@return self
function LayerRadialGradient:setEndColor (color) end
---* 
---@return color3b_table
function LayerRadialGradient:getEndColor3B () end
---* 
---@param radius float
---@return self
function LayerRadialGradient:setRadius (radius) end
---@overload fun(color3b_table0:color4b_table):self
---@overload fun(color3b_table:color3b_table):self
---@param color color3b_table
---@return self
function LayerRadialGradient:setStartColor (color) end
---* 
---@return float
function LayerRadialGradient:getExpand () end
---* 
---@param blendFunc cc.BlendFunc
---@return self
function LayerRadialGradient:setBlendFunc (blendFunc) end
---* 
---@return float
function LayerRadialGradient:getRadius () end
---@overload fun():self
---@overload fun(color4b_table:color4b_table,color4b_table:color4b_table,float:float,vec2_table:vec2_table,float:float):self
---@param startColor color4b_table
---@param endColor color4b_table
---@param radius float
---@param center vec2_table
---@param expand float
---@return self
function LayerRadialGradient:create (startColor,endColor,radius,center,expand) end
---* 
---@param renderer cc.Renderer
---@param transform mat4_table
---@param flags unsigned_int
---@return self
function LayerRadialGradient:draw (renderer,transform,flags) end
---* 
---@param size size_table
---@return self
function LayerRadialGradient:setContentSize (size) end
---* 
---@return self
function LayerRadialGradient:LayerRadialGradient () end