NextPrevUpTopContentsIndex

color-alpha

Function
Summary

Returns the alpha component of a color specification.

Package

color

Signature

color-alpha color-spec &optional default => alpha

Arguments

color-spec

A color specification.

default

A number between 0 and 1.

Values

alpha

The alpha component of color-spec .

Description

color-spec is a color specification in any model.

color-alpha returns the alpha component of color-spec . If color-spec does not have an alpha component, then default is returned.

The default value of default is 1.0.

See also

make-hsv
make-rgb
make-gray


LispWorks CAPI Reference Manual - 17 Mar 2008

NextPrevUpTopContentsIndex