Basic HTML version of Foils prepared 13 July 98

Foil 48 DrawablePolygon Constructor #2

From Java Academy II:Advanced Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo

The java.awt.Polygon Class
This constructor mimics the corresponding constructor of the superclass Polygon: public DrawablePolygon( int[] xpoints, int[] ypoints, int npoints ) { super( xpoints, ypoints, npoints ); }
Constructor #2 is not used much in practice, however, since repeated calls to the addPoint(...) method are usually more convenient



© 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 Nov 28 1998