public static Polygon polygon(Collection<Point> points){
  return polygon(points.toArray(new Point[points.size()]));
}

public static Polygon polygon ( Collection < Point > points ) { return polygon ( points . toArray ( new Point [ points . size ( ) ] ) ) ; }
creates a polygon instance from the specified points
