Interface BBox
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
BBoxImpl
public interface BBox extends java.io.SerializableInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Rect>getRect()Gets the rectangles of this bbox.voidsetRect(java.util.List<Rect> rect)Sets the rectangles for this bbox.
-
-
-
Method Detail
-
getRect
java.util.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(java.util.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
-
-