Interface CalculateOrientationChange

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CalculateOrientationChange
Calculates any needed orientation change.
Author:
Owen Feehan
  • Method Details

    • calculateOrientationChange

      OrientationChange calculateOrientationChange(Logger logger) throws ImageIOException
      Calculates any needed orientation change.
      Parameters:
      logger - the logger where any non-fatal errors can be written to. Fatal errors should be thrown as eceptions.
      Returns:
      the orientation change needed.
      Throws:
      ImageIOException - if it cannot be calculated.