Skip to content
Snippets Groups Projects

Add sketches into model, controller and service for the backend

Merged Khang Tieu requested to merge store-whiteboard-state into main
Files
18
package canvas
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import kotlinx.serialization.Serializable
@Serializable
data class Sketch(
val start: Offset,
val end: Offset,
val color: Color = Color.Black,
val width: Dp = 1.dp,
val startX: Float,
val startY: Float,
val endX: Float,
val endY: Float,
val color: Int,
val width: Int,
)
\ No newline at end of file
Loading