Class DpiOptionsUtils
- java.lang.Object
-
- com.microblink.entities.recognizers.blinkid.imageoptions.dpi.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 checkingdesiredDPI
value which must be in interval [100, 400].
-
-
-
Method Detail
-
checkDpiRange
public static void checkDpiRange(@IntRange(from=100L,to=400L) int desiredDPI)
Util method for checkingdesiredDPI
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 passeddesiredDPI
is not in range [100, 400].
-
-