import noop_default from "../noop.js";
function LinearClosed(e) {
	this._context = e;
}
LinearClosed.prototype = {
	areaStart: noop_default,
	areaEnd: noop_default,
	lineStart: function() {
		this._point = 0;
	},
	lineEnd: function() {
		this._point && this._context.closePath();
	},
	point: function(e, n) {
		e = +e, n = +n, this._point ? this._context.lineTo(e, n) : (this._point = 1, this._context.moveTo(e, n));
	}
};
function linearClosed_default(e) {
	return new LinearClosed(e);
}
export { linearClosed_default as default };
