Package io.scanbot.sdk.ui_v2.common
Class AspectRatio
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class AspectRatio implements Parcelable
Configuration of the finder's aspect ratio.
-
-
Constructor Summary
Constructors Constructor Description AspectRatio(Map<String, Object> source)
AspectRatio(JSONObject json)
AspectRatio(Double width, Double height)
-
Method Summary
Modifier and Type Method Description final Double
getWidth()
Width component of the aspect ratio. final Unit
setWidth(Double width)
Width component of the aspect ratio. final Double
getHeight()
Height component of the aspect ratio. final Unit
setHeight(Double height)
Height component of the aspect ratio. final JSONObject
toJson()
final static AspectRatio
default()
-
-
Method Detail
-
toJson
final JSONObject toJson()
-
default
final static AspectRatio default()
-
-
-
-