Package it.tidalwave.image.op
Class RotateOp
- java.lang.Object
-
- it.tidalwave.image.op.Operation
-
- it.tidalwave.image.op.RotateOp
-
public class RotateOp extends Operation
- Author:
- Fabrizio Giudici
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetDegrees()QualitygetQuality()java.lang.StringtoString()
-
-
-
Constructor Detail
-
RotateOp
public RotateOp(double degrees)
Rotates the image. The angle is expressed in degrees. Rotation is counterclockwise. Quality is FASTEST.- Parameters:
degree- the rotation angle in degrees
-
RotateOp
public RotateOp(double degrees, Quality quality)Rotates the image. The angle is expressed in degrees. Rotation is counterclockwise.- Parameters:
degree- the rotation angle in degreesquality- the quality of the operation
-
-
Method Detail
-
getDegrees
public double getDegrees()
-
getQuality
public Quality getQuality()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-