Class FDFAnnotationFreeText

  • All Implemented Interfaces:
    COSObjectable

    public class FDFAnnotationFreeText
    extends FDFAnnotation
    This represents a FreeText FDF annotation.
    • Constructor Detail

      • FDFAnnotationFreeText

        public FDFAnnotationFreeText()
        Default constructor.
      • FDFAnnotationFreeText

        public FDFAnnotationFreeText​(COSDictionary a)
        Constructor.
        Parameters:
        a - An existing FDF Annotation.
      • FDFAnnotationFreeText

        public FDFAnnotationFreeText​(Element element)
                              throws IOException
        Constructor.
        Parameters:
        element - An XFDF element.
        Throws:
        IOException - If there is an error extracting information from the element.
    • Method Detail

      • setJustification

        public void setJustification​(String justification)
        This will set the form of quadding (justification) of the annotation text.
        Parameters:
        justification - The quadding of the text.
      • getJustification

        public String getJustification()
        This will get the form of quadding (justification) of the annotation text.
        Returns:
        The quadding of the text.
      • setRotation

        public void setRotation​(int rotation)
        This will set the clockwise rotation in degrees.
        Parameters:
        rotation - The number of degrees of clockwise rotation.
      • getRotation

        public String getRotation()
        This will get the clockwise rotation in degrees.
        Returns:
        The number of degrees of clockwise rotation.