org.apache.tools.ant.types.DataType
ImageOperation
instructions : Vector
addRotate(Rotate : instr) addDraw(Draw : instr) addText(Text : instr) addScale(Scale : instr)
The setType() method forces type to one of the values of java.awt.geom.Arc2D: open = Arc2D.OPEN pie = Arc2D.PIE chord = Arc2D.CHORD Parameter is not case-sensitive.
BasicShape
stroke_width : int = 0 fill : String = "transparent" stroke : String = "black"
TransformOperation
executeTransformOperation(PlanarImage img) : PlanarImage addRectangle(Rectangle instr)
DrawOperation
executeDrawOperation() : PlanarImage
The implementing class uses ColorMapper to evaluate the color. Only the values defined in ColorMapper are used.
ColorMapper
COLOR_BLACK : String = "black" COLOR_BLUE : String = "blue" COLOR_CYAN : String = "cyan" COLOR_DARKGRAY : String = "darkgray" COLOR_GRAY : String = "gray" COLOR_LIGHTGRAY : String = "lightgray" COLOR_DARKGREY : String = "darkgrey" COLOR_GREY : String = "grey" COLOR_LIGHTGREY : String = "lightgrey" COLOR_GREEN : String = "green" COLOR_MAGENTA : String = "magenta" COLOR_ORANGE : String = "orange" COLOR_PINK : String = "pink" COLOR_RED : String = "red" COLOR_WHITE : String = "white" COLOR_YELLOW : String = "yellow"
Text
string : String = "" font : String = "Arial" point : int = 10 bold : boolean = false color : String = "black" italic : boolean = false
Rotate
angle : float = 0.0F
Scale
width : String = "100%" height : String = "100%" keepProportions : boolean = false
Draw
xloc : int = 0 yloc : int = 0
addEllipse(Ellipse elip) addArc(Arc arc)
Rectangle
height : int = 0 width : int = 0 archeight : int = 0 arcwidth : int = 0
Ellipse
height : int = 0 width : int = 0
Arc
height : int = 0 width : int = 0 start : int = 0 stop : int = 0 type : enumerated = open