Class RootLayoutArea

java.lang.Object
com.itextpdf.layout.layout.LayoutArea
com.itextpdf.layout.layout.RootLayoutArea
All Implemented Interfaces:
Cloneable

public class RootLayoutArea extends LayoutArea implements Cloneable
Represents the root layout area.
  • Field Details

    • emptyArea

      protected boolean emptyArea
      Indicates whether the area already has some placed content or not.
  • Constructor Details

    • RootLayoutArea

      public RootLayoutArea(int pageNumber, Rectangle bBox)
      Creates the root layout area.
      Parameters:
      pageNumber - the value number of page
      bBox - the bounding box
  • Method Details

    • isEmptyArea

      public boolean isEmptyArea()
      Indicates whether the area already has some placed content or not.
      Returns:
      whether the area is empty or not
    • setEmptyArea

      public void setEmptyArea(boolean emptyArea)
      Defines whether the area already has some placed content or not.
      Parameters:
      emptyArea - indicates whether the area already has some placed content or not.
    • clone

      public LayoutArea clone()
      Creates a "deep copy" of this RootLayoutArea, meaning the object returned by this method will be independent of the object being cloned. Note that although the return type of this method is LayoutArea, the actual type of the returned object is RootLayoutArea.
      Overrides:
      clone in class LayoutArea
      Returns:
      the copied RootLayoutArea.