org.apache.tools.ant.types.optional.image
Class BasicShape
- Cloneable, DrawOperation
public abstract class BasicShape
Draw a basic shape
void | setFill(String col)- Set the fill attribute.
|
void | setStroke(String col)- Set the stroke attribute.
|
void | setStrokewidth(int width)- Set the stroke width attribute.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes |
fill
protected String fill
stroke
protected String stroke
stroke_width
protected int stroke_width
setFill
public void setFill(String col)
Set the fill attribute.
col - the color value to use.
setStroke
public void setStroke(String col)
Set the stroke attribute.
col - the color value to use.
setStrokewidth
public void setStrokewidth(int width)
Set the stroke width attribute.
width - the value to use.