From 653e8f5c86a21652f3706f9e5835d477ad904dc9 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Fri, 21 Oct 2022 11:21:43 +0300 Subject: Remove internal functions of named colors from the public API --- doc/classes/Color.xml | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'doc') diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index a11d7157f1..a14ca15ef1 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -141,17 +141,6 @@ [/codeblocks] - - - - - Returns the index of a named color. Use [method get_named_color] to get the actual color. - [codeblock] - var idx = Color.find_named_color("khaki") - modulate = Color.get_named_color(idx) - [/codeblock] - - @@ -211,26 +200,6 @@ [b]Note:[/b] [method get_luminance] relies on the colour being in the linear color space to return an accurate relative luminance value. If the color is in the sRGB color space, use [method srgb_to_linear] to convert it to the linear color space first. - - - - - Returns a named color with the given index. You can get the index from [method find_named_color] or iteratively from [method get_named_color_count]. - - - - - - Returns the number of available named colors. - - - - - - - Returns the name of a color with the given index. You can get the index from [method find_named_color] or iteratively from [method get_named_color_count]. - - -- cgit v1.2.3