Package org.daisy.paper
Class PrintPage
java.lang.Object
org.daisy.paper.PrintPage
- All Implemented Interfaces:
Dimensions
- Author:
- Bert Frees, Joel HÃ¥kansson
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Direction of printstatic enum
The shape of the paper -
Constructor Summary
ConstructorDescriptionPrintPage
(PageFormat inputPage) PrintPage
(PageFormat inputPage, PrintPage.PrintDirection direction, EmbosserProperties.PrintMode mode) -
Method Summary
-
Constructor Details
-
PrintPage
public PrintPage(PageFormat inputPage, PrintPage.PrintDirection direction, EmbosserProperties.PrintMode mode) -
PrintPage
-
-
Method Details
-
getLengthAcrossFeed
-
getLengthAlongFeed
-
getWidth
public double getWidth()Description copied from interface:Dimensions
Gets width, in mm.- Specified by:
getWidth
in interfaceDimensions
- Returns:
- returns width in mm.
-
getHeight
public double getHeight()Description copied from interface:Dimensions
Gets height, in mm.- Specified by:
getHeight
in interfaceDimensions
- Returns:
- returns height in mm.
-
getShape
-