Class DpiOptionsUtils


  • public final class DpiOptionsUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DpiOptionsUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkDpiRange​(int desiredDPI)
      Util method for checking desiredDPI value which must be in interval [100, 400].
      • Methods inherited from class java.lang.Object

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

      • DpiOptionsUtils

        public DpiOptionsUtils()
    • Method Detail

      • checkDpiRange

        public static void checkDpiRange​(@IntRange(from=100L,to=400L)
                                         int desiredDPI)
        Util method for checking desiredDPI value which must be in interval [100, 400].
        Parameters:
        desiredDPI - DPI value to check, must be in interval [100, 400].
        Throws:
        java.lang.IllegalArgumentException - if the passed desiredDPI is not in range [100, 400].