Package io.scanbot.sdk.ui_v2.common
Class EdgeInsets
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EdgeInsets implements Parcelable
Represents the insets of a rectangle.
-
-
Constructor Summary
Constructors Constructor Description EdgeInsets(Map<String, Object> source)
EdgeInsets(JSONObject json)
EdgeInsets(Double top, Double left, Double bottom, Double right)
-
Method Summary
Modifier and Type Method Description final Double
getTop()
The top inset. final Unit
setTop(Double top)
The top inset. final Double
getLeft()
The left inset. final Unit
setLeft(Double left)
The left inset. final Double
getBottom()
The bottom inset. final Unit
setBottom(Double bottom)
The bottom inset. final Double
getRight()
The right inset. final Unit
setRight(Double right)
The right inset. final JSONObject
toJson(ToJsonConfiguration config)
final EdgeInsets
clone()
final static EdgeInsets
default()
-
-
-
Method Detail
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final EdgeInsets clone()
-
default
final static EdgeInsets default()
-
-