Package org.jpedal.manipulator
Class RotatePage
java.lang.Object
org.jpedal.manipulator.RotatePage
- All Implemented Interfaces:
Manipulation
Rotates pages by the specified angle (current page rotation + supplied angle)
To set a page's rotation, see SetRotation
-
Constructor Summary
ConstructorsConstructorDescriptionRotatePage
(PageRanges pages, int angle) Rotates pages by the specified angle. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.jpedal.io.annotation.utils.AnnotInfo info) Applies the manipulation to the current document
-
Constructor Details
-
RotatePage
Rotates pages by the specified angle.- Parameters:
pages
- the pages to rotateangle
- the number of degrees by which the page shall be rotated clockwise. Must be a multiple of 90
-
-
Method Details
-
apply
Description copied from interface:Manipulation
Applies the manipulation to the current document- Specified by:
apply
in interfaceManipulation
- Parameters:
info
- theAnnotInfo
object for the currently loaded document- Throws:
IOException
- if the manipulation cannot be applied to the document
-