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

Interface DrawOperation

Known Implementing Classes:
Arc, BasicShape, Ellipse, Rectangle, Rotate, Scale, Text

public interface DrawOperation

Interface which represents an Operation which is "drawable", such as a Rectangle, Circle or Text. The Operation is responsible for creating its own image buffer and drawing itself into it, then wrapping and returning it as a PlanarImage. This allows multible "drawable" objects to be nested.

See Also:
Image

Method Summary

PlanarImage
executeDrawOperation()
Abstract method which is intended to create an image buffer and return it so it can be drawn into another object.

Method Details

executeDrawOperation

public PlanarImage executeDrawOperation()
Abstract method which is intended to create an image buffer and return it so it can be drawn into another object. Use an Alpha channel for a "transparent" background.


Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.