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 DoublegetTop()The top inset. final UnitsetTop(Double top)The top inset. final DoublegetLeft()The left inset. final UnitsetLeft(Double left)The left inset. final DoublegetBottom()The bottom inset. final UnitsetBottom(Double bottom)The bottom inset. final DoublegetRight()The right inset. final UnitsetRight(Double right)The right inset. final JSONObjecttoJson(ToJsonConfiguration config)final EdgeInsetsclone()final static EdgeInsetsdefault()-
-
Method Detail
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final EdgeInsets clone()
-
default
final static EdgeInsets default()
-
-
-
-