Package org.apache.tools.ant.types.optional.imageio

# Class ImageOperation

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.optional.imageio.ImageOperation

All Implemented Interfaces:
  `Cloneable`

Direct Known Subclasses:
  `BasicShape`, `Text`, `TransformOperation`

public abstract class ImageOperation extends DataType

See Also:
  - `ImageIOTask`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final List<ImageOperation>`
  `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`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ImageOperation()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addDraw(Draw instr)`
  Add a draw to the operation.
  `void`
  `addRotate(Rotate instr)`
  Add a rotate to the operation.
  `void`
  `addScale(Scale instr)`
  Add a scale 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, toString`

  ### Methods inherited from class org.apache.tools.ant.ProjectComponent

  `getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### instructions

    protected final List<ImageOperation> instructions

- ## Constructor Details

  - ### ImageOperation

    public ImageOperation()

- ## Method Details

  - ### addRotate

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

  - ### addDraw

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

  - ### addScale

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