Package com.itextpdf.kernel.geom
Class PageSize
- java.lang.Object
-
- com.itextpdf.kernel.geom.Rectangle
-
- com.itextpdf.kernel.geom.PageSize
-
- All Implemented Interfaces:
java.lang.Cloneable
public class PageSize extends Rectangle implements java.lang.Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description static PageSize
A0
static PageSize
A1
static PageSize
A10
static PageSize
A2
static PageSize
A3
static PageSize
A4
static PageSize
A5
static PageSize
A6
static PageSize
A7
static PageSize
A8
static PageSize
A9
static PageSize
B0
static PageSize
B1
static PageSize
B10
static PageSize
B2
static PageSize
B3
static PageSize
B4
static PageSize
B5
static PageSize
B6
static PageSize
B7
static PageSize
B8
static PageSize
B9
static PageSize
DEFAULT
static PageSize
EXECUTIVE
static PageSize
LEDGER
static PageSize
LEGAL
static PageSize
LETTER
static PageSize
TABLOID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle
clone()
Creates a "deep copy" of this PageSize, meaning the object returned by this method will be independent of the object being cloned.PageSize
rotate()
RotatesPageSize
clockwise.-
Methods inherited from class com.itextpdf.kernel.geom.Rectangle
applyMargins, calculateBBox, contains, createBoundingRectangleFromQuadPoint, createBoundingRectanglesFromQuadPoint, decreaseHeight, decreaseWidth, equalsWithEpsilon, equalsWithEpsilon, getBottom, getCommonRectangle, getHeight, getIntersection, getLeft, getRectangleOnRotatedPage, getRight, getTop, getWidth, getX, getY, increaseHeight, increaseWidth, intersectsLine, moveDown, moveLeft, moveRight, moveUp, overlaps, overlaps, setBbox, setHeight, setWidth, setX, setY, toPointsArray, toString
-
-
-
-
Field Detail
-
A0
public static final PageSize A0
-
A1
public static final PageSize A1
-
A2
public static final PageSize A2
-
A3
public static final PageSize A3
-
A4
public static final PageSize A4
-
A5
public static final PageSize A5
-
A6
public static final PageSize A6
-
A7
public static final PageSize A7
-
A8
public static final PageSize A8
-
A9
public static final PageSize A9
-
A10
public static final PageSize A10
-
B0
public static final PageSize B0
-
B1
public static final PageSize B1
-
B2
public static final PageSize B2
-
B3
public static final PageSize B3
-
B4
public static final PageSize B4
-
B5
public static final PageSize B5
-
B6
public static final PageSize B6
-
B7
public static final PageSize B7
-
B8
public static final PageSize B8
-
B9
public static final PageSize B9
-
B10
public static final PageSize B10
-
DEFAULT
public static final PageSize DEFAULT
-
EXECUTIVE
public static final PageSize EXECUTIVE
-
LEDGER
public static final PageSize LEDGER
-
LEGAL
public static final PageSize LEGAL
-
LETTER
public static final PageSize LETTER
-
TABLOID
public static final PageSize TABLOID
-
-
Constructor Detail
-
PageSize
public PageSize(float width, float height)
-
PageSize
public PageSize(Rectangle box)
-
-
Method Detail
-
clone
public Rectangle clone()
-
-