From 0f49c76757e7a42dc167a6136a73485e02a37395 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Mon, 10 Oct 2022 13:23:04 -0400 Subject: [PATCH] Fix manual typos in setClippingRect --- docsrc/manual/scripting-capabilities.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docsrc/manual/scripting-capabilities.rst b/docsrc/manual/scripting-capabilities.rst index e0733e1a..d9b6c65e 100644 --- a/docsrc/manual/scripting-capabilities.rst +++ b/docsrc/manual/scripting-capabilities.rst @@ -1055,17 +1055,17 @@ All overlay functions are callable via the global ``overlay`` object. Sets the rectangular clipping region for the specifieid overlay layer. A clipping region will cause the overlay's rendering to be contained inside it. In other words, any content from the overlay layer will not be visible outside of the specified rectangle. :param number x: the rectangle's pixel x coordinate, 0 is the left edge of the current map. A negative value is where the left map border's region is - :param number x: the rectangle's pixel y coordinate, 0 is the top edge of the current map. A negative value is where the top map border's region is + :param number y: the rectangle's pixel y coordinate, 0 is the top edge of the current map. A negative value is where the top map border's region is :param number width: the rectangle's pixel width :param number height: the rectangle's pixel height :param number layer: the layer id -.. js:function:: overlay.setClippingRect(x, y, width, height, layer) +.. js:function:: overlay.setClippingRect(x, y, width, height) This is an overloaded function. Sets the rectangular clipping region for all overlay layers. A clipping region will cause the overlay's rendering to be contained inside it. In other words, any content from the overlay layer will not be visible outside of the specified rectangle. :param number x: the rectangle's pixel x coordinate, 0 is the left edge of the current map. A negative value is where the left map border's region is - :param number x: the rectangle's pixel y coordinate, 0 is the top edge of the current map. A negative value is where the top map border's region is + :param number y: the rectangle's pixel y coordinate, 0 is the top edge of the current map. A negative value is where the top map border's region is :param number width: the rectangle's pixel width :param number height: the rectangle's pixel height