Package io.scanbot.sdk.common
Class AspectRatio
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class AspectRatio implements Parcelable
Aspect ratio is the ratio of the width to the height of an image or screen.
-
-
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 DoublegetWidth()Width component of the aspect ratio. final DoublegetHeight()Height component of the aspect ratio. final JSONObjecttoJson(ToJsonConfiguration config)final AspectRatioclone()final static AspectRatiodefault()-
-
Method Detail
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final AspectRatio clone()
-
default
final static AspectRatio default()
-
-
-
-