Function

GraphicsContext

Create a new GraphicsContext with the provided ViewGroup to contain View based layers.

GraphicsContext

Source set: Android
public fun GraphicsContext(layerContainer: ViewGroup): GraphicsContext

Create a new GraphicsContext with the provided ViewGroup to contain View based layers.

Parameters

layerContainer ViewGroup used to contain View based layers that are created by the returned GraphicsContext
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: