Basic HTML version of Foils prepared April 7 1998

Foil 7 Drawing Process

From Overview of Java2D and Java3D Frameworks CPS616 Web Technologies -- Spring 98. by Geoffrey C. Fox


1 The basic drawing process:
  • 1. Specify the rendering attribute for the shape you want to draw and invoke a method such as setColor(...)
  • 2. Define the shape you want to draw
  • 3. Use the Graphics object to render the shape by calling a rendering method such as fillRect(...)
2 Java 2D provides additional features for:
  • specifying paint styles
  • defining complex shapes
  • controlling the rendering process

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 Sun May 3 1998