Example #1
0
 public Shape getShape() {
   if (isUpdate) {
     setup();
     poly = new Polygon();
     for (Progress point : points) {
       poly.addPoint(point.x, point.y);
     }
   }
   return poly;
 }
Example #2
0
 public int getPoints() {
   return polygon.getPointCount();
 }