Package io.scanbot.sdk.camera
Class ZoomRange
-
- All Implemented Interfaces:
-
android.os.Parcelable
,java.io.Serializable
public final class ZoomRange implements Parcelable, Serializable
Represents IScanbotCameraView zoom range.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Float
MAX_ZOOM
public final static Float
MIN_ZOOM
private Float
minZoomRatio
private Float
maxZoomRatio
-
Method Summary
Modifier and Type Method Description final Float
getMinZoomRatio()
Minimal zoom factor in the range from 0.2f to 100f. final Unit
setMinZoomRatio(Float minZoomRatio)
Minimal zoom factor in the range from 0.2f to 100f. final Float
getMaxZoomRatio()
Maximal zoom factor in the range from 0.2f to 100f. final Unit
setMaxZoomRatio(Float maxZoomRatio)
Maximal zoom factor in the range from 0.2f to 100f. -
-
Method Detail
-
getMinZoomRatio
final Float getMinZoomRatio()
Minimal zoom factor in the range from 0.2f to 100f. Default - 0.2f.
-
setMinZoomRatio
final Unit setMinZoomRatio(Float minZoomRatio)
Minimal zoom factor in the range from 0.2f to 100f. Default - 0.2f.
-
getMaxZoomRatio
final Float getMaxZoomRatio()
Maximal zoom factor in the range from 0.2f to 100f. Default - 100f.
-
setMaxZoomRatio
final Unit setMaxZoomRatio(Float maxZoomRatio)
Maximal zoom factor in the range from 0.2f to 100f. Default - 100f.
-
-
-
-