Basic HTML version of Foils prepared
June 5 99
Foil 15 Graphics Methods
From
Java Language in the Computer Science Curriculum ADMI Tutorial Duluth Minnesota --
June 3 99
.
by
Geoffrey C. Fox
1
There are graphics methods to draw lines, arcs, ovals, rectangles and other shapes. Here is one example:
2
The drawRect(...) method draws a rectangle anchored at point (x,y): public void drawRect( int x, int y, int w, int h );
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 Jun 5 1999