org.apache.tools.ant.types.optional.image
Interface DrawOperation
- 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.
PlanarImage | executeDrawOperation() - Abstract method which is intended to create an image buffer
and return it so it can be drawn into another object.
|
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-2006 Apache Software Foundation. All Rights Reserved.