public final class Rectangle extends Object
| Constructor and Description |
|---|
Rectangle(double xMin,
double yMin,
double xMax,
double yMax) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
estimateMemorySize() |
double |
getHeight() |
double |
getWidth() |
double |
getXMax() |
double |
getXMin() |
double |
getYMax() |
double |
getYMin() |
int |
hashCode() |
Rectangle |
intersection(Rectangle other) |
boolean |
intersects(Rectangle other) |
Rectangle |
merge(Rectangle other) |
String |
toString() |
public double getXMin()
public double getYMin()
public double getXMax()
public double getYMax()
public double getWidth()
public double getHeight()
public boolean intersects(Rectangle other)
public int estimateMemorySize()
Copyright © 2012–2019. All rights reserved.