Processing 2.0 class to draw a simple figure.