public class Arc extends BasicShape implements DrawOperation
Modifier and Type | Class and Description |
---|---|
static class |
Arc.ArcType |
fill, height, stroke, strokeWidth, width
instructions
description, location, project
Constructor and Description |
---|
Arc() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
executeDrawOperation()
Abstract method which is intended to create an image buffer
and return it so it can be drawn into another object.
|
void |
setStart(int start)
Set the start of the arc.
|
void |
setStop(int stop)
Set the stop of the arc.
|
void |
setType(Arc.ArcType arcType)
Set the type of arc.
|
setFill, setHeight, setStroke, setStrokewidth, setWidth
addDraw, addRotate, addScale
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
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(Arc.ArcType arcType)
arcType
- the type to use - open, pie or chord.public java.awt.image.BufferedImage executeDrawOperation()
executeDrawOperation
in interface DrawOperation