public interface PageDefinition extends Cloneable, Serializable
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a copy of the page definition.
|
float |
getHeight()
Returns the total height of the logical page.
|
int |
getPageCount()
Returns the number of physical pages in this logical page definition.
|
PageFormat |
getPageFormat(int pos)
Returns the page format for the given page number.
|
Rectangle2D |
getPagePosition(int index)
Describes the internal position of the given page within the logical page.
|
Rectangle2D[] |
getPagePositions()
Returns all page positions as array.
|
float |
getWidth()
Returns the total width of the logical page.
|
float getWidth()
float getHeight()
int getPageCount()
Rectangle2D[] getPagePositions()
getPagePosition(int)
Rectangle2D getPagePosition(int index)
index
- the index of the physical pageformatPageFormat getPageFormat(int pos)
pos
- the position of the pageformat within the pageObject clone() throws CloneNotSupportedException
CloneNotSupportedException
- if cloning failed for some reason.