Class RotateOp


  • public class RotateOp
    extends Operation
    Author:
    Fabrizio Giudici
    • Constructor Summary

      Constructors 
      Constructor Description
      RotateOp​(double degrees)
      Rotates the image.
      RotateOp​(double degrees, Quality quality)
      Rotates the image.
    • 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 degrees
        quality - the quality of the operation
    • Method Detail

      • getDegrees

        public double getDegrees()
      • getQuality

        public Quality getQuality()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object