UNPKG
potrace
Version:
latest (2.1.8)
2.1.8
2.1.6
2.1.5
2.1.4
2.1.2
2.1.1
2.0.1
2.0.0
1.1.0
1.0.0
Potrace in Javascript, for NodeJS
github.com/tooolbox/node-potrace
tooolbox/node-potrace
potrace
/
lib
/
types
/
Path.js
14 lines
(12 loc)
•
206 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict'
;
function
Path
(
) {
this
.
area
=
0
;
this
.
len
=
0
;
this
.
curve
= {};
this
.
pt
= [];
this
.
minX
=
100000
;
this
.
minY
=
100000
;
this
.
maxX
= -
1
;
this
.
maxY
= -
1
; }
module
.
exports
=
Path
;