@flashport/flashport
Version:
FlashPort is a TypeScript 2D graphics library that largely replicates the Flash ActionScript 3.0 library
40 lines (39 loc) • 1.38 kB
TypeScript
/**
* PropertyInfoObj
* An object containing the updating info for a given property (its starting value, and its final value)
*
* @author Zeh Fernando
* @version 1.0.0
* @private
*/
export declare class PropertyInfoObj {
valueStart: number;
valueComplete: number;
originalValueComplete: any;
arrayIndex: number;
extra: any;
isSpecialProperty: boolean;
hasModifier: boolean;
modifierFunction: Function;
modifierParameters: any[];
/**
* Initializes the basic PropertyInfoObj.
*
* @param p_valueStart Number Starting value of the tweening (null if not started yet)
* @param p_valueComplete Number Final (desired) property value
*/
constructor(p_valueStart: number, p_valueComplete: number, p_originalValueComplete: any, p_arrayIndex: number, p_extra: any, p_isSpecialProperty: boolean, p_modifierFunction: Function, p_modifierParameters: any[]);
/**
* Clones this property info and returns the new PropertyInfoObj
*
* @param omitEvents Boolean Whether or not events such as onStart (and its parameters) should be omitted
* @return TweenListObj A copy of this object
*/
clone: () => PropertyInfoObj;
/**
* Returns this object described as a String.
*
* @return String The description of this object.
*/
toString: () => string;
}