Dimensionspublic class PrintPage extends java.lang.Object implements Dimensions
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PrintPage.PrintDirection |
Direction of print
|
static class |
PrintPage.Shape |
The shape of the paper
|
| Constructor | Description |
|---|---|
PrintPage(PageFormat inputPage) |
|
PrintPage(PageFormat inputPage,
PrintPage.PrintDirection direction,
EmbosserProperties.PrintMode mode) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getHeight() |
Gets height, in mm.
|
Length |
getLengthAcrossFeed() |
|
Length |
getLengthAlongFeed() |
|
PrintPage.Shape |
getShape() |
|
double |
getWidth() |
Gets width, in mm.
|
public PrintPage(PageFormat inputPage, PrintPage.PrintDirection direction, EmbosserProperties.PrintMode mode)
public PrintPage(PageFormat inputPage)
public Length getLengthAcrossFeed()
public Length getLengthAlongFeed()
public double getWidth()
DimensionsgetWidth in interface Dimensionspublic double getHeight()
DimensionsgetHeight in interface Dimensionspublic PrintPage.Shape getShape()