Java Reference
In-Depth Information
13
Graphics and Java 2D
Treat nature in terms of the
cylinder, the sphere, the cone, all
in perspective.
—Paul Cézanne
Colors, like features, follow the
changes of the emotions.
—Pablo Picasso
Nothing ever becomes real till it
is experienced—even a proverb
is no proverb to you till your life
has illustrated it.
—John Keats
Objectives
In this chapter you'll:
Understand graphics
contexts and graphics
objects.
Manipulate colors and fonts.
Use methods of class
Graphics to draw various
shapes.
Use methods of class
Graphics2D from the Java
2D API to draw various
shapes.
Specify Paint and Stroke
characteristics of shapes
displayed with
Graphics2D .
 
 
Search WWH ::




Custom Search