diff options
author | Jerome67000 <jerome.gully0@gmail.com> | 2018-01-07 19:43:50 +0100 |
---|---|---|
committer | Jerome67000 <jerome.gully0@gmail.com> | 2018-01-08 11:55:49 +0100 |
commit | feef8615d294b6b7509bc6a447f3d6b49ae616cd (patch) | |
tree | 4c935ed89e18773874d5648831f0bcaa3fc9f647 /doc/classes/Color.xml | |
parent | 37ca542d2bfd9aac296e82e30a76117090dea08e (diff) | |
download | redot-engine-feef8615d294b6b7509bc6a447f3d6b49ae616cd.tar.gz |
Add standardised color names to doc
Diffstat (limited to 'doc/classes/Color.xml')
-rw-r--r-- | doc/classes/Color.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index 6fa7ed0a86..ef555537a1 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -5,6 +5,7 @@ </brief_description> <description> A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as set_modulate(color)) may accept values > 1. + You can also create a color from standardised color names with [method @GDScript.ColorN]. </description> <tutorials> </tutorials> @@ -63,7 +64,7 @@ <argument index="0" name="from" type="String"> </argument> <description> - Constructs a color from an HTML hexadecimal color string in ARGB or RGB format. + Constructs a color from an HTML hexadecimal color string in ARGB or RGB format. See also [method @GDScript.ColorN]. The following string formats are supported: [code]"#ff00ff00"[/code] - ARGB format with '#' [code]"ff00ff00"[/code] - ARGB format |