public class Rect extends Object
| Constructor and Description |
|---|
Rect(double x,
double y,
double dx,
double dy) |
Rect(Rectangle r) |
Rect(Vector2D c1,
Vector2D c2) |
Rect(Vector2D c1,
Vector2D c2,
double min_dx,
double min_dy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(double x,
double y) |
boolean |
contains(Point p) |
void |
create(Vector2D c1,
Vector2D c2,
double min_dx,
double min_dy) |
void |
inset(double f) |
static boolean |
intersect(Rect r1,
Rect r2) |
Rectangle |
rectangle() |
String |
toString() |
Rect |
union(Rect r) |
public Rectangle r
public Rect(Rectangle r)
public Rect(double x,
double y,
double dx,
double dy)
Copyright © 2013. All rights reserved.