Types

Link copied to clipboard
object Companion

Houses a CartesianLayerDrawingModelInterpolator factory function.

Functions

Link copied to clipboard
abstract fun setModels(old: R?, new: R?)

Sets the initial and target CartesianLayerDrawingModels.

Link copied to clipboard
abstract suspend fun transform(fraction: Float): R?

Interpolates the two CartesianLayerDrawingModels. fraction is the balance between the initial and target CartesianLayerDrawingModels, with 0 corresponding to the initial CartesianLayerDrawingModel, and 1 corresponding to the target CartesianLayerDrawingModel.