Package | Description |
---|---|
net.sf.paperclips |
Core classes for creating printable documents.
|
Modifier and Type | Method and Description |
---|---|
Margins |
PrintJob.getMargins()
Returns the page margins, expressed in points.
|
Margins |
Margins.rotate()
Returns a Margins that is the result of rotating this Margins
counter-clockwise 90 degrees.
|
Modifier and Type | Method and Description |
---|---|
static Rectangle |
PaperClips.getMarginBounds(Margins margins,
Printer printer)
Returns the bounding rectangle of the printable area which is inside the
given margins on the paper.
|
PrintJob |
PrintJob.setMargins(Margins margins)
Sets the page margins.
|