public class PageSize extends Object
Modifier and Type | Field and Description |
---|---|
static PageSize |
A0
A rectangle the size of A0 Paper.
|
static PageSize |
A1
A rectangle the size of A1 Paper.
|
static PageSize |
A2
A rectangle the size of A2 Paper.
|
static PageSize |
A3
A rectangle the size of A3 Paper.
|
static PageSize |
A4
A rectangle the size of A4 Paper.
|
static PageSize |
A5
A rectangle the size of A5 Paper.
|
static PageSize |
A6
A rectangle the size of A6 Paper.
|
static PageSize |
EXECUTIVE
A rectangle the size of U.S.
|
static PageSize |
LEDGER
A rectangle the size of U.S.
|
static PageSize |
LEGAL
A rectangle the size of U.S.
|
static PageSize |
LETTER
A rectangle the size of U.S.
|
static PageSize |
TABLOID
A rectangle the size of U.S.
|
Constructor and Description |
---|
PageSize(float width,
float height) |
PageSize(float width,
float height,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static PageSize |
fromInches(float widthInch,
float heightInch) |
float |
getHeight() |
String |
getName() |
float |
getWidth() |
int |
hashCode() |
PageSize |
rotate() |
String |
toString() |
public static final PageSize LETTER
public static final PageSize LEGAL
public static final PageSize LEDGER
public static final PageSize TABLOID
public static final PageSize EXECUTIVE
public static final PageSize A0
public static final PageSize A1
public static final PageSize A2
public static final PageSize A3
public static final PageSize A4
public static final PageSize A5
public static final PageSize A6
public PageSize(float width, float height, String name)
public PageSize(float width, float height)
Copyright © 2019 sejda. All rights reserved.