读书人

A小弟我自己写的connection连线算法XY

发布时间: 2012-10-24 14:15:58 作者: rapoo

A我自己写的connection连线算法XY
package Draw2D_1;

public class PointXY
{
private int x;
private int y;

public PointXY(int x,int y){
this.x = x;
this.y = y;
}

public int getX()
{
return x;
}
public void setX(int x)
{
this.x = x;
}
public int getY()
{
return y;
}
public void setY(int y)
{
this.y = y;
}

@Override
public String toString()
{
// TODO Auto-generated method stub
return super.toString();
}



}

读书人网 >软件架构设计

热点推荐