StyleContext.lookupColor

Looks up and resolves a color name in the @context color map.

class StyleContext
bool
lookupColor
(
string colorName
,)

Parameters

colorName string

color name to lookup

color RGBA

Return location for the looked up color

Return Value

Type: bool

%TRUE if @color_name was found and resolved, %FALSE otherwise

Meta