Class BasicShape
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
- All Implemented Interfaces:
- Cloneable,- DrawOperation
Draw a basic shape
- 
Field SummaryFieldsFields 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 TypeMethodDescriptionvoidSet the fill attribute.voidSet the stroke attribute.voidsetStrokewidth(int width) Set the stroke width attribute.Methods 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, setProjectMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tools.ant.types.optional.image.DrawOperationexecuteDrawOperation
- 
Field Details- 
stroke_widthprotected int stroke_width
- 
fill
- 
stroke
 
- 
- 
Constructor Details- 
BasicShapepublic BasicShape()
 
- 
- 
Method Details- 
setFillSet the fill attribute.- Parameters:
- col- the color value to use.
 
- 
setStrokeSet the stroke attribute.- Parameters:
- col- the color value to use.
 
- 
setStrokewidthpublic void setStrokewidth(int width) Set the stroke width attribute.- Parameters:
- width- the value to use.
 
 
-