| Package | Description |
|---|---|
| java.awt |
| Modifier and Type | Field and Description |
|---|---|
static PageAttributes.OriginType |
PageAttributes.OriginType.PHYSICAL
The OriginType instance to use for specifying a physical origin.
|
static PageAttributes.OriginType |
PageAttributes.OriginType.PRINTABLE
The OriginType instance to use for specifying a printable origin.
|
| Modifier and Type | Method and Description |
|---|---|
PageAttributes.OriginType |
PageAttributes.getOrigin()
Returns whether drawing at (0, 0) to pages using these attributes
draws at the upper-left corner of the physical page, or at the
upper-left corner of the printable area.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PageAttributes.setOrigin(PageAttributes.OriginType origin)
Specifies whether drawing at (0, 0) to pages using these attributes
draws at the upper-left corner of the physical page, or at the
upper-left corner of the printable area.
|
| Constructor and Description |
|---|
PageAttributes(PageAttributes.ColorType color,
PageAttributes.MediaType media,
PageAttributes.OrientationRequestedType orientationRequested,
PageAttributes.OriginType origin,
PageAttributes.PrintQualityType printQuality,
int[] printerResolution)
Constructs a PageAttributes instance with the specified values for
every attribute.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.