create a checkerboard image - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Image Processing : ImageTools Package : ImageTools/Checkerboard

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.

Examples

withImageTools:

EmbedCheckerboard

EmbedCheckerboard50,3,4,foreground=0.7,background=0.2

See Also

ImageTools, ImageTools[Create]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam