All Manuals > CAPI User Guide and Reference Manual > 24 COLOR Reference Entries

NextPrevUpTopContentsIndex

get-color-alias-translation

Function
Summary

Return the ultimate color name associated with color-alias .

Package

color

Signature

get-color-alias-translation color-alias => color-name

Arguments

color-alias

A defined color alias.

Values

color-name

The color name associated with color-alias .

Example
COLOR 23 > (color:define-color-alias :lispworks-blue 
               (color:make-rgb 0.70s0 0.90s0 0.99s0))
:lispworks-blue
COLOR 24 > (color:define-color-alias 
               :color-background :lispworks-blue)
:color-background
COLOR 25 > (color:define-color-alias 
               :listener-background :color-background)
:listener-background
COLOR 26 > (get-color-alias-translation 
                   :listener-background)
:LISPWORKS-BLUE
COLOR 27 > (color:get-color-alias-translation 
                   :color-background)
:LISPWORKS-BLUE
COLOR 28 >
See also

define-color-alias
get-color-spec
The Color System


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex