Class

CanvasHolder

Holder class that is used to issue scoped calls to a Canvas from the framework equivalent canvas without having to allocate an object on each draw call

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
class CanvasHolder

Holder class that is used to issue scoped calls to a Canvas from the framework equivalent canvas without having to allocate an object on each draw call

Functions

drawInto

inline fun drawInto(targetCanvas: android.graphics.Canvas, block: Canvas.() -> Unit)