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

Class Rectangle

Implemented Interfaces:
Cloneable, DrawOperation

public class Rectangle
extends BasicShape
implements DrawOperation

See Also:
Image

Field Summary

protected int
archeight
protected int
arcwidth
protected int
height
protected int
width

Fields inherited from class org.apache.tools.ant.types.optional.image.BasicShape

fill, stroke, stroke_width

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

PlanarImage
executeDrawOperation()
.
void
setArcheight(int h)
Set the arc height.
void
setArcwidth(int w)
Set the arc width.
void
setHeight(int h)
Set the height.
void
setWidth(int w)
Set the width.

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

setFill, setStroke, setStrokewidth

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

archeight

protected int archeight

arcwidth

protected int arcwidth

height

protected int height

width

protected int width

Method Details

executeDrawOperation

public PlanarImage executeDrawOperation()
.
Specified by:
executeDrawOperation in interface DrawOperation

setArcheight

public void setArcheight(int h)
Set the arc height.
Parameters:
h - the value to use.

setArcwidth

public void setArcwidth(int w)
Set the arc width.
Parameters:
w - the value to use.

setHeight

public void setHeight(int h)
Set the height.
Parameters:
h - the value to use.

setWidth

public void setWidth(int w)
Set the width.
Parameters:
w - the value to use.