shape.js 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import brokenLineSVG from 'assets/svg/brokenLine.svg'
  2. import textSVG from 'assets/svg/text.svg'
  3. import tableSVG from 'assets/svg/table.svg'
  4. import rectSVG from 'assets/svg/rect.svg'
  5. import circularSVG from 'assets/svg/circular.svg'
  6. import arrowSVG from 'assets/svg/arrow.svg'
  7. import iconSVG from 'assets/svg/icon.svg'
  8. import cigaretteSVG from 'assets/svg/cigarette.svg'
  9. import fireointSVG from 'assets/svg/fireoint.svg'
  10. import footPrintSVG from 'assets/svg/footPrint.svg'
  11. import footPrintReverSVG from 'assets/svg/footPrintRever.svg'
  12. import shoePrintSVG from 'assets/svg/shoePrint.svg'
  13. import shoePrintReverSVG from 'assets/svg/shoePrintRever.svg'
  14. import fingerPrintSVG from 'assets/svg/fingerPrint.svg'
  15. import corpseSVG from 'assets/svg/corpse.svg'
  16. import theBloodSVG from 'assets/svg/theBlood.svg'
  17. export const brokenLine = 'Wall'
  18. export const text = 'Tag'
  19. export const table = 'Table'
  20. export const rect = 'Rectangle'
  21. export const circular = 'Circle'
  22. export const arrow = 'Arrow'
  23. export const icon = 'Icon'
  24. export const cigarette = 'Cigaret'
  25. export const fireoint = 'FirePoint'
  26. export const footPrint = 'LeftFootPrint'
  27. export const footPrintRever = 'RightFootPrint'
  28. export const shoePrint = 'LeftShoePrint'
  29. export const shoePrintRever = 'RightShoePrint'
  30. export const fingerPrint = 'FingerPrint'
  31. export const corpse = 'DeadBody'
  32. export const theBlood = 'BloodStain'
  33. export const labels = [
  34. brokenLine,
  35. text,
  36. table,
  37. rect,
  38. circular,
  39. arrow,
  40. icon
  41. ]
  42. export const images = [
  43. cigarette,
  44. fireoint,
  45. footPrint,
  46. shoePrint,
  47. fingerPrint,
  48. shoePrintRever,
  49. footPrintRever,
  50. corpse,
  51. theBlood
  52. ]
  53. export const metas = {
  54. [brokenLine]: { desc: '折现', icon: brokenLineSVG },
  55. [text]: { desc: '文本', icon: textSVG },
  56. [table]: { desc: '表格', icon: tableSVG },
  57. [rect]: { desc: '矩形', icon: rectSVG },
  58. [circular]: { desc: '圆形', icon: circularSVG },
  59. [arrow]: { desc: '箭头', icon: arrowSVG },
  60. [icon]: { desc: '图标', icon: iconSVG },
  61. [cigarette]: { desc: '烟头', icon: cigaretteSVG },
  62. [fireoint]: { desc: '起火点', icon: fireointSVG },
  63. [footPrint]: { desc: '脚印', icon: footPrintSVG },
  64. [footPrintRever]: { desc: '脚印', icon: footPrintReverSVG },
  65. [shoePrint]: { desc: '鞋印', icon: shoePrintSVG },
  66. [shoePrintRever]: { desc: '鞋印', icon: shoePrintReverSVG },
  67. [fingerPrint]: { desc: '指纹', icon: fingerPrintSVG },
  68. [corpse]: { desc: '尸体', icon: corpseSVG },
  69. [theBlood]: { desc: '血迹', icon: theBloodSVG },
  70. }