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

Class Draw


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, description, ref

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

project

Method Summary

void
addArc(Arc arc)
void
addEllipse(Ellipse elip)
void
addRectangle(Rectangle rect)
void
addText(Text text)
PlanarImage
executeTransformOperation(PlanarImage image)
void
setXloc(int x)
void
setYloc(int y)

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, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes

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

getProject, log, log, setProject

Field Details

xloc

protected int xloc

yloc

protected int yloc

Method Details

addArc

public void addArc(Arc arc)

addEllipse

public void addEllipse(Ellipse elip)

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)

setYloc

public void setYloc(int y)

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.