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