import Type from "./Type"; import Updater from "./Updater"; import Curve from "./Curve"; /** * アニメーションパラメータの結合 * * パラメータ、Curve インスタンス、Updater インスンタンスを結合する。 * * @see [[Curve]] * @see [[Updater]] */ declare class Binder { private _updater; private _curve; private _type; private _setter; /** * パラメータと curve と updater を結合する。 * * パラメータ値は setter を通して設定される。 * * setter には type 型の値が渡される。 * * @param updater アニメーションパラメータの更新管理 * @param curve アニメーション関数 * @param type パラメータ値の型 * @param setter パラメータ設定関数 * * @throws [[TypeMismatchError]] curve が type 型をサポートしていないとき */ constructor(updater: Updater, curve: Curve, type: Type, setter: Binder.Setter); /** * アニメーションパラメータの更新管理 */ get updater(): Updater; /** * アニメーション関数 */ get curve(): Curve; /** * パラメータ値の型 * * @see [[Binder.Setter]] */ get type(): Type; /** * パラメータ設定関数 */ get setter(): Binder.Setter; /** * 結合を解除 */ unbind(): void; /** * アニメーション関数 */ get _$curve(): Curve; } declare namespace Binder { /** * パラメータ設定関数 * * Binder インスタンスの type 型のオブジェクトを受け取り、実際のパラメータを設定するための関数である。 * * @param value type 型のオブジェクト * * @see [[mapray.animation.Binder]] * @see [[mapray.animation.Binder.setter]] * @see [[mapray.animation.Binder.type]] */ type Setter = (value: any) => void; } export default Binder; //# sourceMappingURL=Binder.d.ts.map