summaryrefslogtreecommitdiff
path: root/doc/classes/Texture2D.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2021-04-04 23:25:40 +0300
committerYuri Sizov <yuris@humnom.net>2021-04-04 23:25:40 +0300
commitc526a1e22d088dbe6e9d944903d95cbf4e4436d7 (patch)
tree49f7a43bbf37ce9c37bd69a07f9c754ca96688bf /doc/classes/Texture2D.xml
parented2f51b15fee22a35d2a975fd77a70fc291bd8de (diff)
Fix misformatted documentation from #47435, #42827, #46991
Diffstat (limited to 'doc/classes/Texture2D.xml')
-rw-r--r--doc/classes/Texture2D.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/classes/Texture2D.xml b/doc/classes/Texture2D.xml
index b648098a94..c33f32c9e4 100644
--- a/doc/classes/Texture2D.xml
+++ b/doc/classes/Texture2D.xml
@@ -63,18 +63,18 @@
Draws a part of the texture using a [CanvasItem] with the [RenderingServer] API.
</description>
</method>
- <method name="get_image" qualifiers="const">
- <return type="Image">
+ <method name="get_height" qualifiers="const">
+ <return type="int">
</return>
<description>
- Returns an [Image] that is a copy of data from this [Texture2D]. [Image]s can be accessed and manipulated directly.
+ Returns the texture height.
</description>
</method>
- <method name="get_height" qualifiers="const">
- <return type="int">
+ <method name="get_image" qualifiers="const">
+ <return type="Image">
</return>
<description>
- Returns the texture height.
+ Returns an [Image] that is a copy of data from this [Texture2D]. [Image]s can be accessed and manipulated directly.
</description>
</method>
<method name="get_size" qualifiers="const">