InkRenderer

Deterministically owned renderer backed exclusively by libneopen_jni.so and the com.onyx.android.sdk.pennative JNI contract.

Types

Link copied to clipboard
object Companion

Creates independently owned native renderer instances.

Functions

Link copied to clipboard
fun append(points: List<InkPoint>, prediction: InkPoint? = null): Result<RenderFrame>

Appends ordered points, optionally including a speculative prediction.

Link copied to clipboard

Begins a stroke with point and returns the first native-renderer frame.

Link copied to clipboard
open override fun close()

Releases the native renderer handle; repeated calls are safe.

Link copied to clipboard

Ends the active stroke at point and returns its final frame.

Link copied to clipboard

Runs the same down/move/up sequence on an isolated modern native handle.