public class Text extends ImageOperation implements DrawOperation
Image
instructions
description, location, project
Constructor and Description |
---|
Text() |
Modifier and Type | Method and Description |
---|---|
javax.media.jai.PlanarImage |
executeDrawOperation()
Draw the text.
|
void |
setBold(boolean state) |
void |
setColor(java.lang.String c)
Set the color of the text.
|
void |
setFont(java.lang.String f)
Set the font to be used to draw the text.
|
void |
setItalic(boolean state) |
void |
setPoint(java.lang.String p)
Set the number of points to be used.
|
void |
setString(java.lang.String str)
Set the string to be used as text.
|
addDraw, addRectangle, addRotate, addScale, addText
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public void setString(java.lang.String str)
str
- the string to be used.public void setFont(java.lang.String f)
f
- the font to be used.public void setPoint(java.lang.String p)
p
- an integer value as a string.public void setColor(java.lang.String c)
c
- the color name.public void setBold(boolean state)
state
- not used at the moment.public void setItalic(boolean state)
state
- not used at the moment.public javax.media.jai.PlanarImage executeDrawOperation()
executeDrawOperation
in interface DrawOperation