Allow for drag/drop of verteces

This commit is contained in:
Devine Lu Linvega
2017-11-13 16:54:56 +13:00
parent 1923c4b04c
commit 66a34a6814
8 changed files with 143 additions and 25 deletions

View File

@@ -35,4 +35,13 @@ function Path_Arc(from,to,orientation,end)
return html
}
this.handles = function()
{
var a = [];
if(this.from){ a.push(this.from); }
if(this.to){ a.push(this.to); }
if(this.end){ a.push(this.end); }
return a;
}
}