Class PDAnnotationTextMarkup

    • Constructor Detail

      • PDAnnotationTextMarkup

        protected PDAnnotationTextMarkup​(java.lang.String subType)
        Creates a TextMarkup annotation of the specified sub type.
        Parameters:
        subType - the subtype the annotation represents
      • PDAnnotationTextMarkup

        protected PDAnnotationTextMarkup​(COSDictionary field)
        Creates a TextMarkup annotation from a COSDictionary, expected to be a correct object definition.
        Parameters:
        field - the PDF object to represent as a field.
    • Method Detail

      • setQuadPoints

        public final void setQuadPoints​(float[] quadPoints)
        This will set the set of quadpoints which encompass the areas of this annotation.
        Parameters:
        quadPoints - an array representing the set of area covered
      • getQuadPoints

        public float[] getQuadPoints()
        This will retrieve the set of quadpoints which encompass the areas of this annotation.
        Returns:
        An array of floats representing the quad points.