LispWorks CAPI Reference Manual > 3 COLOR Reference Entries

NextPrevUpTopContentsIndex

apropos-color-spec-names

Function
Summary

Returns colors containing a given string.

Package

color

Signature

apropos-color-spec-names substring => list

Arguments

substring

A string.

Values

list

A list of symbols.

Description

Returns a list of symbols whose symbol-names contain substring and which are defined as original entries in the color-database defining color aliases. By convention these are in the keyword package.

Example
COLOR 14 > (define-color-alias :mygray100 :gray100)
(#S(COLOR-ALIAS COLOR :GRAY100))
COLOR 15 > (apropos-color-names "GRAY100")
(:MYGRAY100 :GRAY100)
COLOR 16 > (ap]ropos-color-spec-names "GRAY100")
(:GRAY100)
COLOR 17 >
See also

apropos-color-alias-names
apropos-color-names
get-all-color-names


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex