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_width
instructions
description, 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, setStrokewidth
addDraw, addRectangle, addRotate, addScale, addText
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
protected 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