| Constructor and Description | 
|---|
IntRect()  | 
IntRect(int x,
       int y,
       int width,
       int height)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
contains(IntCoords coords)
Tests whether the given coordinates lie within the rectangle. 
 | 
boolean | 
equals(Object o)  | 
IntCoords | 
getBottomRight()
Gets the bottom right coordinate of the rectangle. 
 | 
IntCoords | 
getTopLeft()
Gets the top left coordinate of the rectangle. 
 | 
int | 
hashCode()  | 
IntRect | 
intersection(IntRect r)
Returns a Rect representing the intersection of this Rect with the given
 Rect. 
 | 
boolean | 
intersects(IntRect r)
Returns true if this rect intersects the given rect. 
 | 
String | 
toString()  | 
public IntRect()
public IntRect(int x,
               int y,
               int width,
               int height)
public boolean intersects(IntRect r)
public IntRect intersection(IntRect r)
public boolean contains(IntCoords coords)
public IntCoords getTopLeft()
public IntCoords getBottomRight()
Copyright © 2015–2022 SciJava. All rights reserved.