Home Segments Top Top Previous Next

1115: Mainline

A Graphics graphics context allows you to draw straight lines using drawLine with integer coordinates.

A Graphics2D graphics context allows you to draw not only straight lines, but also quadratic curves and Bezier curves.