在本页中:
red
orange
yellow
green
blue
purple
black
brown
gray
white
cyan
magenta
light
dark
color/  c
7.0.0.18

9 Color Helpers

 (require pict/color) package: pict-lib

函数

(red pict)  pict?

  pict : pict?

函数

(orange pict)  pict?

  pict : pict?

函数

(yellow pict)  pict?

  pict : pict?

函数

(green pict)  pict?

  pict : pict?

函数

(blue pict)  pict?

  pict : pict?

函数

(purple pict)  pict?

  pict : pict?

函数

(black pict)  pict?

  pict : pict?

函数

(brown pict)  pict?

  pict : pict?

函数

(gray pict)  pict?

  pict : pict?

函数

(white pict)  pict?

  pict : pict?

函数

(cyan pict)  pict?

  pict : pict?

函数

(magenta pict)  pict?

  pict : pict?
These functions apply appropriate colors to picture p.

例如:
> (red (disk 20))

image

添加于package pict-lib的1.4版本。

函数

(light color)  color/c

  color : color/c

函数

(dark color)  color/c

  color : color/c
These functions produce lighter or darker versions of a color.

例如:
> (hc-append (colorize (disk 20) "red")
             (colorize (disk 20) (dark "red"))
             (colorize (disk 20) (light "red")))

image

添加于package pict-lib的1.4版本。

This contract recognizes color strings, color% instances, and RGB color lists.

添加于package pict-lib的1.4版本。