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
FieldsModifier and TypeFieldDescriptionprotected RectangleThe area's bounding boxprotected intThe number of page on which the area is located. -
Constructor Summary
ConstructorsConstructorDescriptionLayoutArea(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.booleangetBBox()Gets theboxwhich bounds the area.intGets the number of page on which the area is located.inthashCode()voidSets theboxwhich 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 theboxwhich bounds the area.- Returns:
- the bounding box
-
setBBox
Sets theboxwhich 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
-