public class AnnotationUtil
extends java.lang.Object
Constructor and Description |
---|
AnnotationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
annotatePage(PDDocument document,
java.lang.String coords,
int seed) |
static void |
annotatePage(PDDocument document,
java.lang.String coords,
int seed,
int lineWidth) |
static BoundingBox |
getBoundingBoxForPdf(PDDocument document,
java.lang.String coords) |
static java.lang.String |
getCoordString(BoundingBox b) |
static java.lang.String |
getCoordString(int page,
double x,
double y,
double w,
double h) |
public static BoundingBox getBoundingBoxForPdf(PDDocument document, java.lang.String coords)
public static void annotatePage(PDDocument document, java.lang.String coords, int seed) throws java.io.IOException
java.io.IOException
public static void annotatePage(PDDocument document, java.lang.String coords, int seed, int lineWidth) throws java.io.IOException
java.io.IOException
public static java.lang.String getCoordString(BoundingBox b)
public static java.lang.String getCoordString(int page, double x, double y, double w, double h)