summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-01-08 20:21:30 +0200
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-07-01 18:09:11 +0300
commit851c1050b23d2f0b336e6fd3891d97fcd37e8c76 (patch)
treeef02fbf234cd34c6b12d05988ec83697ddf42e11 /doc
parent8a484756de0d66aa91da7975672234d58ca31d7d (diff)
Provide `draw_set_transform` defaults for rotation and scale
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/CanvasItem.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml
index b3a3722836..be361f93f3 100644
--- a/doc/classes/CanvasItem.xml
+++ b/doc/classes/CanvasItem.xml
@@ -285,9 +285,9 @@
</return>
<argument index="0" name="position" type="Vector2">
</argument>
- <argument index="1" name="rotation" type="float">
+ <argument index="1" name="rotation" type="float" default="0.0">
</argument>
- <argument index="2" name="scale" type="Vector2">
+ <argument index="2" name="scale" type="Vector2" default="Vector2( 1, 1 )">
</argument>
<description>
Sets a custom transform for drawing via components. Anything drawn afterwards will be transformed by this.