public class Rect
extends java.lang.Object
| Constructor and Description |
|---|
Rect() |
Rect(double[] vals) |
Rect(int x,
int y,
int width,
int height) |
Rect(Point p1,
Point p2) |
Rect(Point p,
Size s) |
| Modifier and Type | Method and Description |
|---|---|
double |
area() |
Point |
br() |
Rect |
clone() |
boolean |
contains(Point p) |
boolean |
empty() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
set(double[] vals) |
Size |
size() |
Point |
tl() |
java.lang.String |
toString() |
public Rect(int x,
int y,
int width,
int height)
public Rect()
public Rect(double[] vals)
public void set(double[] vals)
public Rect clone()
clone in class java.lang.Objectpublic Point tl()
public Point br()
public Size size()
public double area()
public boolean empty()
public boolean contains(Point p)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectGenerated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2