Class LayoutPage

java.lang.Object
com.codename1.wordprocessing.LayoutPage

public final class LayoutPage extends Object
One page of a DocumentLayout: its size and everything drawn on it, in painting order.
  • Method Details

    • getIndex

      public int getIndex()

      The page's position in the document, from zero.

      Returns

      the index

    • getWidth

      public float getWidth()

      The paper width in points.

      Returns

      the width

    • getHeight

      public float getHeight()

      The paper height in points.

      Returns

      the height

    • getItems

      public List<LayoutItem> getItems()

      Everything drawn on the page, in painting order.

      Returns

      an unmodifiable list