mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 05:19:50 +01:00
StyleBox: Document correct methods to draw with a RID
(cherry picked from commit 63d5f3156178fd57fdf991c74833adfd97490c10)
This commit is contained in:
parent
cb93141c27
commit
2f9f0ecf8b
@ -15,8 +15,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 [VisualServer] with [method VisualServer.canvas_item_create].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_center_size" qualifiers="const">
|
||||
|
Loading…
Reference in New Issue
Block a user