Compose API Reference Compose UI Graphics CanvasHolder Class Android class CanvasHolder Holder class that is used to issue scoped calls to a Canvas from the framework equivalent canvas without having to allocate an object on each draw call Functions inline fun drawInto(targetCanvas: android.graphics.Canvas, block: Canvas.() -> Unit)
Compose API Reference Compose UI Graphics CanvasHolder Class Android class CanvasHolder Holder class that is used to issue scoped calls to a Canvas from the framework equivalent canvas without having to allocate an object on each draw call Functions inline fun drawInto(targetCanvas: android.graphics.Canvas, block: Canvas.() -> Unit)