2015-02-20 23:02:16 +00:00
|
|
|
<svg ng-attr-width="{{parameters.gridSize[0] * ngModel.width()}}"
|
|
|
|
ng-attr-height="{{parameters.gridSize[1] * ngModel.height()}}">
|
2015-02-20 23:25:27 +00:00
|
|
|
<line ng-attr-x1="{{parameters.gridSize[0] * ngModel.x1() + 1}}"
|
|
|
|
ng-attr-y1="{{parameters.gridSize[1] * ngModel.y1() + 1}}"
|
|
|
|
ng-attr-x2="{{parameters.gridSize[0] * ngModel.x2() + 1}}"
|
|
|
|
ng-attr-y2="{{parameters.gridSize[1] * ngModel.y2() + 1}}"
|
2015-02-24 02:05:37 +00:00
|
|
|
ng-attr-stroke="{{ngModel.stroke()}}"
|
2015-02-20 23:02:16 +00:00
|
|
|
stroke-width="2">
|
|
|
|
</line>
|
|
|
|
</svg>
|