Function

GraphicsContext

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

GraphicsContext

Android
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