PageFormatpublic class RollPaperFormat extends AbstractPageFormat
PageFormat.Type| Constructor | Description |
|---|---|
RollPaperFormat(Length acrossPaperFeed,
Length alongPaperFeed) |
Creates a new roll paper format
|
RollPaperFormat(RollPaper paper,
Length length) |
Creates a new roll paper format
|
| Modifier and Type | Method | Description |
|---|---|---|
RollPaperFormat |
asRollPaperFormat() |
Returns this PageFormat as a RollPaperFormat
|
Length |
getLengthAcrossFeed() |
Gets the length of the paper perpendicular to the direction of the paper feed
|
Length |
getLengthAlongFeed() |
Gets the length of the paper along the direction of the paper feed
|
PageFormat.Type |
getPageFormatType() |
Gets the paper in this paper format
|
java.lang.String |
toString() |
asSheetPaperFormat, asTractorPaperFormatpublic RollPaperFormat(RollPaper paper, Length length)
paper - the roll paper to uselength - the cut-lengthpublic Length getLengthAcrossFeed()
public Length getLengthAlongFeed()
public PageFormat.Type getPageFormatType()
PageFormatpublic RollPaperFormat asRollPaperFormat()
PageFormatasRollPaperFormat in interface PageFormatasRollPaperFormat in class AbstractPageFormatpublic java.lang.String toString()
toString in class java.lang.Object