diff options
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r-- | svg.js.d.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index 0db7b71..f482de7 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -659,6 +659,9 @@ declare namespace svgjs { new (point: Point): Point;
new (position: { x: number, y: number }): Point;
new (x: number, y: number): Point;
+
+ x: number;
+ y: number;
clone(): Point;
morph(point: Point): this;
@@ -773,6 +776,7 @@ declare namespace svgjs { last(): Element;
valueOf(): Element[];
bbox(): BBox;
+ click(cb: Function): Set;
}
interface Container { set(members?: Element[]): Set; }
interface Library { Set: Set; }
@@ -1018,4 +1022,4 @@ declare namespace svgjs { // TODO style, etc, bbox...
}
-}
+}
\ No newline at end of file |