|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.tools.kernel.PDFGeometryTools
public class PDFGeometryTools
Tool class for calculations regarding the PDF geometry.
Method Summary | |
---|---|
static void |
adjustTransform(AffineTransform transform,
int rotate,
Rectangle2D rect)
Given a transformation in user space, apply the necessary transformation steps to move the origin of the coordinate system to the lower left corner of rect after rotating it clockwise by
rotate . |
static int |
normalizeRotate(int rotation)
Normalize the rotation parameter to a positive multiple of 90 between 0 and 270. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int normalizeRotate(int rotation)
rotation
-
public static void adjustTransform(AffineTransform transform, int rotate, Rectangle2D rect)
rect
after rotating it clockwise by
rotate
.
transform
is modified, rect
is read only.
transform
- rotate
- rect
-
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |