| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| Modifier and Type | Field and Description |
|---|---|
static PageAttributes |
PageAttributes.OriginType.PHYSICAL
The OriginType instance to use for specifying a physical origin.
|
static PageAttributes |
PageAttributes.OriginType.PRINTABLE
The OriginType instance to use for specifying a printable origin.
|
| Modifier and Type | Method and Description |
|---|---|
PageAttributes |
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
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
Constructs a PageAttributes instance with the specified values for every attribute.
|