interface CanvasAnimationAttribute {
    attribute: string;
    parent: Object;
    to: number;
    from: number;
    delta: number;
    done: number;
    color: boolean;
}

Properties

attribute: string

The attribute name being animated

parent: Object

The object within which the attribute is stored

to: number

The destination value of the attribute

from: number

An initial value of the attribute, otherwise parent[attribute] is used

delta: number

The computed delta between to and from

done: number

The amount of the total delta which has been animated

color: boolean

Is this a color animation that applies to RGB channels