shared
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
shared
shared
/
com.mediasfu.sdk.model
/
ShapePayload
Shape
Payload
@
Serializable
data
class
ShapePayload
(
val
type
:
String
,
val
x1
:
Double
,
val
y1
:
Double
,
val
x2
:
Double
,
val
y2
:
Double
,
val
color
:
String
,
val
thickness
:
Double
,
val
lineType
:
String
)
Payload for shape drawing actions.
Members
Constructors
Shape
Payload
Link copied to clipboard
constructor
(
type
:
String
,
x1
:
Double
,
y1
:
Double
,
x2
:
Double
,
y2
:
Double
,
color
:
String
,
thickness
:
Double
,
lineType
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
color
Link copied to clipboard
val
color
:
String
line
Type
Link copied to clipboard
val
lineType
:
String
thickness
Link copied to clipboard
val
thickness
:
Double
type
Link copied to clipboard
val
type
:
String
x1
Link copied to clipboard
val
x1
:
Double
x2
Link copied to clipboard
val
x2
:
Double
y1
Link copied to clipboard
val
y1
:
Double
y2
Link copied to clipboard
val
y2
:
Double
Functions
to
Map
Link copied to clipboard
fun
toMap
(
)
:
Map
<
String
,
Any
>