public int getWidth() { return Math.abs(startVertex.getX() - endVertex.getX()); }
public int getHeight() { return Math.abs(startVertex.getY() - endVertex.getY()); }
/* (non-Javadoc) * @see com.cosylab.vdct.graphics.objects.VisibleObject#getY() */ public int getY() { return Math.min(startVertex.getY(), endVertex.getY()); }