Class LayoutArea
java.lang.Object
com.itextpdf.layout.layout.LayoutArea
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
RootLayoutArea
-
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
-
-
Method Details
-
getPageNumber
public int getPageNumber()Gets the number of page on which the area is located.- Returns:
- page number
-
getBBox
-
setBBox
-
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
-
toString
-