org.apache.tools.ant.types.optional.image

Class ImageOperation

Implemented Interfaces:
Cloneable
Known Direct Subclasses:
BasicShape, Text, TransformOperation

public abstract class ImageOperation
extends DataType

See Also:
Image

Field Summary

protected Vector
instructions

Fields inherited from class org.apache.tools.ant.types.DataType

checked, ref

Fields inherited from class org.apache.tools.ant.ProjectComponent

description, location, project

Method Summary

void
addDraw(Draw instr)
Add a draw to the operation.
void
addRectangle(Rectangle instr)
Add a rectangle to the operation.
void
addRotate(Rotate instr)
Add a rotate to the operation.
void
addScale(Scale instr)
Add a scale to the operation.
void
addText(Text instr)
Add text to the operation.

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

Field Details

instructions

protected Vector instructions

Method Details

addDraw

public void addDraw(Draw instr)
Add a draw to the operation.
Parameters:
instr - the draw to add.

addRectangle

public void addRectangle(Rectangle instr)
Add a rectangle to the operation.
Parameters:
instr - the rectangle to add.

addRotate

public void addRotate(Rotate instr)
Add a rotate to the operation.
Parameters:
instr - the rotate to add.

addScale

public void addScale(Scale instr)
Add a scale to the operation.
Parameters:
instr - the scale to add.

addText

public void addText(Text instr)
Add text to the operation.
Parameters:
instr - the text to add.