Basic HTML version of Foils prepared 13 July 98

Foil 44 Fill Methods

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


Each "draw" method (except drawLine and drawString) has a corresponding "fill" method
The syntax is the same except that the word "draw" is replaced by "fill" (e.g., fillRect)
An object is filled with the current color, chosen as follows: g.setColor( c ); where c is a Color object



© 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 Fri Jul 24 1998