Scanbot SDK – Kotlin Multiplatform
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Scanbot SDK – Kotlin Multiplatform
kmp-bundle-sdk
/
io.scanbot.sdk.kmp.geometry
/
LineSegmentFloat
Line
Segment
Float
data
class
LineSegmentFloat
(
val
start
:
PointF
,
val
end
:
PointF
)
Represents a line segment in 2D space.
Members
Constructors
Line
Segment
Float
Link copied to clipboard
constructor
(
start
:
PointF
,
end
:
PointF
)
constructor
(
source
:
Map
<
String
,
Any
?
>
)
Types
Companion
Link copied to clipboard
object
Companion
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
to
Json
Link copied to clipboard
fun
toJson
(
config
:
ToJsonConfiguration
=
ToJsonConfiguration.default()
)
:
JsonObject
to
Json
String
Link copied to clipboard
fun
toJsonString
(
config
:
ToJsonConfiguration
=
ToJsonConfiguration.default()
)
:
String