class PageSize extends java.lang.Object
The PageSize controls the width and height of the cartographic document.
Type | Name and description |
---|---|
static java.lang.Object |
C_LANDSCAPE The C sized landscape page size |
static java.lang.Object |
C_PORTRAIT The C sized portrait page size |
static java.lang.Object |
D_LANDSCAPE The D sized landscape page size |
static java.lang.Object |
D_PORTRAIT The D sized portrait page size |
static java.lang.Object |
E_LANDSCAPE The E sized landscape page size |
static java.lang.Object |
E_PORTRAIT The E sized portrait page size |
static java.lang.Object |
LETTER_LANDSCAPE The letter landscape 8.5 x 11 page size |
static java.lang.Object |
LETTER_PORTRAIT The letter portrait 11 x 8.5 page size |
static java.lang.Object |
TABLOID_LANDSCAPE The tabloid landscape 11 x 17 page size |
static java.lang.Object |
TABLOID_PORTRAIT The tabloid portraait 17 x 11 page size |
int |
height |
int |
width |
Constructor and description |
---|
PageSize
(int width, int height) Create a new PageSize with a width and height |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The C sized landscape page size
The C sized portrait page size
The D sized landscape page size
The D sized portrait page size
The E sized landscape page size
The E sized portrait page size
The letter landscape 8.5 x 11 page size
The letter portrait 11 x 8.5 page size
The tabloid landscape 11 x 17 page size
The tabloid portraait 17 x 11 page size
Groovy Documentation