Package 

Enum ResizeMode

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

    
    public enum ResizeMode
    extends Enum<ResizeMode>
                        

    How the source image is fitted to the target dimensions.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      LETTERBOX

      Scale to fit inside the target dimensions, then pad with padValue.

      STRETCH

      Scale to the target dimensions directly, ignoring aspect ratio.

    • 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