Class InkAnnotation

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

public class InkAnnotation extends WritableAnnotation
Class generates Ink Annotation (can be used as Pen or simple signature annotation)
See Also:
  • Constructor Details

    • InkAnnotation

      public InkAnnotation(int page, float x0, float y0, float x1, float y1, List<float[]> inkList)
      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
      inkList - list of x,y points array (more points creates nice curve)
    • InkAnnotation

      public InkAnnotation(int page, float x0, float y0, float x1, float y1, org.jpedal.objects.raw.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