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

Class Draw

public class Draw extends TransformOperation

See Also: Image

Field Summary
protected intxloc
protected intyloc
Method Summary
voidaddArc(Arc arc)
Add an arc.
voidaddEllipse(Ellipse elip)
Add an ellipse.
voidaddRectangle(Rectangle rect)
{@inheritDoc}.
voidaddText(Text text)
{@inheritDoc}.
PlanarImageexecuteTransformOperation(PlanarImage image)
{@inheritDoc}.
voidsetXloc(int x)
Set the X location.
voidsetYloc(int y)
Set the Y location.

Field Detail

xloc

protected int xloc

yloc

protected int yloc

Method Detail

addArc

public void addArc(Arc arc)
Add an arc.

Parameters: arc the arc to add.

addEllipse

public void addEllipse(Ellipse elip)
Add an ellipse.

Parameters: elip the ellipse to add.

addRectangle

public void addRectangle(Rectangle rect)
{@inheritDoc}.

addText

public void addText(Text text)
{@inheritDoc}.

executeTransformOperation

public PlanarImage executeTransformOperation(PlanarImage image)
{@inheritDoc}.

setXloc

public void setXloc(int x)
Set the X location.

Parameters: x the value to use.

setYloc

public void setYloc(int y)
Set the Y location.

Parameters: y the value to use.