Basic HTML version of Foils prepared 6 Feb 99

Foil 44 Fill Methods

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


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

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