public interface FreeText extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
ALIGN_BOTTOM |
static int |
ALIGN_CENTER |
static int |
ALIGN_LEFT |
static int |
ALIGN_RIGHT |
static int |
ALIGN_TOP |
static java.lang.String |
COURIER |
static java.lang.String |
FREE_TEXT_TYPEWRITER |
static java.lang.String |
HELVETICA |
static java.lang.String |
TIMESROMAN |
BORDERSTYLE_BEVELED, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY
Modifier and Type | Method and Description |
---|---|
int |
getAlignHorizontal() |
int |
getAlignVertical() |
int |
getBorderColor() |
java.lang.String |
getContents()
Returns the string contents for this annotation.
|
Typeface |
getFont() |
java.lang.String |
getFontName() |
float |
getFontSize() |
java.lang.String |
getIntent()
Returns the description of the intent of the FreeText Annotation
|
int |
getRotation() |
int |
getTextColor() |
boolean |
hasFillColor()
Returns true if this annotation has a fill color.
|
void |
setAlignHorizontal(int align) |
void |
setAlignVertical(int align) |
void |
setBorderColor(int borderColor) |
void |
setContents(java.lang.String contents)
Sets the string contents for this annotation.
|
void |
setFont(java.lang.String font) |
void |
setFontSize(float textSize) |
void |
setHasFillColor(boolean hasFillColor)
Set to true to use the fill color.
|
void |
setIntent(java.lang.String intent)
Set the description of the intent of the FreeText Annotation
|
void |
setRotation(int rotation) |
void |
setTextColor(int textColor) |
getActions, getAlpha, getBorderStyle, getBorderWidth, getColor, getCreationDate, getCreator, getDrawingPicture, getFlags, getName, getPage, getRectangle, getSubtype, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, print, setActions, setAlpha, setBorderStyle, setBorderWidth, setColor, setCreationDate, setCreator, setFlags, setHidden, setInvisible, setLayer, setLocked, setName, setNoRotate, setNoView, setNoZoom, setPrintable, setReadOnly, setRectangle, setSubtype, setTriggerActions, shiftRectangle
static final int ALIGN_LEFT
static final int ALIGN_CENTER
static final int ALIGN_RIGHT
static final int ALIGN_TOP
static final int ALIGN_BOTTOM
static final java.lang.String FREE_TEXT_TYPEWRITER
static final java.lang.String HELVETICA
static final java.lang.String COURIER
static final java.lang.String TIMESROMAN
java.lang.String getContents()
getContents
in interface Annotation
void setContents(java.lang.String contents)
int getAlignHorizontal()
void setAlignHorizontal(int align)
int getAlignVertical()
void setAlignVertical(int align)
Typeface getFont()
java.lang.String getFontName()
int getTextColor()
void setTextColor(int textColor)
int getBorderColor()
void setBorderColor(int borderColor)
int getRotation()
void setRotation(int rotation)
java.lang.String getIntent()
void setIntent(java.lang.String intent)
intent
- the intent to setvoid setFontSize(float textSize)
void setHasFillColor(boolean hasFillColor)
hasFillColor
- boolean hasFillColor()
float getFontSize()
void setFont(java.lang.String font)