API documentation for visualization library

Michael Galloy

single page | use frames     summary     class     fields     routine details     file attributes



top vis_checkerboard

result = vis_checkerboard( [block_size=long] [, colors=bytarr(2)])

Returns a checkerboard pattern suitable for use with the PATTERN keyword to POLYFILL.

Return value

bytarr(2 * block_size, 2 * block_size)


block_size in optional type=long default=1L

size of one square of the checkerboard in pixels

colors in optional type=bytarr(2) default=[0B, 255B]

alternating colors for the two types of squares in the checkerboard

File attributes

Modification date: Mon Nov 29 18:32:44 2010
Lines: 29
Docformat: rst rst