}
// Iterate through each path of the shape, drawing them to the screen
for (int i = 0; i < shape.countPaths(); i++) {
// Get the points of the current path
RPath p = shape.paths[i];
RPoint[] points = p.getPoints();
// Connect each of the points using lines
for (int k = 0; k < points.length - 1; k++) {
g.line(points[k].x, points[k].y, points[k + 1].x, points[k + 1].y);
}