Package-level declarations
Animator core types and lifecycle management. M2Animator represents a single hardware-synchronized animation channel (position, size, color, matrix, etc.) that is lazily created in firmware when started. M2AnimationsChain enables sequencing and parallel composition of multiple animators.
Types
Link copied to clipboard
interface IM2AnimatorCallback
Receives lifecycle events from an M2Animator.
Link copied to clipboard
class M2AnimationsChain
Link copied to clipboard
sealed class M2Animator(drawable: M2Drawable, type: M2AnimatorType, root: M2DrawableList<M2Drawable>? = null, repeat: M2AnimatorRepeat? = null, onBeforeCreate: (canvas: IM2Canvas) -> Unit = {})
Animator object used by drawables to animate specific channels over time.
Link copied to clipboard
Controls the repeat behavior of an M2Animator after it reaches its target value.
Link copied to clipboard
Identifies the drawable property channel that an M2Animator drives.
Link copied to clipboard