public class Ellipse extends BasicShape implements DrawOperation
Image
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected int |
width |
fill, stroke, stroke_width
instructions
description, location, project
Constructor and Description |
---|
Ellipse() |
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 |
setHeight(int height)
Set the height.
|
void |
setWidth(int width)
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
public void setWidth(int width)
width
- the width of the ellipse.public void setHeight(int height)
height
- the height of the ellipse.public javax.media.jai.PlanarImage executeDrawOperation()
executeDrawOperation
in interface DrawOperation