diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 01:23:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 01:23:32 +0800 |
commit | 04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 (patch) | |
tree | c0c8a2c0e92d0580280f838ba475875c7f82a73c /meta/3rd/Cocos4.0/library/cc/LayerRadialGradient.lua | |
parent | c30c5c2e267f6917600afe4f19e1e0d674bad9c6 (diff) | |
download | lua-language-server-04fa96b7c0abba4d7cca03ed12ff3b65b3912e01.zip |
fix #1431
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/LayerRadialGradient.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/LayerRadialGradient.lua | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc/LayerRadialGradient.lua b/meta/3rd/Cocos4.0/library/cc/LayerRadialGradient.lua new file mode 100644 index 00000000..0292f71a --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc/LayerRadialGradient.lua @@ -0,0 +1,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
\ No newline at end of file |