Class BBoxImpl

  • All Implemented Interfaces:
    BBox, java.io.Serializable

    public class BBoxImpl
    extends java.lang.Object
    implements java.io.Serializable, BBox
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BBoxImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Rect> getRect()
      Gets the rectangles of this bbox.
      void setRect​(java.util.List<Rect> rect)
      Sets the rectangles for this bbox.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BBoxImpl

        public BBoxImpl()
    • Method Detail

      • getRect

        public java.util.List<Rect> getRect()
        Description copied from interface: BBox

        Gets the rectangles of this bbox.

        Gets the rectangles of this bbox. If the list contains more than one rectangle, the first one describes the rectangle in normal position and the second one including transformation (such as skew or rotation).

        Specified by:
        getRect in interface BBox
        Returns:
        rectangle or list of rectangles of this bbox
      • setRect

        public void setRect​(java.util.List<Rect> rect)
        Description copied from interface: BBox

        Sets the rectangles for this bbox.

        Sets the rectangles for this bbox. If the list contains more than one rectangle, the first one should describe the rectangle in normal position and the second one including transformation (such as skew or rotation).

        Specified by:
        setRect in interface BBox
        Parameters:
        rect - the new rect