public class FDFAnnotationFreeText extends FDFAnnotation
Modifier and Type | Field and Description |
---|---|
static String |
SUBTYPE
COS Model value for SubType entry.
|
annot
Constructor and Description |
---|
FDFAnnotationFreeText()
Default constructor.
|
FDFAnnotationFreeText(COSDictionary a)
Constructor.
|
FDFAnnotationFreeText(Element element)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getJustification()
This will get the form of quadding (justification) of the annotation text.
|
String |
getRotation()
This will get the clockwise rotation in degrees.
|
void |
setJustification(String justification)
This will set the form of quadding (justification) of the annotation text.
|
void |
setRotation(int rotation)
This will set the clockwise rotation in degrees.
|
create, getBorderEffect, getBorderStyle, getColor, getContents, getCOSObject, getCreationDate, getDate, getIntent, getName, getOpacity, getPage, getRectangle, getRichContents, getStringOrStream, getSubject, getTitle, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setBorderEffect, setBorderStyle, setColor, setContents, setCreationDate, setDate, setHidden, setIntent, setInvisible, setLocked, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPage, setPrinted, setReadOnly, setRectangle, setRichContents, setSubject, setTitle, setToggleNoView
public static final String SUBTYPE
public FDFAnnotationFreeText()
public FDFAnnotationFreeText(COSDictionary a)
a
- An existing FDF Annotation.public FDFAnnotationFreeText(Element element) throws IOException
element
- An XFDF element.IOException
- If there is an error extracting information from the element.public void setJustification(String justification)
justification
- The quadding of the text.public String getJustification()
public void setRotation(int rotation)
rotation
- The number of degrees of clockwise rotation.public String getRotation()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.