Basic HTML version of Foils prepared 6 Feb 99

Foil 47 The addPoint Method

From Java Academy I:Elementary Java NPAC/ECS Java Academy -- February to April 1998 and 1999. by Nancy McCracken (foils by Tom Scavo)

The java.awt.Polygon.addPoint Method
1 Each call to the addPoint(...) method adds a vertex to the polygon
2 When the drawPolygon(...) method is called, the last vertex is automatically joined with the first (except in Java 1.0, which has a permanent bug)
3 There is a corresponding fillPolygon(...) method, of course

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Feb 6 1999