Whiteboard Action Options
data class WhiteboardActionOptions(val action: String, val payload: Map<String, Any?>?, val shapes: List<WhiteboardShape>, val redoStack: List<List<WhiteboardShape>>, val undoStack: List<List<WhiteboardShape>>, val useImageBackground: Boolean, val updateShapes: (List<WhiteboardShape>) -> Unit, val updateRedoStack: (List<List<WhiteboardShape>>) -> Unit, val updateUndoStack: (List<List<WhiteboardShape>>) -> Unit, val updateUseImageBackground: (Boolean) -> Unit)
Options for handling whiteboard action events.
Constructors
Link copied to clipboard
constructor(action: String, payload: Map<String, Any?>?, shapes: List<WhiteboardShape>, redoStack: List<List<WhiteboardShape>>, undoStack: List<List<WhiteboardShape>>, useImageBackground: Boolean, updateShapes: (List<WhiteboardShape>) -> Unit, updateRedoStack: (List<List<WhiteboardShape>>) -> Unit, updateUndoStack: (List<List<WhiteboardShape>>) -> Unit, updateUseImageBackground: (Boolean) -> Unit)