Google is committed to advancing racial equity for Black communities. See how.

CacheDrawScope

typealias CacheDrawScope = 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

Summary