org.apache.tools.ant.types.optional.image
public class Text extends ImageOperation implements DrawOperation
See Also: Image
Method Summary | |
---|---|
PlanarImage | executeDrawOperation()
Draw the text. |
void | setBold(boolean state) |
void | setColor(String c)
Set the color of the text. |
void | setFont(String f)
Set the font to be used to draw the text. |
void | setItalic(boolean state) |
void | setPoint(String p)
Set the number of points to be used. |
void | setString(String str)
Set the string to be used as text. |
Returns: the resultant image.
Parameters: state not used at the moment.
UNKNOWN: is this used?
Parameters: c the color name.
Parameters: f the font to be used.
Parameters: state not used at the moment.
UNKNOWN: is this used?
Parameters: p an integer value as a string.
Parameters: str the string to be used.