Added getX0,getY0,getX1,getY1 method to Shape