public final class PdfRotator
extends Object
Handles rotations on a given PDDocument.
- Author:
- Andrea Vacondio
-
Constructor Summary
Constructors
PdfRotator(org.sejda.sambox.pdmodel.PDDocument document)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PdfRotator
public PdfRotator(org.sejda.sambox.pdmodel.PDDocument document)
-
Method Details
-
rotate
public void rotate(int pageNumber,
Rotation rotation)
-
rotate
public static void rotate(org.sejda.sambox.pdmodel.PDPage page,
Rotation rotation)