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))
(#S(COLOR-ALIAS COLOR #(:RGB 0.699999S0 0.9S0 0.99S0)))
COLOR 24 > (color:define-color-alias 
               :color-background :lispworks-blue)
(#S(COLOR-ALIAS COLOR :LISPWORKS-BLUE))
COLOR 25 > (color:define-color-alias 
               :listener-background :color-background)
(#S(COLOR-ALIAS COLOR :COLOR-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


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex