Browse Source

添加path2d;更新copyright

haojianlong 4 years ago
parent
commit
6ad7b519dc
100 changed files with 389 additions and 633 deletions
  1. 1 1
      persagy-web-base/.eslintrc.js
  2. 1 1
      persagy-web-base/jest.config.js
  3. 1 1
      persagy-web-base/publish.js
  4. 1 1
      persagy-web-base/src/SMatrix.ts
  5. 1 1
      persagy-web-base/src/SMouseEvent.ts
  6. 1 1
      persagy-web-base/src/SObject.ts
  7. 1 1
      persagy-web-base/src/SObjectObserver.ts
  8. 1 1
      persagy-web-base/src/enums/SKeyCode.ts
  9. 1 1
      persagy-web-base/src/enums/SMouseButton.ts
  10. 1 1
      persagy-web-base/src/enums/STouchState.ts
  11. 1 1
      persagy-web-base/src/index.ts
  12. 1 1
      persagy-web-base/src/undo/SCommandLog.ts
  13. 1 1
      persagy-web-base/src/undo/SUndoCommand.ts
  14. 1 1
      persagy-web-base/src/undo/SUndoStack.ts
  15. 1 1
      persagy-web-base/src/utils/SNetUtil.ts
  16. 1 1
      persagy-web-base/src/utils/SStringBuilder.ts
  17. 1 1
      persagy-web-base/src/utils/SStringUtil.ts
  18. 1 1
      persagy-web-base/src/utils/SUuid.ts
  19. 1 1
      persagy-web-big/.eslintrc.js
  20. 1 1
      persagy-web-big/jest.config.js
  21. 1 1
      persagy-web-big/publish.js
  22. 1 1
      persagy-web-big/src/config/ItemColor.ts
  23. 1 1
      persagy-web-big/src/config/ItemOrder.ts
  24. 1 1
      persagy-web-big/src/config/Transparency.ts
  25. 1 1
      persagy-web-big/src/enums/SGraphElementType.ts
  26. 1 1
      persagy-web-big/src/enums/SItemStatus.ts
  27. 1 1
      persagy-web-big/src/enums/SLineType.ts
  28. 1 1
      persagy-web-big/src/enums/SMarkerType.ts
  29. 1 1
      persagy-web-big/src/enums/SRelationDir.ts
  30. 1 1
      persagy-web-big/src/enums/SRelationState.ts
  31. 1 1
      persagy-web-big/src/factories/SItemFactory.ts
  32. 1 1
      persagy-web-big/src/index.ts
  33. 1 1
      persagy-web-big/src/items/SIconTextItem.ts
  34. 1 1
      persagy-web-big/src/items/SLayerItem.ts
  35. 1 1
      persagy-web-big/src/items/SLineItem.ts
  36. 1 1
      persagy-web-big/src/items/SPolygonItem.ts
  37. 1 1
      persagy-web-big/src/items/SPolylineItem.ts
  38. 1 1
      persagy-web-big/src/items/SRectSelectItem.ts
  39. 1 1
      persagy-web-big/src/items/STooltipItem.ts
  40. 1 1
      persagy-web-big/src/items/floor/SBoardItem.ts
  41. 1 1
      persagy-web-big/src/items/floor/SColumnItem.ts
  42. 1 1
      persagy-web-big/src/items/floor/SDoorItem.ts
  43. 1 1
      persagy-web-big/src/items/floor/SHighlightItem.ts
  44. 1 1
      persagy-web-big/src/items/floor/SSpaceItem.ts
  45. 1 1
      persagy-web-big/src/items/floor/SSpaceItemSS.ts
  46. 1 1
      persagy-web-big/src/items/floor/SVirtualWallItem.ts
  47. 1 1
      persagy-web-big/src/items/floor/SWallItem.ts
  48. 1 1
      persagy-web-big/src/items/floor/SWallItemSS.ts
  49. 1 1
      persagy-web-big/src/items/floor/SWindowItem.ts
  50. 1 1
      persagy-web-big/src/items/floor/ZoneItem.ts
  51. 1 1
      persagy-web-big/src/parser/SFloorParser.ts
  52. 1 1
      persagy-web-big/src/parser/SParser.ts
  53. 1 1
      persagy-web-big/src/parser/SZoneParser.ts
  54. 1 1
      persagy-web-big/src/types/FloorData.ts
  55. 1 1
      persagy-web-big/src/types/ImageData.ts
  56. 1 1
      persagy-web-big/src/types/Marker.ts
  57. 1 1
      persagy-web-big/src/types/MinDis.ts
  58. 1 1
      persagy-web-big/src/types/Outline.ts
  59. 1 1
      persagy-web-big/src/types/Place.ts
  60. 1 1
      persagy-web-big/src/types/Point.ts
  61. 1 1
      persagy-web-big/src/types/PointToLine.ts
  62. 1 1
      persagy-web-big/src/types/Size.ts
  63. 1 1
      persagy-web-big/src/types/TextData.ts
  64. 1 1
      persagy-web-big/src/types/floor/Casement.ts
  65. 1 1
      persagy-web-big/src/types/floor/Column.ts
  66. 1 1
      persagy-web-big/src/types/floor/Door.ts
  67. 1 1
      persagy-web-big/src/types/floor/Space.ts
  68. 1 1
      persagy-web-big/src/types/floor/VirtualWall.ts
  69. 1 1
      persagy-web-big/src/types/floor/Wall.ts
  70. 1 1
      persagy-web-big/src/types/floor/Zone.ts
  71. 1 1
      persagy-web-big/src/utils/SMathUtil.ts
  72. 1 1
      persagy-web-draw/.eslintrc.js
  73. 1 1
      persagy-web-draw/__tests__/types/SPoint.test.ts
  74. 1 1
      persagy-web-draw/jest.config.js
  75. 1 1
      persagy-web-draw/publish.js
  76. 1 1
      persagy-web-draw/src/SBrush.ts
  77. 1 1
      persagy-web-draw/src/SCanvasView.ts
  78. 1 1
      persagy-web-draw/src/SColor.ts
  79. 1 1
      persagy-web-draw/src/SFont.ts
  80. 1 1
      persagy-web-draw/src/SGradient.ts
  81. 1 1
      persagy-web-draw/src/SGradientStop.ts
  82. 1 1
      persagy-web-draw/src/SLinearGradient.ts
  83. 1 1
      persagy-web-draw/src/SPainter.ts
  84. 191 0
      persagy-web-draw/src/SPath.ts
  85. 0 284
      persagy-web-draw/src/SPath2D.ts
  86. 37 0
      persagy-web-draw/src/SPathCommand.ts
  87. 1 1
      persagy-web-draw/src/SPen.ts
  88. 1 1
      persagy-web-draw/src/SRadialGradient.ts
  89. 1 1
      persagy-web-draw/src/SShadow.ts
  90. 57 101
      persagy-web-draw/src/engines/SCanvasPaintEngine.ts
  91. 1 58
      persagy-web-draw/src/engines/SPaintEngine.ts
  92. 1 1
      persagy-web-draw/src/engines/SPaintState.ts
  93. 10 97
      persagy-web-draw/src/engines/SSvgPaintEngine.ts
  94. 1 1
      persagy-web-draw/src/enums/SArrowStyleType.ts
  95. 1 1
      persagy-web-draw/src/enums/SAspectRatioMode.ts
  96. 1 1
      persagy-web-draw/src/enums/SBrushType.ts
  97. 1 1
      persagy-web-draw/src/enums/SCompositeType.ts
  98. 1 1
      persagy-web-draw/src/enums/SLineCapStyle.ts
  99. 1 1
      persagy-web-draw/src/enums/SLineJoinStyle.ts
  100. 0 0
      persagy-web-draw/src/enums/SPaintEngineType.ts

+ 1 - 1
persagy-web-base/.eslintrc.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/jest.config.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/publish.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/SMatrix.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/SMouseEvent.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/SObject.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/SObjectObserver.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/enums/SKeyCode.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/enums/SMouseButton.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/enums/STouchState.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/index.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/undo/SCommandLog.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/undo/SUndoCommand.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/undo/SUndoStack.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/utils/SNetUtil.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/utils/SStringBuilder.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/utils/SStringUtil.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-base/src/utils/SUuid.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/.eslintrc.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/jest.config.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/publish.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/config/ItemColor.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/config/ItemOrder.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/config/Transparency.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/enums/SGraphElementType.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/enums/SItemStatus.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/enums/SLineType.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/enums/SMarkerType.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/enums/SRelationDir.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/enums/SRelationState.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/factories/SItemFactory.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/index.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/SIconTextItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/SLayerItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/SLineItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/SPolygonItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/SPolylineItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/SRectSelectItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/STooltipItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SBoardItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SColumnItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SDoorItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SHighlightItem.ts

@@ -18,7 +18,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SSpaceItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SSpaceItemSS.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SVirtualWallItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SWallItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SWallItemSS.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/SWindowItem.ts

@@ -18,7 +18,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/items/floor/ZoneItem.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/parser/SFloorParser.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/parser/SParser.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/parser/SZoneParser.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/FloorData.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/ImageData.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/Marker.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/MinDis.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/Outline.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/Place.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/Point.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/PointToLine.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/Size.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/TextData.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/floor/Casement.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/floor/Column.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/floor/Door.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/floor/Space.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/floor/VirtualWall.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/floor/Wall.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/types/floor/Zone.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-big/src/utils/SMathUtil.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/.eslintrc.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/__tests__/types/SPoint.test.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/jest.config.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/publish.js

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SBrush.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SCanvasView.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SColor.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SFont.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SGradient.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SGradientStop.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SLinearGradient.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SPainter.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 191 - 0
persagy-web-draw/src/SPath.ts

@@ -0,0 +1,191 @@
+/*
+ * *********************************************************************************************************************
+ *
+ *          !!
+ *        .F88X
+ *        X8888Y
+ *      .}888888N;
+ *        i888888N;        .:!              .I$WI:
+ *          R888888I      .'N88~            i8}+8Y&8"l8i$8>8W~'>W8}8]KW+8IIN"8&
+ *          .R888888I    .;N8888~          .X8'  "8I.!,/8"  !%NY8`"8I8~~8>,88I
+ *            +888888N;  .8888888Y                                  "&&8Y.}8,
+ *            ./888888N;  .R888888Y        .'}~    .>}'.`+>  i}!    "i'  +/'  .'i~  !11,.:">,  .~]!  .i}i
+ *              ~888888%:  .I888888l      .]88~`1/iY88Ii+1'.R$8$8]"888888888>  Y8$  W8E  X8E  W8888'188Il}Y88$*
+ *              18888888    E8888881    .]W%8$`R8X'&8%++N8i,8N%N8+l8%`  .}8N:.R$RE%N88N%N$K$R  188,FE$8%~Y88I
+ *            .E888888I  .i8888888'      .:$8I;88+`E8R:/8N,.>881.`$8E/1/]N8X.Y8N`"KF&&FK!'88*."88K./$88%RN888+~
+ *            8888888I  .,N888888~        ~88i"8W,!N8*.I88.}888%F,i$88"F88"  888:E8X.>88!i88>`888*.}Fl1]*}1YKi'
+ *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
+ *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
+ *      .:R888888I
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
+ *        ~8888'
+ *        .!88~                                                                     All rights reserved.
+ *
+ * *********************************************************************************************************************
+ */
+
+import { SPathCommand } from "./SPathCommand";
+
+/**
+ * Path对象
+ *
+ * @author  庞利祥 <sybotan@126.com>
+ */
+export class SPath {
+    cmdList: SPathCommand[] = [];
+
+    /**
+     * 添加 path 命令
+     *
+     * @param   cmd         命令
+     * @param   args        命令参数
+     */
+    private addCommand(cmd: string, ...args: number[]): void {
+        this.cmdList.push({ command: cmd, args: args });
+    }
+
+    /**
+     * 添加一条新路径到对当前路径。
+     *
+     * @param path
+     */
+    addPath(path: SPath): void {
+        this.cmdList.concat(path.cmdList);
+    }
+
+    /**
+     * 使笔点返回到当前子路径的起始点。它尝试从当前点到起始点绘制一条直线。 如果图形已经是封闭的或者只有一个点,那么此函数不会做任何操作。
+     */
+    closePath(): void {
+        this.addCommand("Z");
+    }
+
+    /**
+     * 移动当前点到指定位置
+     *
+     * @param   x       X坐标
+     * @param   y       Y坐标
+     */
+    moveTo(x: number, y: number): void {
+        this.addCommand("M", x, y);
+    }
+
+    /**
+     * 从当前点向指定点画线
+     *
+     * @param   x       X坐标
+     * @param   y       Y坐标
+     */
+    lineTo(x: number, y: number): void {
+        this.addCommand("L", x, y);
+    }
+
+    /**
+     * 添加一条圆弧路径。
+     *
+     * @param   x               圆孤圆心的 X 坐标
+     * @param   y               圆弧圆心的 Y 坐标
+     * @param   radius          圆弧半径
+     * @param   startAngle      开始角度
+     * @param   endAngle        结束角度
+     * @param   anticlockwise   是否逆时针绘制(1是,0不是)
+     */
+    arc(
+        x: number,
+        y: number,
+        radius: number,
+        startAngle: number,
+        endAngle: number,
+        anticlockwise: number
+    ): void {
+        this.addCommand(
+            "Arc",
+            x,
+            y,
+            radius,
+            startAngle,
+            endAngle,
+            anticlockwise
+        );
+    }
+
+    /**
+     * 根据控制点和半径添加一条圆弧路径,使用直线连接前一个点。
+     *
+     * @param x1
+     * @param y1
+     * @param x2
+     * @param y2
+     * @param radius
+     */
+    arcTo(
+        x1: number,
+        y1: number,
+        x2: number,
+        y2: number,
+        radius: number
+    ): void {
+        this.addCommand("ArcTo", x1, y1, x2, y2, radius);
+    }
+
+    /**
+     * 添加二次贝塞尔曲线
+     *
+     * @param   cp1x    控制点X坐标
+     * @param   cp1y    控制点Y坐标
+     * @param   x       结束点X坐标
+     * @param   y       结束点Y坐标
+     */
+    quadraticCurveTo(cp1x: number, cp1y: number, x: number, y: number): void {
+        this.addCommand("Q", cp1x, cp1y, x, y);
+    }
+
+    /**
+     * 添加三次贝塞尔曲线
+     *
+     * @param   cp1x    起始点控制点X坐标
+     * @param   cp1y    起始点控制点Y坐标
+     * @param   cp2x    结束点控制点X坐标
+     * @param   cp2y    结束点控制点Y坐标
+     * @param   x       结束点X坐标
+     * @param   y       结束点Y坐标
+     */
+    bezierCurveTo(
+        cp1x: number,
+        cp1y: number,
+        cp2x: number,
+        cp2y: number,
+        x: number,
+        y: number
+    ): void {
+        this.addCommand("C", cp1x, cp1y, cp2x, cp2y, x, y);
+    }
+
+    /**
+     * 添加椭圆
+     *
+     * @param   cx          圆点X坐标
+     * @param   cy          圆点Y坐标
+     * @param   rx          水平半径
+     * @param   ry          垂直半径
+     */
+    ellipse(cx: number, cy: number, rx: number, ry: number): void {
+        this.addCommand("Ellipse", cx, cy, rx, ry);
+    }
+
+    /**
+     * 添加矩形
+     *
+     * @param   x           X坐标
+     * @param   y           Y坐标
+     * @param   w           宽度
+     * @param   h           高度
+     */
+    rect(x: number, y: number, w: number, h: number): void {
+        this.addCommand("M", x, y);
+        this.addCommand("L", x + w, y);
+        this.addCommand("L", x + w, y + h);
+        this.addCommand("L", x, y + h);
+        this.addCommand("Z");
+    }
+}

+ 0 - 284
persagy-web-draw/src/SPath2D.ts

@@ -1,284 +0,0 @@
-/*
- * *********************************************************************************************************************
- *
- *          !!
- *        .F88X
- *        X8888Y
- *      .}888888N;
- *        i888888N;        .:!              .I$WI:
- *          R888888I      .'N88~            i8}+8Y&8"l8i$8>8W~'>W8}8]KW+8IIN"8&
- *          .R888888I    .;N8888~          .X8'  "8I.!,/8"  !%NY8`"8I8~~8>,88I
- *            +888888N;  .8888888Y                                  "&&8Y.}8,
- *            ./888888N;  .R888888Y        .'}~    .>}'.`+>  i}!    "i'  +/'  .'i~  !11,.:">,  .~]!  .i}i
- *              ~888888%:  .I888888l      .]88~`1/iY88Ii+1'.R$8$8]"888888888>  Y8$  W8E  X8E  W8888'188Il}Y88$*
- *              18888888    E8888881    .]W%8$`R8X'&8%++N8i,8N%N8+l8%`  .}8N:.R$RE%N88N%N$K$R  188,FE$8%~Y88I
- *            .E888888I  .i8888888'      .:$8I;88+`E8R:/8N,.>881.`$8E/1/]N8X.Y8N`"KF&&FK!'88*."88K./$88%RN888+~
- *            8888888I  .,N888888~        ~88i"8W,!N8*.I88.}888%F,i$88"F88"  888:E8X.>88!i88>`888*.}Fl1]*}1YKi'
- *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
- *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
- *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
- *        ~8888'
- *        .!88~                                                                     All rights reserved.
- *
- * *********************************************************************************************************************
- */
-
-import { SPoint } from "./index";
-import {SStringBuilder} from "@persagy-web/base";
-
-/**
- * Path对象
- *
- * @author  庞利祥(sybotan@126.com)
- */
-export class SPath2D {
-    /** 内部path对象 */
-    _path = new Path2D();
-    private svgBuilder = new SStringBuilder();
-
-    /**
-     * svg数据值
-     */
-    svgPath(): string {
-        return this.svgBuilder.toString(" ");
-    } // Function svgPath()
-
-    /**
-     * 添加路径
-     *
-     * @param   path    添加的路径
-     */
-    addPath(path: SPath2D): void {
-        this._path.addPath(path._path);
-        this.svgBuilder.append(path.svgBuilder.toString(" "))
-    } // Function addPath()
-
-    /**
-     * 移动到指定位置
-     *
-     * @param   x       x坐标
-     * @param   y       y坐标
-     */
-    moveTo(x: number, y: number): void {
-        this._path.moveTo(x, y);
-        this.svgBuilder.append(`M ${x} ${y}`);
-    } // Function moveTo()
-
-    /**
-     * 从当前位置到指定位置画直线
-     *
-     * @param   x       x坐标
-     * @param   y       y坐标
-     */
-    lineTo(x: number, y: number): void {
-        this._path.lineTo(x, y);
-        this.svgBuilder.append(`L ${x} ${y}`);
-    } // Function moveTo()
-
-    /**
-     * 矩形
-     *
-     * @param   x           左上角x坐标
-     * @param   y           左上角y坐标
-     * @param   width       宽度
-     * @param   height      高度
-     */
-    rect(x: number, y: number, width: number, height: number): void {
-        let r = x + width;
-        let b = y + height;
-        this._path.moveTo(x, y);
-        this._path.lineTo(r, y);
-        this._path.lineTo(r, b);
-        this._path.lineTo(x, b);
-        this._path.closePath();
-        this.svgBuilder.append(`M ${x} ${y} L${r} ${y} L${r} ${b} L${x} ${b} Z`);
-        // // 逆时针
-        // this._path.moveTo(x, y);
-        // this._path.lineTo(r, y);
-        // this._path.lineTo(r, b);
-        // this._path.lineTo(x, b);
-        // this._path.closePath();
-        // this.svgBuilder.append(`M ${x} ${y} L${r} ${y} L${} ${} L${} ${} L${} ${}`);
-
-    } // Function rect()
-
-    /**
-     * 绘制折线
-     *
-     * @param   points      折线折点
-     */
-    polyline(points: SPoint[]): void {
-        if (points.length < 2) {
-            return;
-        }
-        points.map((it: SPoint, index: number): void => {
-            if (index == 0) {
-                this._path.moveTo(it.x, it.y);
-                this.svgBuilder.append(`M ${it.x} ${it.y}`);
-            } else {
-                this._path.lineTo(it.x, it.y);
-                this.svgBuilder.append(`L ${it.x} ${it.y}`);
-            }
-        });
-    } // Function drawPolyline()
-
-    /**
-     * 绘制多边形
-     *
-     * @param   points      多边形顶点
-     */
-    polygon(points: SPoint[]): void {
-        if (points.length < 3) {
-            return;
-        }
-        points.map((it: SPoint, index: number): void => {
-            if (index == 0) {
-                this._path.moveTo(it.x, it.y);
-                this.svgBuilder.append(`M ${it.x} ${it.y}`);
-            } else {
-                this._path.lineTo(it.x, it.y);
-                this.svgBuilder.append(`L ${it.x} ${it.y}`);
-            }
-        });
-        this._path.closePath();
-        this.svgBuilder.append(`Z`);
-    } // Functin polygon()
-
-    /**
-     * 椭圆弧
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    static arc(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): string {
-        let a = width / 2;
-        let b = height / 2;
-        let p1 = SPath2D.arcPoint(a, b, startAngle);
-        let p2 = SPath2D.arcPoint(a, b, endAngle);
-        let large = SPath2D.largeArcFlag(startAngle, endAngle);
-        p1.x = x + a + p1.x;
-        p1.y = y + b - p1.y;
-        p2.x = x + a + p2.x;
-        p2.y = y + b - p2.y;
-        return `M ${p1.x} ${p1.y} A ${a} ${b} 0 ${large} 0 ${p2.x} ${p2.y}`;
-    } // Function arc()
-
-    /**
-     * 绘制椭圆弦弧
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    static chord(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): string {
-        let a = width / 2;
-        let b = height / 2;
-        let p1 = SPath2D.arcPoint(a, b, startAngle);
-        let p2 = SPath2D.arcPoint(a, b, endAngle);
-        let large = SPath2D.largeArcFlag(startAngle, endAngle);
-        p1.x = x + a + p1.x;
-        p1.y = y + b - p1.y;
-        p2.x = x + a + p2.x;
-        p2.y = y + b - p2.y;
-        return `M ${p1.x} ${p1.y} A ${a} ${b} 0 ${large} 0 ${p2.x} ${p2.y} Z`;
-    } // Function chord()
-
-    /**
-     * 绘制椭圆饼
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    static pie(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): string {
-        let a = width / 2;
-        let b = height / 2;
-        let p1 = SPath2D.arcPoint(a, b, startAngle);
-        let p2 = SPath2D.arcPoint(a, b, endAngle);
-        let large = SPath2D.largeArcFlag(startAngle, endAngle);
-        p1.x = x + a + p1.x;
-        p1.y = y + b - p1.y;
-        p2.x = x + a + p2.x;
-        p2.y = y + b - p2.y;
-        return `M ${x + a} ${y + b} L ${p1.x} ${
-            p1.y
-        } A ${a} ${b} 0 ${large} 0 ${p2.x} ${p2.y} Z`;
-    } // Function pie()
-
-    /**
-     * 计算大弧标志
-     *
-     * @param   startAngle      启动角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    static largeArcFlag(startAngle: number, endAngle: number): number {
-        return ((Math.abs(endAngle - startAngle) * 180) / Math.PI) % 360 >
-            179.99999
-            ? 1
-            : 0;
-    } // Function largeArcFlag()
-
-    // https://blog.csdn.net/xiamentingtao/article/details/85804823
-    static arcPoint(a: number, b: number, angle: number): SPoint {
-        let p = new SPoint();
-        if (angle >= 0) {
-            angle = angle - Math.floor(angle / Math.PI / 2) * 2 * Math.PI;
-        } else {
-            angle = angle + Math.ceil(-angle / Math.PI / 2) * 2 * Math.PI;
-        }
-        if (Math.abs(Math.PI / 2 - angle) <= 0.000001) {
-            p.x = 0;
-            p.y = b;
-        } else if (Math.abs((Math.PI * 3) / 2 - angle) <= 0.000001) {
-            p.x = 0;
-            p.y = -b;
-        } else if (Math.PI / 2 < angle && angle < (Math.PI * 3) / 2) {
-            p.x =
-                -(a * b) /
-                Math.sqrt(b * b + a * a * Math.tan(angle) * Math.tan(angle));
-            p.y =
-                -(a * b * Math.tan(angle)) /
-                Math.sqrt(b * b + a * a * Math.tan(angle) * Math.tan(angle));
-        } else {
-            p.x =
-                (a * b) /
-                Math.sqrt(b * b + a * a * Math.tan(angle) * Math.tan(angle));
-            p.y =
-                (a * b * Math.tan(angle)) /
-                Math.sqrt(b * b + a * a * Math.tan(angle) * Math.tan(angle));
-        }
-        return p;
-    } // Function arcPoint()
-} // Class SPath2D

+ 37 - 0
persagy-web-draw/src/SPathCommand.ts

@@ -0,0 +1,37 @@
+/*
+ * *********************************************************************************************************************
+ *
+ *          !!
+ *        .F88X
+ *        X8888Y
+ *      .}888888N;
+ *        i888888N;        .:!              .I$WI:
+ *          R888888I      .'N88~            i8}+8Y&8"l8i$8>8W~'>W8}8]KW+8IIN"8&
+ *          .R888888I    .;N8888~          .X8'  "8I.!,/8"  !%NY8`"8I8~~8>,88I
+ *            +888888N;  .8888888Y                                  "&&8Y.}8,
+ *            ./888888N;  .R888888Y        .'}~    .>}'.`+>  i}!    "i'  +/'  .'i~  !11,.:">,  .~]!  .i}i
+ *              ~888888%:  .I888888l      .]88~`1/iY88Ii+1'.R$8$8]"888888888>  Y8$  W8E  X8E  W8888'188Il}Y88$*
+ *              18888888    E8888881    .]W%8$`R8X'&8%++N8i,8N%N8+l8%`  .}8N:.R$RE%N88N%N$K$R  188,FE$8%~Y88I
+ *            .E888888I  .i8888888'      .:$8I;88+`E8R:/8N,.>881.`$8E/1/]N8X.Y8N`"KF&&FK!'88*."88K./$88%RN888+~
+ *            8888888I  .,N888888~        ~88i"8W,!N8*.I88.}888%F,i$88"F88"  888:E8X.>88!i88>`888*.}Fl1]*}1YKi'
+ *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
+ *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
+ *      .:R888888I
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
+ *        ~8888'
+ *        .!88~                                                                     All rights reserved.
+ *
+ * *********************************************************************************************************************
+ */
+
+/**
+ *  路径命令接口
+ *
+ *  @author  庞利祥 <sybotan@126.com>
+ * */
+export interface SPathCommand {
+    /** 命令    */
+    command: string;
+    /** 参数    */
+    args: number[];
+}

+ 1 - 1
persagy-web-draw/src/SPen.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SRadialGradient.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/SShadow.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 57 - 101
persagy-web-draw/src/engines/SCanvasPaintEngine.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *
@@ -40,7 +40,7 @@ import {
     STextBaseLine,
     STextDirection
 } from "..";
-import { SPath2D } from "../SPath2D";
+import { SPath } from "../SPath";
 
 /**
  * Canvas绘制引擎基类
@@ -166,97 +166,6 @@ export class SCanvasPaintEngine extends SPaintEngine {
     } // Function drawEllipse()
 
     /**
-     * 绘制椭圆弧
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    drawArc(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): void {
-        this.setMatrix();
-        this.setPen();
-        this.setBrush();
-        this.setComposite();
-        this.setShadow();
-        let p = SPath2D.arc(x, y, width, height, startAngle, endAngle);
-        let path = new Path2D(
-            SPath2D.arc(x, y, width, height, startAngle, endAngle)
-        );
-        this._canvas.stroke(path);
-    } // Function drawArc()
-
-    /**
-     * 绘制椭圆弦弧
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    drawChord(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): void {
-        this.setMatrix();
-        this.setPen();
-        this.setBrush();
-        this.setComposite();
-        this.setShadow();
-        let path = new Path2D(
-            SPath2D.chord(x, y, width, height, startAngle, endAngle)
-        );
-
-        this._canvas.fill(path);
-        this._canvas.stroke(path);
-    } // Function drawChord()
-
-    /**
-     * 绘制椭圆饼
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    drawPie(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): void {
-        this.setMatrix();
-        this.setPen();
-        this.setBrush();
-        this.setComposite();
-        this.setShadow();
-        let path = new Path2D(
-            SPath2D.pie(x, y, width, height, startAngle, endAngle)
-        );
-        this._canvas.fill(path);
-        this._canvas.stroke(path);
-    } // Function drawPie()
-
-    /**
      * 绘制线段
      *
      * @param   line        线段
@@ -332,15 +241,62 @@ export class SCanvasPaintEngine extends SPaintEngine {
      *
      * @param   path        路径
      */
-    drawPath(path: SPath2D): void {
-        this.setMatrix();
-        this.setPen();
-        this.setBrush();
-        this.setComposite();
-        this.setShadow();
+    drawPath(path: SPath): void {
+        path.cmdList.forEach(cmd => {
+            if (cmd.command == "M") {
+                this._canvas.moveTo(cmd.args[0], cmd.args[1]);
+            } else if (cmd.command == "L") {
+                this._canvas.lineTo(cmd.args[0], cmd.args[1]);
+            } else if (cmd.command == "Z") {
+                this._canvas.closePath();
+            } else if (cmd.command == "Q") {
+                this._canvas.quadraticCurveTo(
+                    cmd.args[0],
+                    cmd.args[1],
+                    cmd.args[2],
+                    cmd.args[3]
+                );
+            } else if (cmd.command == "T") {
+                // @ts-ignore
+                this._canvas.bezierCurveTo(
+                    cmd.args[0],
+                    cmd.args[1],
+                    cmd.args[2],
+                    cmd.args[3],
+                    cmd.args[4]
+                );
+            } else if (cmd.command == "Ellipse") {
+                this._canvas.ellipse(
+                    cmd.args[0],
+                    cmd.args[1],
+                    cmd.args[2],
+                    cmd.args[3],
+                    0,
+                    0,
+                    Math.PI * 2
+                );
+            } else if (cmd.command == "Arc") {
+                this._canvas.arc(
+                    cmd.args[0],
+                    cmd.args[1],
+                    cmd.args[2],
+                    cmd.args[3],
+                    cmd.args[4],
+                    cmd.args[5] == 1
+                );
+            } else if (cmd.command == "ArcTo") {
+                this._canvas.arcTo(
+                    cmd.args[0],
+                    cmd.args[1],
+                    cmd.args[2],
+                    cmd.args[3],
+                    cmd.args[4]
+                );
+            }
+        });
 
-        this._canvas.fill(path._path);
-        this._canvas.stroke(path._path);
+        this._canvas.fill();
+        this._canvas.stroke();
     } // Function drawPath()
 
     /**

+ 1 - 58
persagy-web-draw/src/engines/SPaintEngine.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *
@@ -185,63 +185,6 @@ export abstract class SPaintEngine {
     abstract drawEllipse(cx: number, cy: number, rx: number, ry: number): void;
 
     /**
-     * 绘制椭圆弧
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startRadian     开始角度(单位弧度)
-     * @param   endRadian       结束角度(单位弧度)
-     */
-    abstract drawArc(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startRadian: number,
-        endRadian: number
-    ): void;
-
-    /**
-     * 绘制椭圆弦弧
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startRadian     开始角度(单位弧度)
-     * @param   endRadian       结束角度(单位弧度)
-     */
-    abstract drawChord(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startRadian: number,
-        endRadian: number
-    ): void;
-
-    /**
-     * 绘制椭圆饼
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    abstract drawPie(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): void;
-
-    /**
      * 绘制线段
      *
      * @param   line        线段

+ 1 - 1
persagy-web-draw/src/engines/SPaintState.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 10 - 97
persagy-web-draw/src/engines/SSvgPaintEngine.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *
@@ -25,7 +25,6 @@
  */
 
 import { SStringBuilder } from "@persagy-web/base";
-import { SPath2D } from "../SPath2D";
 import {
     SFont,
     SLine,
@@ -34,6 +33,7 @@ import {
     SPoint,
     SRect
 } from "..";
+import {SPath} from "../SPath";
 
 /**
  * Canvas绘制引擎基类
@@ -163,93 +163,6 @@ export class SSvgPaintEngine extends SPaintEngine {
     } // Function drawEllipse()
 
     /**
-     * 绘制椭圆弧
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    drawArc(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): void {
-        let path = SPath2D.arc(x, y, width, height, startAngle, endAngle);
-
-        this._builder.append(
-            `<path d="${path}" ${this.getStyle(
-                false,
-                true,
-                false
-            )} ${this.getSvgMatrix()}/>`
-        );
-    } // Function drawArc()
-
-    /**
-     * 绘制椭圆弦弧
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    drawChord(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): void {
-        let path = SPath2D.chord(x, y, width, height, startAngle, endAngle);
-
-        this._builder.append(
-            `<path d="${path}" ${this.getStyle(
-                true,
-                true,
-                false
-            )} ${this.getSvgMatrix()}/>`
-        );
-    } // Function drawChord()
-
-    /**
-     * 绘制椭圆饼
-     *
-     * @param   x               椭圆所在矩形X坐标
-     * @param   y               椭圆所在矩形Y坐标
-     * @param   width           椭圆所在矩形宽度
-     * @param   height          椭圆所在矩形高度
-     * @param   startAngle      开始角度(单位弧度)
-     * @param   endAngle        结束角度(单位弧度)
-     */
-    drawPie(
-        x: number,
-        y: number,
-        width: number,
-        height: number,
-        startAngle: number,
-        endAngle: number
-    ): void {
-        let path = SPath2D.pie(x, y, width, height, startAngle, endAngle);
-
-        this._builder.append(
-            `<path d="${path}" ${this.getStyle(
-                true,
-                true,
-                false
-            )} ${this.getSvgMatrix()}/>`
-        );
-    } // Function drawPie()
-
-    /**
      * 绘制线段
      *
      * @param   line        线段
@@ -293,14 +206,14 @@ export class SSvgPaintEngine extends SPaintEngine {
      *
      * @param   path        路径
      */
-    drawPath(path: SPath2D): void {
-        this._builder.append(
-            `<path d="${path.svgPath()}" ${this.getStyle(
-                true,
-                true,
-                false
-            )} ${this.getSvgMatrix()}/>`
-        );
+    drawPath(path: SPath): void {
+        // this._builder.append(
+        //     `<path d="${path.svgPath()}" ${this.getStyle(
+        //         true,
+        //         true,
+        //         false
+        //     )} ${this.getSvgMatrix()}/>`
+        // );
     } // Function drawPath()
 
     /**

+ 1 - 1
persagy-web-draw/src/enums/SArrowStyleType.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/enums/SAspectRatioMode.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/enums/SBrushType.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/enums/SCompositeType.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/enums/SLineCapStyle.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 1 - 1
persagy-web-draw/src/enums/SLineJoinStyle.ts

@@ -17,7 +17,7 @@
  *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
  *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
  *      .:R888888I
- *      .&888888I                                          Copyright (c) 2016-2020.  博锐尚格科技股份有限公司
+ *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
  *        ~8888'
  *        .!88~                                                                     All rights reserved.
  *

+ 0 - 0
persagy-web-draw/src/enums/SPaintEngineType.ts


Some files were not shown because too many files changed in this diff