org.opencv.core
Class Rect
java.lang.Object
org.opencv.core.Rect
public class Rect
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
height
public int height
width
public int width
x
public int x
y
public int y
Rect
public Rect()
Rect
public Rect(double[] vals)
Rect
public Rect(int x,
int y,
int width,
int height)
Rect
public Rect(Point p1,
Point p2)
Rect
public Rect(Point p,
Size s)
area
public double area()
br
public Point br()
clone
public Rect clone()
- Overrides:
clone in class java.lang.Object
contains
public boolean contains(Point p)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
set
public void set(double[] vals)
size
public Size size()
tl
public Point tl()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object