Whiteboard Shape
data class WhiteboardShape(val id: String = generateShapeId(), val type: WhiteboardShapeType, val start: Offset? = null, val end: Offset? = null, val points: List<Offset> = emptyList(), val color: Color = Color.Black, val thickness: Float = 6.0f, val lineType: LineType = LineType.SOLID, val text: String? = null, val fontFamily: String = "Arial", val fontSize: Float = 20.0f, val imageData: ByteArray? = null, val imageSrc: String? = null)
Represents a drawable whiteboard shape.
Constructors
Link copied to clipboard
constructor(id: String = generateShapeId(), type: WhiteboardShapeType, start: Offset? = null, end: Offset? = null, points: List<Offset> = emptyList(), color: Color = Color.Black, thickness: Float = 6.0f, lineType: LineType = LineType.SOLID, text: String? = null, fontFamily: String = "Arial", fontSize: Float = 20.0f, imageData: ByteArray? = null, imageSrc: String? = null)