Package io.scanbot.sdk.common
Class LineSegmentInt
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class LineSegmentInt implements Parcelable
Represents a line segment in 2D space.
-
-
Constructor Summary
Constructors Constructor Description LineSegmentInt(Map<String, Object> source)LineSegmentInt(JSONObject json)LineSegmentInt(Point start, Point end)
-
Method Summary
Modifier and Type Method Description final PointgetStart()Start point of the segment. final PointgetEnd()End point of the segment. final JSONObjecttoJson(ToJsonConfiguration config)final LineSegmentIntclone()-
-
Method Detail
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final LineSegmentInt clone()
-
-
-
-