"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _default = {
  ROAD: {
    title: '道路',
    size: 26,
    color: '#1890FF',
    draw: function draw(ctx) {
      ctx.save();
      ctx.strokeStyle = 'rgba(0,0,0,0)';
      ctx.miterLimit = 4;
      ctx.beginPath();
      ctx.moveTo(1, 10.5);
      ctx.lineTo(25, 10.5);
      ctx.bezierCurveTo(25, 10.5, 25, 10.5, 25, 10.5);
      ctx.lineTo(25, 15.5);
      ctx.bezierCurveTo(25, 15.5, 25, 15.5, 25, 15.5);
      ctx.lineTo(1, 15.5);
      ctx.bezierCurveTo(1, 15.5, 1, 15.5, 1, 15.5);
      ctx.lineTo(1, 10.5);
      ctx.bezierCurveTo(1, 10.5, 1, 10.5, 1, 10.5);
      ctx.closePath();
      ctx.fill();
      ctx.stroke();
      ctx.restore();
      ctx.restore();
      ctx.restore();
      ctx.restore();
    }
  },
  RED_ROAD: {
    title: '作业道路完成度<50%',
    size: 26,
    color: '#FF4D4F',
    draw: function draw(ctx) {
      ctx.save();
      ctx.strokeStyle = 'rgba(0,0,0,0)';
      ctx.miterLimit = 4;
      ctx.beginPath();
      ctx.moveTo(1, 10.5);
      ctx.lineTo(25, 10.5);
      ctx.bezierCurveTo(25, 10.5, 25, 10.5, 25, 10.5);
      ctx.lineTo(25, 15.5);
      ctx.bezierCurveTo(25, 15.5, 25, 15.5, 25, 15.5);
      ctx.lineTo(1, 15.5);
      ctx.bezierCurveTo(1, 15.5, 1, 15.5, 1, 15.5);
      ctx.lineTo(1, 10.5);
      ctx.bezierCurveTo(1, 10.5, 1, 10.5, 1, 10.5);
      ctx.closePath();
      ctx.fill();
      ctx.stroke();
      ctx.restore();
      ctx.restore();
      ctx.restore();
      ctx.restore();
    }
  },
  YELLOW_ROAD: {
    title: '50%≤作业道路完成度<80%',
    size: 26,
    color: '#FAAD14',
    draw: function draw(ctx) {
      ctx.save();
      ctx.strokeStyle = 'rgba(0,0,0,0)';
      ctx.miterLimit = 4;
      ctx.beginPath();
      ctx.moveTo(1, 10.5);
      ctx.lineTo(25, 10.5);
      ctx.bezierCurveTo(25, 10.5, 25, 10.5, 25, 10.5);
      ctx.lineTo(25, 15.5);
      ctx.bezierCurveTo(25, 15.5, 25, 15.5, 25, 15.5);
      ctx.lineTo(1, 15.5);
      ctx.bezierCurveTo(1, 15.5, 1, 15.5, 1, 15.5);
      ctx.lineTo(1, 10.5);
      ctx.bezierCurveTo(1, 10.5, 1, 10.5, 1, 10.5);
      ctx.closePath();
      ctx.fill();
      ctx.stroke();
      ctx.restore();
      ctx.restore();
      ctx.restore();
      ctx.restore();
    }
  },
  GREEN_ROAD: {
    title: '作业道路完成度≥80%',
    size: 26,
    color: '#52C41A',
    draw: function draw(ctx) {
      ctx.save();
      ctx.strokeStyle = 'rgba(0,0,0,0)';
      ctx.miterLimit = 4;
      ctx.beginPath();
      ctx.moveTo(1, 10.5);
      ctx.lineTo(25, 10.5);
      ctx.bezierCurveTo(25, 10.5, 25, 10.5, 25, 10.5);
      ctx.lineTo(25, 15.5);
      ctx.bezierCurveTo(25, 15.5, 25, 15.5, 25, 15.5);
      ctx.lineTo(1, 15.5);
      ctx.bezierCurveTo(1, 15.5, 1, 15.5, 1, 15.5);
      ctx.lineTo(1, 10.5);
      ctx.bezierCurveTo(1, 10.5, 1, 10.5, 1, 10.5);
      ctx.closePath();
      ctx.fill();
      ctx.stroke();
      ctx.restore();
      ctx.restore();
      ctx.restore();
      ctx.restore();
    }
  }
};
exports["default"] = _default;
//# sourceMappingURL=road.js.map
