Class CropAndRotateUseCase

  • All Implemented Interfaces:

    
    public final class CropAndRotateUseCase
    
                        

    Use case to handle cropping and rotating of the page

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class><Page> cropAndRotate(List<PointF> polygon, RotationType rotation, Page page) Crops and rotates the page according to the given config
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CropAndRotateUseCase

        CropAndRotateUseCase(PageProcessor pageProcessor)
    • Method Detail

      • cropAndRotate

         final <Error class: unknown class><Page> cropAndRotate(List<PointF> polygon, RotationType rotation, Page page)

        Crops and rotates the page according to the given config

        Parameters:
        polygon - polygon to apply crop on
        rotation - rotation to apply
        page - page which should we cropped and rotated