Class TransformOperation
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.TransformOperation
- All Implemented Interfaces:
Cloneable
- See Also:
-
Field Summary
Fields inherited from class org.apache.tools.ant.types.optional.image.ImageOperation
instructionsFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRectangle(Rectangle instr) Add a rectangle to the operation.abstract javax.media.jai.PlanarImageexecuteTransformOperation(javax.media.jai.PlanarImage img) Performs the transformations.Methods inherited from class org.apache.tools.ant.types.optional.image.ImageOperation
addDraw, addRotate, addScale, addTextMethods 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
-
Constructor Details
-
TransformOperation
public TransformOperation()
-
-
Method Details
-
executeTransformOperation
public abstract javax.media.jai.PlanarImage executeTransformOperation(javax.media.jai.PlanarImage img) Performs the transformations.- Parameters:
img- The image to perform the transformation on.- Returns:
- the transformed image.
-
addRectangle
Add a rectangle to the operation..- Overrides:
addRectanglein classImageOperation- Parameters:
instr- the rectangle to add.
-