TranslateAnimation
declare class TranslateAnimation {}
TranslateAnimation
Instance Method
constructor
Signature
declare class TranslateAnimation {
constructor(fromXDelta: number, toXDelta: number, fromYDelta: number, toYDelta: number)
}
Description
Constructor to use when building a TranslateAnimation from code
constructor
Signature
declare class TranslateAnimation {
constructor(fromXType: number, fromXValue: number, toXType: number, toXValue: number, fromYType: number, fromYValue: number, toYType: number, toYValue: number)
}
Description
Constructor to use when building a TranslateAnimation from code
applyTransformation
Signature
declare class TranslateAnimation {
applyTransformation(interpolatedTime: number, t:Transformation): void
}
Description
Helper for getTransformation.
willChangeBounds
Signature
declare class TranslateAnimation {
initialize(width, height, parentWidth, parentHeight): void
}
Description
Initialize this animation with the dimensions of the object being animated as well as the objects parents.