Android Scanbot SDK API reference
Toggle table of contents
7.1.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Android Scanbot SDK API reference
Android Scanbot SDK API reference
/
io.scanbot.sdk.common
/
LineSegmentInt
Line
Segment
Int
data
class
LineSegmentInt
(
val
start
:
Point
,
val
end
:
Point
)
:
Parcelable
Represents a line segment in 2D space.
Members
Constructors
Line
Segment
Int
Link copied to clipboard
constructor
(
source
:
Map
<
String
,
Any
?
>
)
constructor
(
json
:
JSONObject
)
constructor
(
start
:
Point
,
end
:
Point
)
Properties
end
Link copied to clipboard
val
end
:
Point
End point of the segment.
start
Link copied to clipboard
val
start
:
Point
Start point of the segment.
Functions
clone
Link copied to clipboard
fun
clone
(
)
:
LineSegmentInt
to
Json
Link copied to clipboard
fun
toJson
(
config
:
ToJsonConfiguration
=
ToJsonConfiguration.default()
)
:
JSONObject