]> source.dussan.org Git - svg.js.git/commitdiff
X & Y Properties on Point 830/head
authorFrankSandqvist <32358133+FrankSandqvist@users.noreply.github.com>
Sun, 18 Mar 2018 18:28:06 +0000 (20:28 +0200)
committerGitHub <noreply@github.com>
Sun, 18 Mar 2018 18:28:06 +0000 (20:28 +0200)
Or should I not access these directly?

svg.js.d.ts

index b7b4358c813d2920a0cba2d205e56468a83c99c3..4a08093477a069f80658a40b124f7fb11b098526 100644 (file)
@@ -658,6 +658,9 @@ declare namespace svgjs {
         new (point: Point): Point;\r
         new (position: { x: number, y: number }): Point;\r
         new (x: number, y: number): Point;\r
+        \r
+        x: number;\r
+        y: number;\r
 \r
         clone(): Point;\r
         morph(point: Point): this;\r