Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
class CustomEventInternals.AssignPathAnimation
extends BaseEvent
import { CustomEventInternals } from "https://deno.land/x/remapper@3.0.0/src/custom_event.ts";
const { AssignPathAnimation } = CustomEventInternals;

Constructors

new
AssignPathAnimation(
json: Json,
track?: TrackValue,
duration?: number,
animation?: Json,
easing?: EASE,
)

Animate objects on a track across their lifespan.

Properties

animate: AnimationInternals.AbstractAnimation

The animation of this event.

duration: number

The time to transition from a previous path to this one.

easing: EASE

The easing on this event's animation.

readonly
track

The track class for this event. Please read the properties of this class to see how it works.

Methods

Remove the subclass of the event, giving access to all properties, but can allow for invalid data.

importAnimation(animation: AnimationInternals.BaseAnimation)

Apply an animation through the Animation class.

Set the properties for animation.