java.lang.Cloneable, DrawOperationpublic class Rotate extends TransformOperation implements DrawOperation
Image| Modifier and Type | Field | Description |
|---|---|---|
protected float |
angle |
instructionsdescription, 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, toStringaddDraw, addRotate, addScale, addTextequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectaddRectanglepublic 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 TransformOperationimage - The image to perform the transformation on.public javax.media.jai.PlanarImage executeDrawOperation()
executeDrawOperation in interface DrawOperation