java.lang.Cloneable
, DrawOperation
public class Arc extends BasicShape implements DrawOperation
Modifier and Type | Field | Description |
---|---|---|
protected int |
height |
|
protected int |
start |
|
protected int |
stop |
|
protected int |
type |
|
protected int |
width |
fill, stroke, stroke_width
instructions
description, location, project
Constructor | Description |
---|---|
Arc() |
Modifier and Type | Method | 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, setStrokewidth
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
addDraw, addRectangle, addRotate, addScale, addText
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
protected 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