Class VNImageCropAndScaleOption


  • public final class VNImageCropAndScaleOption
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long CenterCrop
      scale image maintaining aspect ratio to fit on the short side and crop centered on the long side
      static long ScaleFill  
      static long ScaleFit
      scale to size required by algorithm
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • CenterCrop

        public static final long CenterCrop
        scale image maintaining aspect ratio to fit on the short side and crop centered on the long side
        See Also:
        Constant Field Values
      • ScaleFit

        public static final long ScaleFit
        scale to size required by algorithm
        See Also:
        Constant Field Values