Class ImageOperation
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.optional.image.ImageOperation
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
BasicShape,Text,TransformOperation
public abstract class ImageOperation extends DataType
- See Also:
Image
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Vector<ImageOperation>instructions -
Constructor Summary
Constructors Constructor Description ImageOperation() -
Method Summary
Modifier and Type Method Description voidaddDraw(Draw instr)Add a draw to the operation.voidaddRectangle(Rectangle instr)Add a rectangle to the operation.voidaddRotate(Rotate instr)Add a rotate to the operation.voidaddScale(Scale instr)Add a scale to the operation.voidaddText(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, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringMethods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Field Details
-
Constructor Details
-
ImageOperation
public ImageOperation()
-
-
Method Details
-
addRotate
Add a rotate to the operation.- Parameters:
instr- the rotate to add.
-
addDraw
Add a draw to the operation.- Parameters:
instr- the draw to add.
-
addRectangle
Add a rectangle to the operation.- Parameters:
instr- the rectangle to add.
-
addText
Add text to the operation.- Parameters:
instr- the text to add.
-
addScale
Add a scale to the operation.- Parameters:
instr- the scale to add.
-