From Java Media Framework API's Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. byByeongseob Ki, Scott Klasky, Nancy McCracken
Graphics2D defines methods for drawing objects and state attributes to control rendering
With state attributes, you can
Set a clipping path to limit the area that is rendered
Define colors and patterns to fill shapes
Vary the stroke width
Change how strokes are joined together
Specify how multiple graphics objects should be composed