diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-06 10:17:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-06 10:17:12 +0100 |
commit | 52c1b5fc411a6e9760c97d17835952dda1d4bd4b (patch) | |
tree | 3d2180c87ead03fcf50036d85518cafeb58f1fb2 /doc/classes | |
parent | d79e57882b333b0e5ca47579cfe7bf3188bee274 (diff) | |
parent | 7adb6b91b33e297b4833ef5f82adcf64a15777f4 (diff) |
Merge pull request #43283 from Calinou/color-remove-contrasted
Remove `Color.contrasted()` as its behavior is barely useful
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Color.xml | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index ffa0fa54c9..ca52d27a52 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -159,23 +159,6 @@ [/codeblocks] </description> </method> - <method name="contrasted"> - <return type="Color"> - </return> - <description> - Returns the most contrasting color. - [codeblocks] - [gdscript] - var color = Color(0.3, 0.4, 0.9) - var contrasted_color = color.contrasted() # Equivalent to RGBA(204, 229, 102, 255) - [/gdscript] - [csharp] - var color = new Color(0.3f, 0.4f, 0.9f); - Color contrastedColor = color.Contrasted(); // Equivalent to RGBA(204, 229, 102, 255) - [/csharp] - [/codeblocks] - </description> - </method> <method name="darkened"> <return type="Color"> </return> |