Basic HTML version of Foils prepared 6 Feb 99

Foil 38 The drawLine 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 LineTest Applet
The drawLine(...) method draws a line segment with endpoints (x1,y1) and (x2,y2): public void drawLine( int x1, int y1, int x2, int y2 );



© 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