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 PageSizeA0static PageSizeA1static PageSizeA10static PageSizeA2static PageSizeA3static PageSizeA4static PageSizeA5static PageSizeA6static PageSizeA7static PageSizeA8static PageSizeA9static PageSizeB0static PageSizeB1static PageSizeB10static PageSizeB2static PageSizeB3static PageSizeB4static PageSizeB5static PageSizeB6static PageSizeB7static PageSizeB8static PageSizeB9static PageSizeDEFAULTstatic PageSizeEXECUTIVEstatic PageSizeLEDGERstatic PageSizeLEGALstatic PageSizeLETTERstatic PageSizeTABLOID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangleclone()Creates a "deep copy" of this PageSize, meaning the object returned by this method will be independent of the object being cloned.PageSizerotate()RotatesPageSizeclockwise.-
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()
-
-