aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-03-19 11:37:09 +0100
committerGitHub <noreply@github.com>2018-03-19 11:37:09 +0100
commit2ab00aad50f38eac036d26b5f65a1a7644b04151 (patch)
treee845a64b7a8e8ef5b64d31d75d11f2acd41cea2a
parent8a5c8fa29a1a483330319f3e697909bb53318c69 (diff)
parent6a4caee8928b698836b3a1eacc18751fdf4a5567 (diff)
downloadsvg.js-2ab00aad50f38eac036d26b5f65a1a7644b04151.tar.gz
svg.js-2ab00aad50f38eac036d26b5f65a1a7644b04151.zip
Merge pull request #830 from FrankSandqvist/patch-1
Typescript: X & Y Properties on Point
-rw-r--r--svg.js.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index b7b4358..4a08093 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -658,6 +658,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;