2014-10-16 16:55:11 +08:00
--------------------------------
-- @module ClippingRectangleNode
-- @extend Node
-- @parent_module cc
--------------------------------
2015-03-19 16:29:09 +08:00
-- brief Get whether the clipping is enabled or not.<br>
-- return Whether the clipping is enabled or not. Default is true.
2014-10-16 16:55:11 +08:00
-- @function [parent=#ClippingRectangleNode] isClippingEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
2015-03-19 16:29:09 +08:00
-- brief Enable/Disable the clipping.<br>
2015-03-27 10:26:35 +08:00
-- param enabled Pass true to enable clipping. Pass false to disable clipping.
2014-10-16 16:55:11 +08:00
-- @function [parent=#ClippingRectangleNode] setClippingEnabled
-- @param self
-- @param #bool enabled
2015-01-21 17:33:26 +08:00
-- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode)
2014-10-16 16:55:11 +08:00
--------------------------------
2015-03-19 16:29:09 +08:00
-- brief Get the clipping rectangle.<br>
-- return The clipping rectangle.
2014-10-16 16:55:11 +08:00
-- @function [parent=#ClippingRectangleNode] getClippingRegion
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
2015-08-03 18:09:10 +08:00
-- brief Set the clipping rectangle. The rectangle is base on screen coordinate, so ClippingRectangleNode's region doesn't support any transforms, such as setScale, setRotate and so on.<br>
2015-03-27 10:26:35 +08:00
-- param clippingRegion Specify the clipping rectangle.
2014-10-16 16:55:11 +08:00
-- @function [parent=#ClippingRectangleNode] setClippingRegion
-- @param self
-- @param #rect_table clippingRegion
2015-01-21 17:33:26 +08:00
-- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode)
2014-10-16 16:55:11 +08:00
--------------------------------
-- @overload self
-- @overload self, rect_table
-- @function [parent=#ClippingRectangleNode] create
-- @param self
-- @param #rect_table clippingRegion
2014-10-17 22:56:22 +08:00
-- @return ClippingRectangleNode#ClippingRectangleNode ret (return value: cc.ClippingRectangleNode)
2014-10-16 16:55:11 +08:00
--------------------------------
--
-- @function [parent=#ClippingRectangleNode] visit
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table parentTransform
-- @param #unsigned int parentFlags
2015-01-21 17:33:26 +08:00
-- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode)
2014-10-16 16:55:11 +08:00
return nil