Point[] p = new Point[4];
for(int i = 0; i < 4; i++){
 p[i] = new Point(i, i);
}