Basic HTML version of Foils prepared 13 July 98

Foil 64 Some Remarks

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

java.awt.Polygon Class
The translate(...) method is a handy method of the Polygon class
The bounds variable (which holds the bounding rectangle of the polygon) is a protected variable of the Polygon class
Rather than manually compute a new bounding rectangle, we nullify bounds and let the Polygon class worry about it



© 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