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

Class Arc

Implemented Interfaces:
DrawOperation

public class Arc
extends BasicShape
implements DrawOperation

Field Summary

protected int
height
protected int
start
protected int
stop
protected int
type
protected int
width

Fields inherited from class org.apache.tools.ant.types.optional.image.BasicShape

fill, stroke, stroke_width

Fields inherited from class org.apache.tools.ant.types.optional.image.ImageOperation

instructions

Fields inherited from class org.apache.tools.ant.types.DataType

checked, description, ref

Fields inherited from class org.apache.tools.ant.ProjectComponent

project

Method Summary

PlanarImage
executeDrawOperation()
void
setHeight(int height)
void
setStart(int start)
void
setStop(int stop)
void
setType(String str_type)
void
setWidth(int width)

Methods inherited from class org.apache.tools.ant.types.optional.image.BasicShape

setFill, setStroke, setStrokewidth

Methods inherited from class org.apache.tools.ant.types.optional.image.ImageOperation

addDraw, addRectangle, addRotate, addScale, addText

Methods inherited from class org.apache.tools.ant.types.DataType

checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes

Methods inherited from class org.apache.tools.ant.ProjectComponent

getProject, log, log, setProject

Field Details

height

protected int height

start

protected int start

stop

protected int stop

type

protected int type

width

protected int width

Method Details

executeDrawOperation

public PlanarImage executeDrawOperation()
Specified by:
executeDrawOperation in interface DrawOperation

setHeight

public void setHeight(int height)

setStart

public void setStart(int start)

setStop

public void setStop(int stop)

setType

public void setType(String str_type)
To do:
refactor using an EnumeratedAttribute

setWidth

public void setWidth(int width)

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.