[ts][player] Interface for per animation viewport config.

This commit is contained in:
badlogic 2018-11-23 10:50:15 +01:00
parent db7d6b2cc2
commit 8610fd5446
3 changed files with 21 additions and 1 deletions

View File

@ -1712,6 +1712,16 @@ declare module spine {
padRight: string;
padTop: string;
padBottom: string;
animations: Map<{
x: number;
y: number;
width: number;
height: number;
padLeft: string;
padRight: string;
padTop: string;
padBottom: string;
}>;
};
alpha: boolean;
backgroundColor: string;

File diff suppressed because one or more lines are too long

View File

@ -79,6 +79,16 @@
padRight: string
padTop: string
padBottom: string
animations: Map<{
x: number,
y: number,
width: number,
height: number,
padLeft: string,
padRight: string,
padTop: string,
padBottom: string,
}>
}
/* Optional: whether the canvas should be transparent. Default: false. */