Whiteboard Painter
WhiteboardPainter - Handles rendering of all shapes on the whiteboard canvas.
This painter handles rendering of all shape types including freehand drawings, geometric shapes, text, and images with support for zoom and pan transformations.
Functions
Link copied to clipboard
fun draw(drawScope: DrawScope, shapes: List<WhiteboardShape>, currentShape: WhiteboardShape?, panOffset: Offset, scale: Float, maxWidth: Float, maxHeight: Float, useImageBackground: Boolean, selectedShape: WhiteboardShape?, eraserCursorPosition: Offset?, eraserThickness: Float, transparentBackground: Boolean)
Draws all whiteboard content on the canvas.