[ Version ( since = "2.10" ) ]
public bool lookup_color (string color_name, out Color color)
Looks up color_name
in the style’s logical color mappings, filling in color
and returning
true if found, otherwise returning false.
Use lookup_color instead
Do not cache the found mapping, because it depends on the Style and might change when a theme switch occurs.
this |
a Style |
color_name |
the name of the logical color to look up |
color |
the Color to fill in |
true if the mapping was found. |