Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
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
Image
Field Summary |
Fields inherited from class org.apache.tools.ant.types.optional.image.ImageOperation | |
instructions |
Fields inherited from class org.apache.tools.ant.ProjectComponent | |
description , location , project |
Method Summary | |
PlanarImage |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.apache.tools.ant.types.optional.image.ImageOperation | |
addDraw , addRectangle , addRotate , addScale , addText |
Methods inherited from class org.apache.tools.ant.types.DataType | |
checkAttributesAllowed , checkChildrenAllowed , circularReference , clone , dieOnCircularReference , dieOnCircularReference , dieOnCircularReference , getCheckedRef , getCheckedRef , getCheckedRef , getCheckedRef , getDataTypeName , getRefid , invokeCircularReferenceCheck , isChecked , isReference , noChildrenAllowed , setChecked , setRefid , toString , tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent | |
clone , getDescription , getLocation , getProject , log , log , setDescription , setLocation , setProject |
public PlanarImage executeDrawOperation()
Draw the text.
- Specified by:
- executeDrawOperation in interface DrawOperation
- Returns:
- the resultant image.
public void setBold(boolean state)
- Parameters:
state
- not used at the moment.To do:
- is this used?
public void setColor(String c)
Set the color of the text.
- Parameters:
c
- the color name.
public void setFont(String f)
Set the font to be used to draw the text.
- Parameters:
f
- the font to be used.
public void setItalic(boolean state)
- Parameters:
state
- not used at the moment.To do:
- is this used?
public void setPoint(String p)
Set the number of points to be used.
- Parameters:
p
- an integer value as a string.
public void setString(String str)
Set the string to be used as text.
- Parameters:
str
- the string to be used.