From 83848153652d2dad4752279f059691fb84284b9d Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Wed, 10 Aug 2022 14:33:05 +0300
Subject: Add line breaking support to the TextMesh.
---
doc/classes/TextMesh.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
(limited to 'doc/classes')
diff --git a/doc/classes/TextMesh.xml b/doc/classes/TextMesh.xml
index 17a0ca32e4..678b95cc72 100644
--- a/doc/classes/TextMesh.xml
+++ b/doc/classes/TextMesh.xml
@@ -11,6 +11,9 @@
+
+ If set to something other than [constant TextServer.AUTOWRAP_OFF], the text gets wrapped inside the node's bounding rectangle. If you resize the node, it will change its height automatically to show all the text. To see how each mode behaves, see [enum TextServer.AutowrapMode].
+
Step (in pixels) used to approximate Bézier curves.
@@ -29,6 +32,12 @@
Language code used for text shaping algorithms, if left empty current locale is used instead.
+
+ Vertical space between lines in multiline [TextMesh].
+
+
+ The text drawing offset (in pixels).
+
The size of one pixel's width on the text to scale it in 3D.
@@ -47,6 +56,9 @@
If [code]true[/code], all the text displays as UPPERCASE.
+
+ Controls the text's vertical alignment. Supports top, center, bottom. Set it to one of the [enum VerticalAlignment] constants.
+
Text width (in pixels), used for fill alignment.
--
cgit v1.2.3