focus.js 743 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. import def from './default.js'
  2. const Road = {
  3. ...def.Road,
  4. strokeStyle: "rgba(243, 255, 0, 1)",
  5. }
  6. const CurveRoad = {
  7. ...def.CurveRoad,
  8. ...Road
  9. }
  10. const Tag = {
  11. ...def.Tag,
  12. strokeStyle: "#00C8AF",
  13. fillStyle: "#00C8AF",
  14. }
  15. const Point = {
  16. ...def.Point,
  17. lineWidth: 2,
  18. fillStyle: "rgba(245, 255, 0, 1)",
  19. strokeStyle: "rgba(245, 255, 255, 1)",
  20. }
  21. const CurvePoint = {
  22. ...def.CurvePoint,
  23. ...Point
  24. }
  25. const ControlPoint = {
  26. ...def.ControlPoint,
  27. ...Point,
  28. }
  29. const Edg = {
  30. ...def.Edge,
  31. strokeStyle: "rgba(243, 255, 0, 1)",
  32. }
  33. const CurveEdge = {
  34. ...def.CurveEdge,
  35. strokeStyle: "rgba(243, 255, 0, 1)",
  36. }
  37. export default {
  38. Road,
  39. Tag,
  40. Point,
  41. CurvePoint,
  42. ControlPoint,
  43. CurveRoad,
  44. Edg,
  45. CurveEdge
  46. }