Constructor and Description |
---|
Rectangle2D(double x1,
double y1,
double x2,
double y2)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(double x,
double y) |
void |
extend(double x,
double y) |
double |
getBottom() |
double |
getLeft() |
boolean |
isEmpty() |
String |
toString() |
public Rectangle2D(double x1, double y1, double x2, double y2)
x1
- x value of the first cornery1
- y value of the first cornerx2
- x value of the second cornery2
- y value of the second cornerCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.