svn: r10611
This commit is contained in:
parent
7be05fcf8b
commit
df2b02ed94
|
@ -27,7 +27,7 @@ shapes. Additional primitives allow for the composition of images.
|
||||||
@deftech{Mode} @scheme[(one-of/c 'solid 'outline "solid" "outline")]
|
@deftech{Mode} @scheme[(one-of/c 'solid 'outline "solid" "outline")]
|
||||||
|
|
||||||
A @tech{Mode} is used to specify whether painting a shape fills or
|
A @tech{Mode} is used to specify whether painting a shape fills or
|
||||||
outlines the form.}
|
outlines the form.
|
||||||
|
|
||||||
@defstruct[color [(red (and/c natural-number/c (<=/c 255)))
|
@defstruct[color [(red (and/c natural-number/c (<=/c 255)))
|
||||||
(green (and/c natural-number/c (<=/c 255)))
|
(green (and/c natural-number/c (<=/c 255)))
|
||||||
|
@ -35,7 +35,7 @@ outlines the form.}
|
||||||
|
|
||||||
@deftech{RGB} @scheme[color?]
|
@deftech{RGB} @scheme[color?]
|
||||||
|
|
||||||
An @tech{RGB} describes a color via share of red, blue, and green colors
|
A @tech{RGB} describes a color via a shade of red, blue, and green colors
|
||||||
(e.g., @scheme[(make-color 100 200 30)]).
|
(e.g., @scheme[(make-color 100 200 30)]).
|
||||||
|
|
||||||
@deftech{Color} @scheme[(or/c symbol? string? color?)]
|
@deftech{Color} @scheme[(or/c symbol? string? color?)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user