lookup_color
Description:
Looks up color_name in the style’s logical color mappings, filling in color and returning
true if found, otherwise returning false.
Note:
Use lookup_color instead
Do not cache the found mapping, because it depends on the Style and might change when a theme switch occurs.
Parameters:
| this |
a Style |
| color_name |
the name of the logical color to look up |
| color |
the Color to fill in |
Returns:
|
true if the mapping was found. |