CacheDrawScope
Kotlin
|Java
typealiasCacheDrawScope= CacheDrawScope
androidx.compose.ui.CacheDrawScope |
Handle to a drawing environment that enables caching of content based on the resolved size. Consumers define parameters and refer to them in the captured draw callback provided in onDrawBehind or onDrawWithContent.
onDrawBehind will draw behind the layout's drawing contents however, onDrawWithContent will provide the ability to draw before or after the layout's contents