Rendering
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