Rive

object Rive

Properties

Link copied to clipboard

Public getter for the default renderer type.

Functions

Link copied to clipboard
fun calculateRequiredBounds(fit: Fit, alignment: Alignment, availableBounds: RectF, artboardBounds: RectF, scaleFactor: Float = 1.0f): RectF
Link copied to clipboard
fun init(context: Context, defaultRenderer: RendererType = RendererType.Rive)

Initializes Rive.

Link copied to clipboard

Initialises the JNI Bindings.

Link copied to clipboard

Set a fallback font for the Rive runtime.