summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2022-10-20 13:26:40 -0700
committerGitHub <noreply@github.com>2022-10-20 13:26:40 -0700
commit72b845b28773dd40adf6f55b226fb732910cbf14 (patch)
tree2215d5eb188dde5842deb2b28764557d19731f95 /doc
parenta8c805be2947b211ee8b881d7a8bab7cdc86e170 (diff)
parent247a93845ddcfa1306aaf8cc41a4a133ab707fcf (diff)
downloadredot-engine-72b845b28773dd40adf6f55b226fb732910cbf14.tar.gz
Merge pull request #67506 from squashiv/master
Expose Shape2D::get_rect to scripting
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Shape2D.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Shape2D.xml b/doc/classes/Shape2D.xml
index 34ca228795..7be0ba64d6 100644
--- a/doc/classes/Shape2D.xml
+++ b/doc/classes/Shape2D.xml
@@ -66,6 +66,12 @@
Draws a solid shape onto a [CanvasItem] with the [RenderingServer] API filled with the specified [param color]. The exact drawing method is specific for each shape and cannot be configured.
</description>
</method>
+ <method name="get_rect" qualifiers="const">
+ <return type="Rect2" />
+ <description>
+ Returns a [Rect2] representing the shapes boundary.
+ </description>
+ </method>
</methods>
<members>
<member name="custom_solver_bias" type="float" setter="set_custom_solver_bias" getter="get_custom_solver_bias" default="0.0">