Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

make-gray-color

Function

Summary

Returns a member of class <color>.

Signature

make-gray-color luminosity #key opacity => color

Arguments

luminosity
An instance of type limited(<real>, min: 0, max: 1).

opacity
An instance of type limited(<real>, min: 0, max: 1). Default value: 1.0.

Values

color
An instance of type <color>.

Library

duim-dcs

Module

duim-dcs

Description

Returns a member of class <color>. The luminance is a real number between 0 and 1 (inclusive). On a black-on-white display device, 0 means black, 1 means white, and the values in between are shades of gray. On a white-on-black display device, 0 means white, 1 means black, and the values in between are shades of gray.

See also

make-ihs-color, page 165

make-rgb-color, page 167


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index