Style.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. const Style = {
  2. Road: {
  3. strokeStyle: "rgba(255,0,0,0.5)",
  4. lineWidth: 4,
  5. error: {
  6. strokeStyle: "rgba(255,0,0,0.5)",
  7. fillStyle: "rgba(255,0,0,0.8)",
  8. },
  9. },
  10. Point: {
  11. strokeStyle: "green",
  12. fillStyle: "rgb(0, 200, 175)",
  13. radius: 4,
  14. },
  15. Tag: {
  16. strokeStyle: "rgb(255,255,255,1)",
  17. fillStyle: "rgb(255,255,255,1)",
  18. strokeStyle_adding: "rgba(243, 255, 0, 0.8)",
  19. fillStyle_adding: "rgba(243, 255, 0, 0.8)",
  20. lineWidth: 1,
  21. },
  22. Select: {
  23. Road: {
  24. strokeStyle: "rgba(243, 255, 0, 1)",
  25. },
  26. Tag: {
  27. strokeStyle: "#00C8AF",
  28. fillStyle: "#00C8AF",
  29. },
  30. Point: {
  31. radius: 4,
  32. lineWidth: 2,
  33. fillStyle: "rgba(245, 255, 0, 1)",
  34. strokeStyle: "rgba(245, 255, 255, 1)",
  35. },
  36. },
  37. Focus: {
  38. Road: {
  39. strokeStyle: "rgba(243, 255, 0, 1)",
  40. },
  41. Tag: {
  42. strokeStyle: "#00C8AF",
  43. fillStyle: "#00C8AF",
  44. },
  45. Point: {
  46. radius: 4,
  47. lineWidth: 2,
  48. fillStyle: "rgba(245, 255, 0, 1)",
  49. strokeStyle: "rgba(245, 255, 255, 1)",
  50. },
  51. },
  52. Element: {
  53. AddingPoint: {
  54. radius: 4,
  55. fillStyle: "yellow",
  56. strokeStyle: "green",
  57. },
  58. NewRoad: {
  59. lineWidth: 4,
  60. strokeStyle: "rgba(100,100,100,0.3)",
  61. errorStrokeStyle: "rgb(250,63,72,0.3)",
  62. },
  63. CheckLinesX: {
  64. lineWidth: 2,
  65. strokeStyle: "#CED806",
  66. },
  67. CheckLinesY: {
  68. lineWidth: 2,
  69. strokeStyle: "#CED806",
  70. },
  71. VCheckLinesX: {
  72. lineWidth: 2,
  73. strokeStyle: "#CED806",
  74. //strokeStyle: 'rgba(100,149,237,0.5)',
  75. },
  76. VCheckLinesY: {
  77. lineWidth: 2,
  78. strokeStyle: "#CED806",
  79. //strokeStyle: 'rgba(100,149,237,0.5)',
  80. },
  81. },
  82. Font: {
  83. font: "14px Microsoft YaHei",
  84. fillStyle: "#000000",
  85. strokeStyle: "#000000",
  86. textAlign: "center",
  87. textBaseline: "middle",
  88. miterLimit: 10,
  89. direction: "ltr",
  90. },
  91. Measure: {
  92. txt: "rgba(255,255,255,1)", //画墙/选墙的时候 测量值的颜色
  93. strokeStyle: "rgba(255,255,255,1)",
  94. lineWidth: 1,
  95. },
  96. };
  97. export default Style;