Add edge with parameter for style.

This commit is contained in:
Oleg Sh
2021-04-19 20:32:10 +02:00
parent 04b87c0b3c
commit 109fd61e1f
5 changed files with 107 additions and 16 deletions

View File

@@ -4,10 +4,12 @@
*/
var EdgeModels = {"line": 0, "cruvled" : 1};
const defaultEdgeWidth = 4;
function EdgeModel()
{
this.width = 4;
this.width = globalApplication.GetDefaultEdgeWidth();
this.type = EdgeModels.line;
this.curvedValue = EdgeModel.prototype.defaultCruved;
this.default = true;