OpenCV 2.4.11

org.opencv.core

Class Rect

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int height 
      int width 
      int x 
      int y 
    • Field Detail

      • height

        public int height
      • width

        public int width
      • x

        public int x
      • y

        public int y
    • Constructor Detail

      • Rect

        public Rect()
      • Rect

        public Rect(double[] vals)
      • Rect

        public Rect(int x,
            int y,
            int width,
            int height)
    • Method Detail

      • area

        public double area()
      • 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()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object