8.15.0.4
9 Color Helpers
(require pict/color) | package: pict-lib |
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
procedure
pict : pict?
These functions apply appropriate colors to picture p.
Added in version 1.4 of package pict-lib.
These functions produce lighter or darker versions of a color.
Example:
> (hc-append (colorize (disk 20) "red") (colorize (disk 20) (dark "red")) (colorize (disk 20) (light "red")))
Added in version 1.4 of package pict-lib.
value
This contract recognizes color strings, color% instances, and RGB color
lists.
Added in version 1.4 of package pict-lib.