Class TextAnnotation

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

public class TextAnnotation extends WritableAnnotation
Class generates Text Annotation / Sticky note annotation
See Also:
  • Constructor Details

    • TextAnnotation

      public TextAnnotation(int page, float x0, float y0, float x1, float y1, org.jpedal.objects.raw.FormObject form)
      Constructor for creating Text Annotation / sticky note 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
      form - formObject for the annotation
    • TextAnnotation

      public TextAnnotation(int page, float x0, float y0, float x1, float y1, String text)
      Constructor for creating Text Annotation / sticky note 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
      text - text to be appeared in text annotation
  • Method Details