share Whiteboard Canvas
actual fun shareWhiteboardCanvas(shapes: List<WhiteboardShape>, canvasWidth: Int, canvasHeight: Int, useImageBackground: Boolean, onComplete: (success: Boolean, message: String) -> Unit)
Android implementation of canvas sharing. Renders all shapes to a bitmap and shares via Intent.ACTION_SEND.
expect fun shareWhiteboardCanvas(shapes: List<WhiteboardShape>, canvasWidth: Int, canvasHeight: Int, useImageBackground: Boolean, onComplete: (success: Boolean, message: String) -> Unit)
Platform-specific implementation for capturing and sharing the canvas. On Android, captures the composable as bitmap and shares via Intent.ACTION_SEND. On iOS, uses UIActivityViewController.
Parameters
shapes
List of shapes to draw
canvas Width
Canvas width in pixels
canvas Height
Canvas height in pixels
use Image Background
Whether to use grid background
on Complete
Callback with result (file path or null on error)