Class Arc
- java.lang.Object
- 
- org.apache.tools.ant.ProjectComponent
- 
- org.apache.tools.ant.types.DataType
- 
- org.apache.tools.ant.types.optional.imageio.ImageOperation
- 
- org.apache.tools.ant.types.optional.imageio.BasicShape
- 
- org.apache.tools.ant.types.optional.imageio.Arc
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable,- DrawOperation
 
 public class Arc extends BasicShape implements DrawOperation Draw an arc.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classArc.ArcType
 - 
Field Summary- 
Fields inherited from class org.apache.tools.ant.types.optional.imageio.BasicShapefill, height, stroke, strokeWidth, width
 - 
Fields inherited from class org.apache.tools.ant.types.optional.imageio.ImageOperationinstructions
 - 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description Arc()
 - 
Method SummaryModifier and Type Method Description java.awt.image.BufferedImageexecuteDrawOperation()Abstract method which is intended to create an image buffer and return it so it can be drawn into another object.voidsetStart(int start)Set the start of the arc.voidsetStop(int stop)Set the stop of the arc.voidsetType(Arc.ArcType arcType)Set the type of arc.- 
Methods inherited from class org.apache.tools.ant.types.optional.imageio.BasicShapesetFill, setHeight, setStroke, setStrokewidth, setWidth
 - 
Methods inherited from class org.apache.tools.ant.types.optional.imageio.ImageOperationaddDraw, addRotate, addScale
 - 
Methods inherited from class org.apache.tools.ant.types.DataTypecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
 - 
Methods inherited from class org.apache.tools.ant.ProjectComponentgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Method Detail- 
setStartpublic void setStart(int start) Set the start of the arc.- Parameters:
- start- the start of the arc.
 
 - 
setStoppublic void setStop(int stop) Set the stop of the arc.- Parameters:
- stop- the stop of the arc.
 
 - 
setTypepublic void setType(Arc.ArcType arcType) Set the type of arc.- Parameters:
- arcType- the type to use - open, pie or chord.
 
 - 
executeDrawOperationpublic 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. Use an Alpha channel for a "transparent" background..- Specified by:
- executeDrawOperationin interface- DrawOperation
- Returns:
- a planar image
 
 
- 
 
-