Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Field | 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 | 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 | 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 | 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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b149-1