public class RollPaperFormat extends AbstractPageFormat
PageFormat.Type| Constructor and 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 and 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
|
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 AbstractPageFormat