java有根据点画直线的函数吗?
java有根据点画直线的函数吗?
日期:2010-05-26 10:33:16 人气:1
//Point类
public class Point {
private int x;
private int y;
public Point(int x, int y) {
super();
this.x = x;
this.y = y;
}
public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}
public in