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

NextPrevUpTopContentsIndex

apropos-color-alias-names

Function
Summary

Returns color aliases containing a given string.

Package

color

Signature

apropos-color-alias-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 aliases in the color-database defining color aliases. By convention these are in the keyword package.

Example

In this example, a color alias is defined for the color indianred1. apropos-color-alias-names only returns this alias, rather than both the alias and the original color, despite the similarity in the names.

COLOR 8 > (define-color-alias :myindianred1 
                              :indianred1)
(#S(COLOR-ALIAS COLOR :INDIANRED1))
COLOR 9 > (apropos-color-names "INDIANRED1")
(:INDIANRED1 :MYINDIANRED1)
COLOR 10 > (apropos-color-alias-names "INDIANRED1")
(:MYINDIANRED1)
COLOR 11 >
See also

apropos-color-names
apropos-color-spec-names
get-all-color-names
The Color System


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

NextPrevUpTopContentsIndex