Class ImageAnnotation

java.lang.Object
org.jpedal.io.annotation.WritableAnnotation
org.jpedal.io.annotation.ImageAnnotation

public class ImageAnnotation extends WritableAnnotation
Class generates Image Annotations Note: there is no such thing as an image annotation in the PDF spec, so this class generates a Rubber Stamp annotation with a custom AP stream containing the image.
See Also:
  • Constructor Details

    • ImageAnnotation

      public ImageAnnotation(int page, float x0, float y0, float x1, float y1, BufferedImage image)
      Image Annotation
      Parameters:
      page - the page number where annotation to be appeared (starting from 0)
      x0 - pdf based min x point
      y0 - pdf based min y point
      x1 - pdf based max x point
      y1 - pdf based max y point
      image - the image to display
  • Method Details