Class HighlightAnnotation

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

public class HighlightAnnotation extends WritableAnnotation
Class generates Highlight Annotation
See Also:
  • Constructor Details

    • HighlightAnnotation

      public HighlightAnnotation(int page, float x0, float y0, float x1, float y1, float[] quadPoints)
      Constructor for creating Highlight 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
      quadPoints - 8*n points (please note this points should be drawn in Z like order and should not follow pdf spec as it is a bug in the specification)
    • HighlightAnnotation

      public HighlightAnnotation(int page, float x0, float y0, float x1, float y1, org.jpedal.objects.raw.FormObject form)
      Constructor for creating Highlight 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 holding values
  • Method Details