Class LineAnnotation

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

public class LineAnnotation extends WritableAnnotation
Class generates Line Annotation
See Also:
  • Constructor Details

    • LineAnnotation

      public LineAnnotation(int page, float x0, float y0, float x1, float y1, float linex0, float liney0, float linex1, float liney1)
      Constructor for creating Ink 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
      linex0 - pdf based min x point of line
      liney0 - pdf based min y point of line
      linex1 - pdf based max x point of line
      liney1 - pdf based min y point of line
    • LineAnnotation

      public LineAnnotation(int page, float x0, float y0, float x1, float y1, FormObject form)
      Constructor for creating Ink 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