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