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

Class Draw

Implemented Interfaces:
Cloneable

public class Draw
extends TransformOperation

See Also:
Image

Field Summary

protected int
xloc
protected int
yloc

Fields inherited from class org.apache.tools.ant.types.optional.image.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

Method Summary

void
addArc(Arc arc)
Add an arc.
void
addEllipse(Ellipse elip)
Add an ellipse.
void
addRectangle(Rectangle rect)
.
void
addText(Text text)
.
PlanarImage
executeTransformOperation(PlanarImage image)
.
void
setXloc(int x)
Set the X location.
void
setYloc(int y)
Set the Y location.

Methods inherited from class org.apache.tools.ant.types.optional.image.TransformOperation

addRectangle, executeTransformOperation

Methods inherited from class org.apache.tools.ant.types.optional.image.ImageOperation

addDraw, addRectangle, addRotate, addScale, addText

Methods inherited from class org.apache.tools.ant.types.DataType

checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes

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

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

Field Details

xloc

protected int xloc

yloc

protected int yloc

Method Details

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)
.
Overrides:
addRectangle in interface TransformOperation

addText

public void addText(Text text)
.
Overrides:
addText in interface ImageOperation

executeTransformOperation

public PlanarImage executeTransformOperation(PlanarImage image)
.
Overrides:
executeTransformOperation in interface TransformOperation

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.