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:
- java.lang.Cloneable,- DrawOperation
 
 public abstract class BasicShape extends ImageOperation implements DrawOperation Draw a basic shape
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringfillprotected java.lang.Stringstrokeprotected intstroke_width- 
Fields inherited from class org.apache.tools.ant.types.optional.image.ImageOperationinstructions
 - 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description BasicShape()
 - 
Method SummaryModifier and Type Method Description voidsetFill(java.lang.String col)Set the fill attribute.voidsetStroke(java.lang.String col)Set 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, addText
 - 
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
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tools.ant.types.optional.image.DrawOperationexecuteDrawOperation
 
- 
 
- 
- 
- 
Method Detail- 
setFillpublic void setFill(java.lang.String col) Set the fill attribute.- Parameters:
- col- the color value to use.
 
 - 
setStrokepublic void setStroke(java.lang.String col) Set 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.
 
 
- 
 
-