UNPKG

image-vectorizer

Version:

Potrace in Javascript, for NodeJS and Browser

20 lines (18 loc) 305 B
/** * Curve type * * @param n * @constructor * @protected */ function Curve(n) { this.n = n this.tag = new Array(n) this.c = new Array(n * 3) this.alphaCurve = 0 this.vertex = new Array(n) this.alpha = new Array(n) this.alpha0 = new Array(n) this.beta = new Array(n) } export default Curve