Graphics
primitives
'Primitives' are the basic shapes
that can be drawn. In Java, facilities to draw primitive shapes are provided in the Graphics class. The figure below shows the primitives that are available, and
the name of the method required to draw them.

Note that ‘text' might be considered a
primitive as well.
Back
to top

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights
reserved.
webmaster@globalcampus.com.eg
|