text: var CurveLinearClosed=function(){function CurveLinearClosed(ctx){this._ctx=ctx;this.areaStart=function(){};this.areaEnd=function(){}}var _proto=CurveLinearClosed.prototype;_proto.lineStart=function lineStart(){this._point=0};_proto.lineEnd=function lineEnd(){if(this._point)this._ctx.closePath()};_proto.point=function point(_x,_y){var x=+_x,y=+_y;if(this._point){this._ctx.lineTo(x,y)}else{this._point=1;this._ctx.moveTo(x,y)}};return CurveLinearClosed}();export default CurveLinearClosed;