Interface BBox

All Superinterfaces:
Serializable
All Known Implementing Classes:
BBoxImpl

public interface BBox extends Serializable

Interface for the bbox XML type.

Interface for the bbox XML type, implemented in BBoxImpl.
bbox describes the bounding box of a page element (element, placeholder or comet group).
The bounding box is the rectangle, that would cover the area from the topmost-leftmost to the bottomost-rightmost points of an element.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the rectangles of this bbox.
    void
    setRect(List<Rect> rect)
    Sets the rectangles for this bbox.
  • Method Details

    • getRect

      List<Rect> getRect()

      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).

      Returns:
      rectangle or list of rectangles of this bbox
    • setRect

      void setRect(List<Rect> rect)

      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).

      Parameters:
      rect - the new rect