summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2020-05-28 08:17:17 +0200
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2020-05-30 19:13:16 +0200
commit7b7d4ef079c2c1d196253da58bc758d9ef911108 (patch)
tree5cf20f59a3621abcee5dfb8dab198afb0ec29872 /doc/classes
parent3ecdc27f49cbdfbb07853606242538b6ca1fa37a (diff)
Add color option for img bbcode tag in RichTextLabel to tint images
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/RichTextLabel.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml
index efc0c9d600..db036d7d88 100644
--- a/doc/classes/RichTextLabel.xml
+++ b/doc/classes/RichTextLabel.xml
@@ -20,8 +20,10 @@
</argument>
<argument index="2" name="height" type="int" default="0">
</argument>
+ <argument index="3" name="color" type="Color" default="Color( 1, 1, 1, 1 )">
+ </argument>
<description>
- Adds an image's opening and closing tags to the tag stack, optionally providing a [code]width[/code] and [code]height[/code] to resize the image.
+ Adds an image's opening and closing tags to the tag stack, optionally providing a [code]width[/code] and [code]height[/code] to resize the image and a [code]color[/code] to tint the image.
If [code]width[/code] or [code]height[/code] is set to 0, the image size will be adjusted in order to keep the original aspect ratio.
</description>
</method>