| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.tools.ant.ProjectComponentorg.apache.tools.ant.types.DataTypeorg.apache.tools.ant.types.optional.image.ImageOperationorg.apache.tools.ant.types.optional.image.BasicShapeorg.apache.tools.ant.types.optional.image.ArcField Summary | |
protected int | |
protected int | |
protected int | |
protected int | |
protected int | |
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.ProjectComponent | |
description, location, project | |
Method Summary | |
PlanarImage | |
void |
|
void |
|
void |
|
void |
|
void |
|
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 | |
protected int height
protected int start
protected int stop
protected int type
protected int width
public PlanarImage executeDrawOperation()
.
- Specified by:
- executeDrawOperation in interface DrawOperation
public void setHeight(int height)
Set the height.
- Parameters:
height- the height of the arc.
public void setStart(int start)
Set the start of the arc.
- Parameters:
start- the start of the arc.
public void setStop(int stop)
Set the stop of the arc.
- Parameters:
stop- the stop of the arc.
public void setType(String strType)
Set the type of arc.
- Parameters:
strType- the type to use - open, pie or chord.To do:
- refactor using an EnumeratedAttribute
public void setWidth(int width)
Set the width.
- Parameters:
width- the width of the arc.