Package com.itextpdf.layout.layout
Class LayoutArea
java.lang.Object
com.itextpdf.layout.layout.LayoutArea
- All Implemented Interfaces:
-
Cloneable
- Direct Known Subclasses:
-
RootLayoutArea
Represents the area for content
layouting
.
-
Field Summary
Modifier and TypeFieldDescriptionprotected Rectangle
The area's bounding boxprotected int
The number of page on which the area is located. -
Constructor Summary
ConstructorDescriptionLayoutArea
(int pageNumber, Rectangle bBox) Creates the area for contentlayouting
. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a "deep copy" of this LayoutArea, meaning the object returned by this method will be independent of the object being cloned.boolean
getBBox()
Gets thebox
which bounds the area.int
Gets the number of page on which the area is located.int
hashCode()
void
Sets thebox
which bounds the area.toString()
-
Field Details
-
pageNumber
protected int pageNumberThe number of page on which the area is located. -
bBox
The area's bounding box
-
-
Constructor Details
-
LayoutArea
Creates the area for contentlayouting
.- Parameters:
-
pageNumber
- the number of page on which the area is located. -
bBox
- the area's bounding box
-
-
Method Details
-
getPageNumber
public int getPageNumber()Gets the number of page on which the area is located.- Returns:
- page number
-
getBBox
Gets thebox
which bounds the area.- Returns:
- the bounding box
-
setBBox
Sets thebox
which bounds the area.- Parameters:
-
bbox
- the area's bounding box
-
clone
Creates a "deep copy" of this LayoutArea, meaning the object returned by this method will be independent of the object being cloned. -
equals
-
hashCode
public int hashCode() -
toString
-