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();
    }
   
   
   
}

你可能感兴趣的:(算法)