summaryrefslogtreecommitdiffstats
path: root/doc/classes/CanvasItem.xml
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2024-09-06 00:25:59 +0200
committerMicky <micheledevita2@gmail.com>2024-11-11 12:05:34 +0100
commit932b1c434c806f410c7ada06731077e4a621dd91 (patch)
tree42e146c51e580c08a0abab4c95139eca5a5f7b14 /doc/classes/CanvasItem.xml
parent835808ed8fa992c961d6989f0a0c48ed2abd69bd (diff)
downloadredot-engine-932b1c434c806f410c7ada06731077e4a621dd91.tar.gz
Clean up more `[b]Example:[/b]` lines from the class reference
Diffstat (limited to 'doc/classes/CanvasItem.xml')
-rw-r--r--doc/classes/CanvasItem.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml
index 0a0223c550..e21c79e261 100644
--- a/doc/classes/CanvasItem.xml
+++ b/doc/classes/CanvasItem.xml
@@ -333,7 +333,7 @@
<param index="9" name="orientation" type="int" enum="TextServer.Orientation" default="0" />
<description>
Draws [param text] using the specified [param font] at the [param pos] (bottom-left corner using the baseline of the font). The text will have its color multiplied by [param modulate]. If [param width] is greater than or equal to 0, the text will be clipped if it exceeds the specified width.
- [b]Example using the default project font:[/b]
+ [b]Example:[/b] Draw "Hello world", using the project's default font:
[codeblocks]
[gdscript]
# If using this method in a script that redraws constantly, move the