Class Rectangle
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.Rectangle
- All Implemented Interfaces:
- Cloneable,- DrawOperation
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected intFields 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 SummaryModifier and TypeMethodDescriptionjavax.media.jai.PlanarImageAbstract method which is intended to create an image buffer and return it so it can be drawn into another object.voidsetArcheight(int h) Set the arc height.voidsetArcwidth(int w) Set the arc width.voidsetHeight(int h) Set the height.voidsetWidth(int w) Set the width.Methods 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
- 
arcwidthprotected int arcwidth
- 
archeightprotected int archeight
 
- 
- 
Constructor Details- 
Rectanglepublic Rectangle()
 
- 
- 
Method Details- 
setWidthpublic void setWidth(int w) Set the width.- Parameters:
- w- the value to use.
 
- 
setHeightpublic void setHeight(int h) Set the height.- Parameters:
- h- the value to use.
 
- 
setArcwidthpublic void setArcwidth(int w) Set the arc width.- Parameters:
- w- the value to use.
 
- 
setArcheightpublic void setArcheight(int h) Set the arc height.- Parameters:
- h- the value to use.
 
- 
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
 
 
-