net.claribole.zgrviewer.dot
Class Rectangle
java.lang.Object
net.claribole.zgrviewer.dot.Rectangle
- public class Rectangle
- extends java.lang.Object
Defines a rectangle with its lower left and upper right points
- Author:
- Eric Mounhem
Constructor Summary |
Rectangle(long x1,
long y1,
long x2,
long y2)
Create a new rectangle from 2 point |
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Rectangle
public Rectangle(long x1,
long y1,
long x2,
long y2)
- Create a new rectangle from 2 point
- Parameters:
x1
- y1
- x2
- y2
-
equals
public boolean equals(java.lang.Object obj)
toString
public java.lang.String toString()
Copyright © 2004-2005 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.