public class Box extends Object implements Serializable, Cloneable
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
asRectangle2D() |
Object |
clone() |
boolean |
equals(Object obj) |
Point |
getP1() |
Point |
getP2() |
int |
hashCode() |
public Point getP1()
public Point getP2()
public Rectangle2D asRectangle2D()
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2014–2016. All rights reserved.