Class BoundingBox


  • public class BoundingBox
    extends Object
    Bounding box that defines a region of an image.
    • Constructor Detail

      • BoundingBox

        public BoundingBox()
    • Method Detail

      • left

        public double left()
        Get the left value.
        Returns:
        the left value
      • withLeft

        public BoundingBox withLeft​(double left)
        Set the left value.
        Parameters:
        left - the left value to set
        Returns:
        the BoundingBox object itself.
      • top

        public double top()
        Get the top value.
        Returns:
        the top value
      • withTop

        public BoundingBox withTop​(double top)
        Set the top value.
        Parameters:
        top - the top value to set
        Returns:
        the BoundingBox object itself.
      • width

        public double width()
        Get the width value.
        Returns:
        the width value
      • withWidth

        public BoundingBox withWidth​(double width)
        Set the width value.
        Parameters:
        width - the width value to set
        Returns:
        the BoundingBox object itself.
      • height

        public double height()
        Get the height value.
        Returns:
        the height value
      • withHeight

        public BoundingBox withHeight​(double height)
        Set the height value.
        Parameters:
        height - the height value to set
        Returns:
        the BoundingBox object itself.