Class Ellipse
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.optional.image.ImageOperation
org.apache.tools.ant.types.optional.image.BasicShape
org.apache.tools.ant.types.optional.image.Ellipse
- All Implemented Interfaces:
- Cloneable,- DrawOperation
Draw an ellipse.
- See Also:
- 
Field SummaryFieldsFields inherited from class org.apache.tools.ant.types.optional.image.BasicShapefill, stroke, stroke_widthFields inherited from class org.apache.tools.ant.types.optional.image.ImageOperationinstructionsFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tools.ant.types.optional.image.BasicShapesetFill, setStroke, setStrokewidthMethods inherited from class org.apache.tools.ant.types.optional.image.ImageOperationaddDraw, addRectangle, addRotate, addScale, addTextMethods 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, toStringMethods inherited from class org.apache.tools.ant.ProjectComponentgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
- 
Field Details- 
widthprotected int width
- 
heightprotected int height
 
- 
- 
Constructor Details- 
Ellipsepublic Ellipse()
 
- 
- 
Method Details- 
setWidthpublic void setWidth(int width) Set the width.- Parameters:
- width- the width of the ellipse.
 
- 
setHeightpublic void setHeight(int height) Set the height.- Parameters:
- height- the height of the ellipse.
 
- 
executeDrawOperationpublic 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. Use an Alpha channel for a "transparent" background..- Specified by:
- executeDrawOperationin interface- DrawOperation
- Returns:
- a planar image
 
 
-