java.lang.Cloneablepublic class Draw extends TransformOperation
Image| Modifier and Type | Field | Description |
|---|---|---|
protected int |
xloc |
|
protected int |
yloc |
instructionsdescription, location, project| Constructor | Description |
|---|---|
Draw() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addArc(Arc arc) |
Add an arc.
|
void |
addEllipse(Ellipse elip) |
Add an ellipse.
|
void |
addRectangle(Rectangle rect) |
Add a rectangle to the operation.
|
void |
addText(Text text) |
Add text to the operation.
|
javax.media.jai.PlanarImage |
executeTransformOperation(javax.media.jai.PlanarImage image) |
Performs the transformations.
|
void |
setXloc(int x) |
Set the X location.
|
void |
setYloc(int y) |
Set the Y location.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringaddDraw, addRotate, addScaleequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void setXloc(int x)
x - the value to use.public void setYloc(int y)
y - the value to use.public void addRectangle(Rectangle rect)
addRectangle in class TransformOperationrect - the rectangle to add.public void addText(Text text)
addText in class ImageOperationtext - the text to add.public void addEllipse(Ellipse elip)
elip - the ellipse to add.public void addArc(Arc arc)
arc - the arc to add.public javax.media.jai.PlanarImage executeTransformOperation(javax.media.jai.PlanarImage image)
executeTransformOperation in class TransformOperationimage - The image to perform the transformation on.