Package com.itextpdf.kernel.geom
Class PageSize
java.lang.Object
com.itextpdf.kernel.geom.Rectangle
com.itextpdf.kernel.geom.PageSize
- All Implemented Interfaces:
-
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSizestatic final PageSize -
Constructor Summary
Constructors -
Method Summary
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 Details
-
A0
-
A1
-
A2
-
A3
-
A4
-
A5
-
A6
-
A7
-
A8
-
A9
-
A10
-
B0
-
B1
-
B2
-
B3
-
B4
-
B5
-
B6
-
B7
-
B8
-
B9
-
B10
-
DEFAULT
-
EXECUTIVE
-
LEDGER
-
LEGAL
-
LETTER
-
TABLOID
-
-
Constructor Details
-
PageSize
public PageSize(float width, float height) -
PageSize
-
-
Method Details
-
rotate
RotatesPageSize90 degrees clockwise around the origin(0, 0).This method applies the clockwise point transform to the page origin itself:
(x, y) -> (y, -x), and swaps width and height. The resulting page is therefore anchored at the rotated origin point.- Returns:
-
the rotated
PageSize
-
clone
-