summaryrefslogtreecommitdiff
path: root/doc/classes/TextParagraph.xml
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-11 12:40:31 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-15 08:49:50 +0300
commitcbe3a2dcb775966662fa3213625adcfa0bbdf80c (patch)
tree098bff12f0a5814874f32a95914c73365abe6355 /doc/classes/TextParagraph.xml
parente5a1640cf0f7dbb408865ec3a0e31bfd0dda85ac (diff)
Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API.
Diffstat (limited to 'doc/classes/TextParagraph.xml')
-rw-r--r--doc/classes/TextParagraph.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/classes/TextParagraph.xml b/doc/classes/TextParagraph.xml
index 6d615bd404..c733d8fcee 100644
--- a/doc/classes/TextParagraph.xml
+++ b/doc/classes/TextParagraph.xml
@@ -263,14 +263,17 @@
<member name="alignment" type="int" setter="set_alignment" getter="get_alignment" enum="HorizontalAlignment" default="0">
Paragraph horizontal alignment.
</member>
+ <member name="break_flags" type="int" setter="set_break_flags" getter="get_break_flags" enum="TextServer.LineBreakFlag" default="3">
+ Line breaking rules. For more info see [TextServer].
+ </member>
<member name="custom_punctuation" type="String" setter="set_custom_punctuation" getter="get_custom_punctuation" default="&quot;&quot;">
Custom punctuation character list, used for word breaking. If set to empty string, server defaults are used.
</member>
<member name="direction" type="int" setter="set_direction" getter="get_direction" enum="TextServer.Direction" default="0">
Text writing direction.
</member>
- <member name="flags" type="int" setter="set_flags" getter="get_flags" default="99">
- Line breaking and alignment rules. For more info see [TextServer].
+ <member name="justification_flags" type="int" setter="set_justification_flags" getter="get_justification_flags" enum="TextServer.JustificationFlag" default="3">
+ Line alignment rules. For more info see [TextServer].
</member>
<member name="max_lines_visible" type="int" setter="set_max_lines_visible" getter="get_max_lines_visible" default="-1">
Limits the lines of text shown.