Class PolyLineAnnotation

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

public class PolyLineAnnotation extends WritableAnnotation
Class generates PolyLine Annotation
See Also:
  • Constructor Details

    • PolyLineAnnotation

      public PolyLineAnnotation(int page, float x0, float y0, float x1, float y1, float[] vertices)
      Constructor for creating PolyLine 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
      vertices - float array of x,y points of polyline
    • PolyLineAnnotation

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