erase-polygon

Function

Package: common-graphics

Arguments: stream vertices

Erases (i.e. replaces with the background color or texture) the specified polygon from stream. A polygon is specified by vertices, which should be a sequence (list or vector) of positions. A line is drawn connecting the first vertex with the final vertex.

Contrast with draw-polygon which draws the polygon on stream.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.