|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.optional.image.ImageOperation
org.apache.tools.ant.types.optional.image.TransformOperation
org.apache.tools.ant.types.optional.image.Rotate
ImageOperation to rotate an image by a certain degree
Image| Field Summary | |
|---|---|
protected float |
angle
|
| Fields inherited from class org.apache.tools.ant.types.optional.image.ImageOperation |
|---|
instructions |
| Fields inherited from class org.apache.tools.ant.types.DataType |
|---|
checked, description, ref |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
Rotate()
|
|
| Method Summary | |
|---|---|
PlanarImage |
executeDrawOperation()
Performs the image rotation when being handled as a DrawOperation. |
PlanarImage |
executeTransformOperation(PlanarImage image)
Performs the image rotation when being handled as a TransformOperation. |
PlanarImage |
performRotate(PlanarImage image)
|
void |
setAngle(java.lang.String ang)
Sets the angle of rotation in degrees. |
| Methods inherited from class org.apache.tools.ant.types.optional.image.TransformOperation |
|---|
addRectangle |
| Methods inherited from class org.apache.tools.ant.types.optional.image.ImageOperation |
|---|
addDraw, addRotate, addScale, addText |
| Methods inherited from class org.apache.tools.ant.types.DataType |
|---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, log, log, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected float angle
| Constructor Detail |
public Rotate()
| Method Detail |
public void setAngle(java.lang.String ang)
ang - The angle at which to rotate the imagepublic PlanarImage performRotate(PlanarImage image)
public PlanarImage executeTransformOperation(PlanarImage image)
executeTransformOperation in class TransformOperationimage - The image to perform the transformation on.public PlanarImage executeDrawOperation()
executeDrawOperation in interface DrawOperation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||