ShapePayload

@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.

Constructors

Link copied to clipboard
constructor(type: String, x1: Double, y1: Double, x2: Double, y2: Double, color: String, thickness: Double, lineType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val x1: Double
Link copied to clipboard
val x2: Double
Link copied to clipboard
val y1: Double
Link copied to clipboard
val y2: Double

Functions

Link copied to clipboard
fun toMap(): Map<String, Any>