diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 215f21b94bf..03bccbea10e 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -5792,25 +5792,28 @@
+ Set canvas item self-opacity. This does not affect the opacity of children items.
- Set canvas item self-opacity. This does not affect the opacity of children items.
+ Return the canvas item self-opacity.
+ Sets whether the canvas item is drawn behind its parent.
+ Return whether the item is drawn behind its parent.
@@ -5864,8 +5867,10 @@
+
+
- Draw a textured rectangle at a given position, optionally modulated by a color.
+ Draw a textured rectangle at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture.
@@ -5877,8 +5882,10 @@
+
+
- Draw a textured rectangle region at a given position, optionally modulated by a color.
+ Draw a textured rectangle region at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture.
@@ -6029,7 +6036,7 @@
- Emitten when becoming hidden.
+ Emitted when becoming hidden.
diff --git a/doc/engine_classes.xml b/doc/engine_classes.xml
index fca2be0318c..acbb9d47fee 100644
--- a/doc/engine_classes.xml
+++ b/doc/engine_classes.xml
@@ -2499,6 +2499,8 @@
+
+
@@ -2511,6 +2513,8 @@
+
+
diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp
index 789c6bdbe4a..92d5088b81e 100644
--- a/scene/2d/canvas_item.cpp
+++ b/scene/2d/canvas_item.cpp
@@ -1071,8 +1071,8 @@ void CanvasItem::_bind_methods() {
ObjectTypeDB::bind_method(_MD("draw_rect","rect","color"),&CanvasItem::draw_rect);
ObjectTypeDB::bind_method(_MD("draw_circle","pos","radius","color"),&CanvasItem::draw_circle);
ObjectTypeDB::bind_method(_MD("draw_texture","texture:Texture","pos"),&CanvasItem::draw_texture);
- ObjectTypeDB::bind_method(_MD("draw_texture_rect","texture:Texture","rect","tile","modulate"),&CanvasItem::draw_texture_rect,DEFVAL(false),DEFVAL(Color(1,1,1)));
- ObjectTypeDB::bind_method(_MD("draw_texture_rect_region","texture:Texture","rect","src_rect","modulate"),&CanvasItem::draw_texture_rect_region,DEFVAL(Color(1,1,1)));
+ ObjectTypeDB::bind_method(_MD("draw_texture_rect","texture:Texture","rect","tile","modulate","transpose"),&CanvasItem::draw_texture_rect,DEFVAL(Color(1,1,1)),DEFVAL(false));
+ ObjectTypeDB::bind_method(_MD("draw_texture_rect_region","texture:Texture","rect","src_rect","modulate","transpose"),&CanvasItem::draw_texture_rect_region,DEFVAL(Color(1,1,1)),DEFVAL(false));
ObjectTypeDB::bind_method(_MD("draw_style_box","style_box:StyleBox","rect"),&CanvasItem::draw_style_box);
ObjectTypeDB::bind_method(_MD("draw_primitive","points","colors","uvs","texture:Texture","width"),&CanvasItem::draw_primitive,DEFVAL(Array()),DEFVAL(Ref()),DEFVAL(1.0));
ObjectTypeDB::bind_method(_MD("draw_polygon","points","colors","uvs","texture:Texture"),&CanvasItem::draw_polygon,DEFVAL(Array()),DEFVAL(Ref()));