Package 

Enum AspectRatio

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum AspectRatio
    extends Enum<AspectRatio>
                        

    Defines how the thumbnail should handle the aspect ratio of the original PDF page.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CROP_TO_FIT

      Scale to fit the larger dimension, maintaining aspect ratio (crop if necessary).

      FIT_HEIGHT

      Scale to fit height, maintaining aspect ratio.

      FIT_WIDTH

      Scale to fit width, maintaining aspect ratio.

      STRETCH

      Stretch the content to fill the entire thumbnail dimensions.

      PRESERVE

      Preserve the original aspect ratio of the PDF page, potentially leaving empty space.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait