java.lang.Cloneable
, DrawOperation
public class Rotate extends TransformOperation implements DrawOperation
Image
Modifier and Type | Field | Description |
---|---|---|
protected float |
angle |
instructions
description, location, project
Constructor | Description |
---|---|
Rotate() |
Modifier and Type | Method | Description |
---|---|---|
javax.media.jai.PlanarImage |
executeDrawOperation() |
Performs the image rotation when being handled as a DrawOperation.
|
javax.media.jai.PlanarImage |
executeTransformOperation(javax.media.jai.PlanarImage image) |
Performs the image rotation when being handled as a TransformOperation.
|
javax.media.jai.PlanarImage |
performRotate(javax.media.jai.PlanarImage image) |
Rotate an image.
|
void |
setAngle(java.lang.String ang) |
Sets the angle of rotation in degrees.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
addDraw, addRotate, addScale, addText
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
addRectangle
public void setAngle(java.lang.String ang)
ang
- The angle at which to rotate the imagepublic javax.media.jai.PlanarImage performRotate(javax.media.jai.PlanarImage image)
image
- the image to rotate.public javax.media.jai.PlanarImage executeTransformOperation(javax.media.jai.PlanarImage image)
executeTransformOperation
in class TransformOperation
image
- The image to perform the transformation on.public javax.media.jai.PlanarImage executeDrawOperation()
executeDrawOperation
in interface DrawOperation