Package it.tidalwave.image.op
Class RotateQuadrantOp
- java.lang.Object
-
- it.tidalwave.image.op.Operation
-
- it.tidalwave.image.op.RotateQuadrantOp
-
public class RotateQuadrantOp extends Operation
- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description RotateQuadrantOp(int degrees)
Rotates the image by a quadrant.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDegrees()
java.lang.String
toString()
-
-
-
Constructor Detail
-
RotateQuadrantOp
public RotateQuadrantOp(int degrees)
Rotates the image by a quadrant. The angle is expressed in degress and can only be a multiple of 90. Rotation is counterclockwise.- Parameters:
degree
- the rotation angle in degrees- Throws:
java.lang.IllegalArgumentException
- if degrees is not a multiple of 90
-
-