pro
package poly;
public class pro {
int x=new int[5];
int y=new int[5];
int number,ax,ay;
int vx1,vx2,vy1,vy2;
int x1,y1;
public static void main(String[] args) {
pro test=new pro();
}
pro(){
number=4;
x[1]=50;
y[1]=50;
x[2]=200;
y[2]=50;
x[3]=200;
y[3]=200;
x[4]=50;
y[4]=200;
x1=100;
y1=290;
polygon sub=new polygon();
sub.number=number;
sub.x=x;
sub.y=y;
System.out.println(sub.makedata(x1, y1));
}
}