ImageTools[Checkerboard] - create a checkerboard image
|
Calling Sequence
|
|
Checkerboard( n, height, width, opts )
|
|
Parameters
|
|
n
|
-
|
(optional) posint; size of each square
|
height
|
-
|
(optional) posint; height of board, in squares
|
width
|
-
|
(optional) posint; width of board, in squares
|
opts
|
-
|
(optional) equation(s) of the form option = value; specify options for the Checkerboard command
|
|
|
|
|
Description
|
|
•
|
The Checkerboard command returns an image of a checkerboard, that is, a grid of alternating light and dark squares.
|
•
|
The optional parameter n specifies the length of each square, in pixels. The default is 20.
|
•
|
The optional parameters height and width specify the height and width of the board, in squares, respectively. The default for height is 8. The default for width is height.
|
|
|
Options
|
|
|
Specifies the shade of gray of the foreground color. The default is 1.0 (white).
|
|
Specifies the shade of gray of the background color. The default is 0.0 (black).
|
•
|
Other options are passed to Create.
|
|
|
Download Help Document
Was this information helpful?