captureAsImageBitmap
The content as it was last drawn. Suspends because reading pixels back off the GPU is asynchronous on every platform.
Throws if called before the composable marked with capturable has drawn at least once — toImageBitmap() on an unrecorded layer is undefined, so failing loudly beats a blank image.