public class Rectangle extends BasicShape implements DrawOperation
Image| Modifier and Type | Field and Description | 
|---|---|
| protected int | archeight | 
| protected int | arcwidth | 
| protected int | height | 
| protected int | width | 
fill, stroke, stroke_widthinstructionsdescription, location, project| Constructor and Description | 
|---|
| Rectangle() | 
| Modifier and Type | Method and Description | 
|---|---|
| javax.media.jai.PlanarImage | executeDrawOperation()Abstract method which is intended to create an image buffer
 and return it so it can be drawn into another object. | 
| void | setArcheight(int h)Set the arc height. | 
| void | setArcwidth(int w)Set the arc width. | 
| void | setHeight(int h)Set the height. | 
| void | setWidth(int w)Set the width. | 
setFill, setStroke, setStrokewidthaddDraw, addRectangle, addRotate, addScale, addTextcheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectprotected int width
protected int height
protected int arcwidth
protected int archeight
public void setWidth(int w)
w - the value to use.public void setHeight(int h)
h - the value to use.public void setArcwidth(int w)
w - the value to use.public void setArcheight(int h)
h - the value to use.public javax.media.jai.PlanarImage executeDrawOperation()
executeDrawOperation in interface DrawOperation