Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## draw-polygon

Arguments: stream vertices

Draw on stream the polygon specified by vertices, which should be a sequence (list or vector) of positions (see make-position). A line is drawn connecting the first vertex with the final vertex.

stream should be a `cg-stream`.

Contrast with draw-polyline, which does not connect the first and last vertices.

See also cg-drawing.htm.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version