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
/
LineSegmentFloat
Line
Segment
Float
data
class
LineSegmentFloat
(
val
start
:
PointF
,
val
end
:
PointF
)
:
Parcelable
Represents a line segment in 2D space.
Members
Constructors
Line
Segment
Float
Link copied to clipboard
constructor
(
source
:
Map
<
String
,
Any
?
>
)
constructor
(
json
:
JSONObject
)
constructor
(
start
:
PointF
,
end
:
PointF
)
Properties
end
Link copied to clipboard
val
end
:
PointF
End point of the segment.
start
Link copied to clipboard
val
start
:
PointF
Start point of the segment.
Functions
clone
Link copied to clipboard
fun
clone
(
)
:
LineSegmentFloat
to
Json
Link copied to clipboard
fun
toJson
(
config
:
ToJsonConfiguration
=
ToJsonConfiguration.default()
)
:
JSONObject