Method Summary |
|
public static double | coordinate(Rectangle2D rectangle, RectangleEdge edge) Returns the x or y coordinate of the specified edge.
Parameters: rectangle - the rectangle. Parameters: edge - the edge. |
public boolean | equals(Object o) Returns true if this object is equal to the specified
object, and false otherwise.
Parameters: o - the other object. |
public int | hashCode() Returns a hash code value for the object. |
public static boolean | isLeftOrRight(RectangleEdge edge) Returns true if the edge is LEFT or
RIGHT , and false otherwise.
Parameters: edge - the edge. |
public static boolean | isTopOrBottom(RectangleEdge edge) Returns true if the edge is TOP or
BOTTOM , and false otherwise.
Parameters: edge - the edge. |
public static RectangleEdge | opposite(RectangleEdge edge) Returns the opposite edge.
Parameters: edge - an edge. |
public String | toString() Returns a string representing the object. |