org.apache.tools.ant.types.optional.image

Class BasicShape

public abstract class BasicShape extends ImageOperation implements DrawOperation

Draw a basic shape
Field Summary
protected Stringfill
protected Stringstroke
protected intstroke_width
Method Summary
voidsetFill(String col)
Set the fill attribute.
voidsetStroke(String col)
Set the stroke attribute.
voidsetStrokewidth(int width)
Set the stroke width attribute.

Field Detail

fill

protected String fill

stroke

protected String stroke

stroke_width

protected int stroke_width

Method Detail

setFill

public void setFill(String col)
Set the fill attribute.

Parameters: col the color value to use.

setStroke

public void setStroke(String col)
Set the stroke attribute.

Parameters: col the color value to use.

setStrokewidth

public void setStrokewidth(int width)
Set the stroke width attribute.

Parameters: width the value to use.