public class Arc extends BasicShape implements DrawOperation
| Modifier and Type | Field and Description | 
|---|---|
| protected int | height | 
| protected int | start | 
| protected int | stop | 
| protected int | type | 
| protected int | width | 
fill, stroke, stroke_widthinstructionsdescription, location, project| Constructor and Description | 
|---|
| Arc() | 
| Modifier and Type | Method and Description | 
|---|---|
| javax.media.jai.PlanarImage | executeDrawOperation()Abstract method which is intended to create an image buffer
 and return it so it can be drawn into another object. | 
| void | setHeight(int height)Set the height. | 
| void | setStart(int start)Set the start of the arc. | 
| void | setStop(int stop)Set the stop of the arc. | 
| void | setType(java.lang.String strType)Set the type of arc. | 
| void | setWidth(int width)Set the width. | 
setFill, setStroke, setStrokewidthaddDraw, addRectangle, addRotate, addScale, addTextcheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectprotected int width
protected int height
protected int start
protected int stop
protected int type
public void setWidth(int width)
width - the width of the arc.public void setHeight(int height)
height - the height of the arc.public void setStart(int start)
start - the start of the arc.public void setStop(int stop)
stop - the stop of the arc.public void setType(java.lang.String strType)
strType - the type to use - open, pie or chord.public javax.media.jai.PlanarImage executeDrawOperation()
executeDrawOperation in interface DrawOperation