diff options
author | Ovnuniarchos <pujalte.jorge@gmail.com> | 2015-07-20 20:07:25 +0200 |
---|---|---|
committer | Ovnuniarchos <pujalte.jorge@gmail.com> | 2015-07-20 20:07:25 +0200 |
commit | 43053e3a710fb87fc0c66f4d316b2f9e92832327 (patch) | |
tree | fd2678478c8eb7ef268f2ee50873a8a7dab3ab1e /doc | |
parent | dd09ae50e117f618381480d4f1281536b557ae0b (diff) |
Added a proper name and an explanation to arg4 on CanvasItem.draw_texture_rect*.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/base/classes.xml | 15 | ||||
-rw-r--r-- | doc/engine_classes.xml | 4 |
2 files changed, 15 insertions, 4 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 215f21b94b..03bccbea10 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -5792,25 +5792,28 @@ <argument index="0" name="self_opacity" type="float"> </argument> <description> + Set canvas item self-opacity. This does not affect the opacity of children items. </description> </method> <method name="get_self_opacity" qualifiers="const" > <return type="float"> </return> <description> - Set canvas item self-opacity. This does not affect the opacity of children items. + Return the canvas item self-opacity. </description> </method> <method name="set_draw_behind_parent" > <argument index="0" name="enabe" type="bool"> </argument> <description> + Sets whether the canvas item is drawn behind its parent. </description> </method> <method name="is_draw_behind_parent_enabled" qualifiers="const" > <return type="bool"> </return> <description> + Return whether the item is drawn behind its parent. </description> </method> <method name="draw_line" > @@ -5864,8 +5867,10 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> - 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. </description> </method> <method name="draw_texture_rect_region" > @@ -5877,8 +5882,10 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> - 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. </description> </method> <method name="draw_style_box" > @@ -6029,7 +6036,7 @@ </signal> <signal name="hide"> <description> - Emitten when becoming hidden. + Emitted when becoming hidden. </description> </signal> </signals> diff --git a/doc/engine_classes.xml b/doc/engine_classes.xml index fca2be0318..acbb9d47fe 100644 --- a/doc/engine_classes.xml +++ b/doc/engine_classes.xml @@ -2499,6 +2499,8 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> </description> </method> @@ -2511,6 +2513,8 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> </description> </method> |