diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-03 13:16:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 13:16:13 +0200 |
commit | 901832e21c74d20689cd59a3464581467997e57c (patch) | |
tree | cd96b0b7b72d775b7da326a42c8ea03199952e5c /doc | |
parent | 7460bc36dde3b2975bca69a2d6fe0b0325f1c077 (diff) | |
parent | 7b7d4ef079c2c1d196253da58bc758d9ef911108 (diff) |
Merge pull request #39113 from nekomatata/bbcode-image-color
Add color option for img bbcode tag in RichTextLabel to tint images
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/RichTextLabel.xml | 4 |
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> |