Class Text
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.optional.image.ImageOperation
org.apache.tools.ant.types.optional.image.Text
- All Implemented Interfaces:
- Cloneable,- DrawOperation
- See Also:
- 
Field SummaryFields inherited from class org.apache.tools.ant.types.optional.image.ImageOperationinstructionsFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tools.ant.types.optional.image.ImageOperationaddDraw, addRectangle, addRotate, addScale, addTextMethods inherited from class org.apache.tools.ant.types.DataTypecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringMethods inherited from class org.apache.tools.ant.ProjectComponentgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
- 
Constructor Details- 
Textpublic Text()
 
- 
- 
Method Details- 
setStringSet the string to be used as text.- Parameters:
- str- the string to be used.
 
- 
setFontSet the font to be used to draw the text.- Parameters:
- f- the font to be used.
 
- 
setPointSet the number of points to be used.- Parameters:
- p- an integer value as a string.
 
- 
setColorSet the color of the text.- Parameters:
- c- the color name.
 
- 
setBoldpublic void setBold(boolean state) - Parameters:
- state- not used at the moment.
- To do:
- is this used?
 
- 
setItalicpublic void setItalic(boolean state) - Parameters:
- state- not used at the moment.
- To do:
- is this used?
 
- 
executeDrawOperationpublic javax.media.jai.PlanarImage executeDrawOperation()Draw the text.- Specified by:
- executeDrawOperationin interface- DrawOperation
- Returns:
- the resultant image.
 
 
-