java.lang.Cloneable
, DrawOperation
public class Rectangle extends BasicShape implements DrawOperation
Image
Modifier and Type | Field | Description |
---|---|---|
protected int |
archeight |
|
protected int |
arcwidth |
|
protected int |
height |
|
protected int |
width |
fill, stroke, stroke_width
instructions
description, location, project
Constructor | Description |
---|---|
Rectangle() |
Modifier and Type | Method | 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
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
addDraw, addRectangle, addRotate, addScale, addText
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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