summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-10-19 20:41:25 +0300
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-10-20 13:58:50 +0300
commitaef00021a9c8a51326d6ed6f9a4fc9ddeae175bd (patch)
tree55693bf86caa2573065813bbd261a7eb5134a567 /doc/classes
parent9dad483920ffa3c32a03f1f4cc869b3f7d1cbe0e (diff)
Add `border_width` to `ReferenceRect`
Exposes a hidden parameter behind `CanvasItem.draw_rect()`.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ReferenceRect.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/ReferenceRect.xml b/doc/classes/ReferenceRect.xml
index 4f8f71b3db..ed2d397f7d 100644
--- a/doc/classes/ReferenceRect.xml
+++ b/doc/classes/ReferenceRect.xml
@@ -14,6 +14,9 @@
<member name="border_color" type="Color" setter="set_border_color" getter="get_border_color" default="Color( 1, 0, 0, 1 )">
Sets the border [Color] of the [ReferenceRect].
</member>
+ <member name="border_width" type="float" setter="set_border_width" getter="get_border_width" default="1.0">
+ Sets the border width of the [ReferenceRect]. The border grows both inwards and outwards with respect to the rectangle box.
+ </member>
<member name="editor_only" type="bool" setter="set_editor_only" getter="get_editor_only" default="true">
If set to [code]true[/code], the [ReferenceRect] will only be visible while in editor. Otherwise, [ReferenceRect] will be visible in game.
</member>