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