add missing functions from Transform class in typings (#174)

This commit is contained in:
Petar Ivanov
2016-09-23 12:57:58 -07:00
committed by Anton Lavrenov
parent b510582660
commit 630023b7e7

4
konva.d.ts vendored
View File

@@ -810,10 +810,12 @@ declare module Konva {
}
class Transform {
copy(): Transform;
getMatrix(): any[];
getTranslation() : Vector2d;
invert() : void;
multiply(matrix: any[]) : void;
multiply(matrix: any[]): void;
point(point: Vector2d): Vector2d;
rotate(deg: number) : void;
scale(x: number, y: Number) : void;
setAbsolutePosition() : void;