drawIntoCanvas

inline fun drawIntoCanvas(noinline block: (Canvas) -> Unit)

Provides access to draw directly with the underlying Canvas. This is helpful for situations to re-use the existing Canvas drawing logic.

Parameters

block

The lambda callback to issue drawing commands on the provided Canvas

See also