summaryrefslogtreecommitdiff
path: root/doc/classes/StyleBox.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-05 11:25:01 +0200
committerGitHub <noreply@github.com>2022-07-05 11:25:01 +0200
commitfd10de5b948d6864a0ab6ff8b4beee665cc49e5d (patch)
tree7b639facd779aea9692a5715d8eb769a9c7da78a /doc/classes/StyleBox.xml
parent3a38ee96ce68a809bd4aba3eed4b02b2a3483ded (diff)
parent63d5f3156178fd57fdf991c74833adfd97490c10 (diff)
Merge pull request #62726 from jmpelletier/jmpelletier-patch-2
Diffstat (limited to 'doc/classes/StyleBox.xml')
-rw-r--r--doc/classes/StyleBox.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/StyleBox.xml b/doc/classes/StyleBox.xml
index 74d02a84fd..d863e3c652 100644
--- a/doc/classes/StyleBox.xml
+++ b/doc/classes/StyleBox.xml
@@ -46,8 +46,8 @@
<argument index="0" name="canvas_item" type="RID" />
<argument index="1" name="rect" type="Rect2" />
<description>
- Draws this stylebox using a [CanvasItem] with given [RID].
- You can get a [RID] value using [method Object.get_instance_id] on a [CanvasItem]-derived node.
+ Draws this stylebox using a canvas item identified by the given [RID].
+ The [RID] value can either be the result of [method CanvasItem.get_canvas_item] called on an existing [CanvasItem]-derived node, or directly from creating a canvas item in the [RenderingServer] with [method RenderingServer.canvas_item_create].
</description>
</method>
<method name="get_center_size" qualifiers="const">