From 914f51031c54a36891418451ffe9a0490d2ab561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 4 Jan 2018 01:48:24 +0100 Subject: [PATCH] doc: Sync classref with current source --- doc/classes/Image.xml | 62 +++++++++++++++++------------------- doc/classes/Node2D.xml | 6 ++-- doc/classes/VisualServer.xml | 24 +++++++------- 3 files changed, 45 insertions(+), 47 deletions(-) diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 230978950b8..a01ffc99be4 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -446,67 +446,65 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + diff --git a/doc/classes/Node2D.xml b/doc/classes/Node2D.xml index ae2a67312e6..5b7def99dc2 100644 --- a/doc/classes/Node2D.xml +++ b/doc/classes/Node2D.xml @@ -157,12 +157,12 @@ Local [Transform2D]. - - Z-index. Controls the order in which the nodes render. A node with a higher Z-index will display in front of others. - If [code]true[/code] the node's Z-index is relative to its parent's Z-index. If this node's Z-index is 2 and its parent's effective Z-index is 3, then this node's effective Z-index will be 2 + 3 = 5. + + Z-index. Controls the order in which the nodes render. A node with a higher Z-index will display in front of others. + diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index 0cba132de8d..28fb83d5721 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -504,17 +504,6 @@ Sets if the canvas item (including its children) is visible. - - - - - - - - - Sets the [CanvasItem]'s z order position. - - @@ -523,7 +512,18 @@ - If this is enabled, the z-position of the parent will be added to the childrens z-position. + If this is enabled, the z-index of the parent will be added to the children's z-index. + + + + + + + + + + + Sets the [CanvasItem]'s z-index, i.e. its draw order (lower indexes are drawn first).