February 2013
Intermediate to advanced
1152 pages
32h 49m
English
In this chapter
• Shapes
• Areas
• Strokes
• Paint
• Clipping
• Transparency and Composition
• Readers and Writers for Images
• Printing
You can use the methods of the Graphics class to create simple drawings. Those methods are sufficient for simple applets and applications, but they fall short when you create complex shapes or when you require complete control over the appearance of the graphics. The Java 2D API is a more sophisticated class library that you can use to produce high-quality drawings. In this chapter, we will give you an overview of that API.
We’ll then turn ...
Read now
Unlock full access