axmol/cocos/scripting/lua-bindings/auto/api/LayerGradient.lua

99 lines
3.3 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module LayerGradient
-- @extend LayerColor
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns the start color of the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] getStartColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] isCompressedInterpolation
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Returns the start opacity of the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] getStartOpacity
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
-- Sets the directional vector that will be used for the gradient.<br>
-- The default value is vertical direction (0,-1).
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] setVector
-- @param self
-- @param #vec2_table alongVector
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns the start opacity of the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] setStartOpacity
-- @param self
-- @param #unsigned char startOpacity
2014-03-10 14:04:58 +08:00
--------------------------------
-- Whether or not the interpolation will be compressed in order to display all the colors of the gradient both in canonical and non canonical vectors<br>
-- Default: true
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] setCompressedInterpolation
-- @param self
-- @param #bool compressedInterpolation
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns the end opacity of the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] setEndOpacity
-- @param self
-- @param #unsigned char endOpacity
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns the directional vector used for the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] getVector
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets the end color of the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] setEndColor
-- @param self
-- @param #color3b_table endColor
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns the end color of the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] getEndColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns the end opacity of the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] getEndOpacity
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
-- Sets the start color of the gradient
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] setStartColor
-- @param self
-- @param #color3b_table startColor
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self, color4b_table, color4b_table
-- @overload self
-- @overload self, color4b_table, color4b_table, vec2_table
2014-03-10 14:04:58 +08:00
-- @function [parent=#LayerGradient] create
-- @param self
-- @param #color4b_table start
-- @param #color4b_table end
-- @param #vec2_table v
2014-03-10 14:04:58 +08:00
-- @return LayerGradient#LayerGradient ret (retunr value: cc.LayerGradient)
--------------------------------
--
-- @function [parent=#LayerGradient] getDescription
-- @param self
-- @return string#string ret (return value: string)
2014-03-10 14:04:58 +08:00
return nil