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-09-18 21:51:58 +08:00
|
|
|
-- brief Set the clipping rectangle.<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
|