Source: DrawPolygons.java