plotboilerplate 1.28.0 → 1.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1022) hide show
  1. package/package.json +1 -1
  2. package/src/_cjs/BezierPath.d.ts +0 -610
  3. package/src/_cjs/BezierPath.js +0 -1127
  4. package/src/_cjs/BezierPath.js.map +0 -1
  5. package/src/_cjs/Bounds.d.ts +0 -252
  6. package/src/_cjs/Bounds.js +0 -320
  7. package/src/_cjs/Bounds.js.map +0 -1
  8. package/src/_cjs/Circle.d.ts +0 -214
  9. package/src/_cjs/Circle.js +0 -339
  10. package/src/_cjs/Circle.js.map +0 -1
  11. package/src/_cjs/CircleSector.d.ts +0 -211
  12. package/src/_cjs/CircleSector.js +0 -364
  13. package/src/_cjs/CircleSector.js.map +0 -1
  14. package/src/_cjs/CubicBezierCurve.d.ts +0 -656
  15. package/src/_cjs/CubicBezierCurve.js +0 -1062
  16. package/src/_cjs/CubicBezierCurve.js.map +0 -1
  17. package/src/_cjs/Grid.d.ts +0 -83
  18. package/src/_cjs/Grid.js +0 -90
  19. package/src/_cjs/Grid.js.map +0 -1
  20. package/src/_cjs/KeyHandler.d.ts +0 -177
  21. package/src/_cjs/KeyHandler.js +0 -435
  22. package/src/_cjs/KeyHandler.js.map +0 -1
  23. package/src/_cjs/Line.d.ts +0 -134
  24. package/src/_cjs/Line.js +0 -220
  25. package/src/_cjs/Line.js.map +0 -1
  26. package/src/_cjs/MouseHandler.d.ts +0 -283
  27. package/src/_cjs/MouseHandler.js +0 -423
  28. package/src/_cjs/MouseHandler.js.map +0 -1
  29. package/src/_cjs/PBImage.d.ts +0 -81
  30. package/src/_cjs/PBImage.js +0 -61
  31. package/src/_cjs/PBImage.js.map +0 -1
  32. package/src/_cjs/PBText.d.ts +0 -118
  33. package/src/_cjs/PBText.js +0 -63
  34. package/src/_cjs/PBText.js.map +0 -1
  35. package/src/_cjs/PlotBoilerplate.d.ts +0 -899
  36. package/src/_cjs/PlotBoilerplate.js +0 -2348
  37. package/src/_cjs/PlotBoilerplate.js.map +0 -1
  38. package/src/_cjs/Polygon.d.ts +0 -520
  39. package/src/_cjs/Polygon.js +0 -933
  40. package/src/_cjs/Polygon.js.map +0 -1
  41. package/src/_cjs/SVGBuilder.d.ts +0 -47
  42. package/src/_cjs/SVGBuilder.js +0 -100
  43. package/src/_cjs/SVGBuilder.js.map +0 -1
  44. package/src/_cjs/Triangle.d.ts +0 -392
  45. package/src/_cjs/Triangle.js +0 -497
  46. package/src/_cjs/Triangle.js.map +0 -1
  47. package/src/_cjs/UIDGenerator.d.ts +0 -12
  48. package/src/_cjs/UIDGenerator.js +0 -21
  49. package/src/_cjs/UIDGenerator.js.map +0 -1
  50. package/src/_cjs/VEllipse.d.ts +0 -319
  51. package/src/_cjs/VEllipse.js +0 -578
  52. package/src/_cjs/VEllipse.js.map +0 -1
  53. package/src/_cjs/VEllipseSector.d.ts +0 -230
  54. package/src/_cjs/VEllipseSector.js +0 -428
  55. package/src/_cjs/VEllipseSector.js.map +0 -1
  56. package/src/_cjs/Vector.d.ts +0 -126
  57. package/src/_cjs/Vector.js +0 -199
  58. package/src/_cjs/Vector.js.map +0 -1
  59. package/src/_cjs/VertTuple.d.ts +0 -284
  60. package/src/_cjs/VertTuple.js +0 -348
  61. package/src/_cjs/VertTuple.js.map +0 -1
  62. package/src/_cjs/Vertex.d.ts +0 -498
  63. package/src/_cjs/Vertex.js +0 -703
  64. package/src/_cjs/Vertex.js.map +0 -1
  65. package/src/_cjs/VertexAttr.d.ts +0 -72
  66. package/src/_cjs/VertexAttr.js +0 -59
  67. package/src/_cjs/VertexAttr.js.map +0 -1
  68. package/src/_cjs/VertexListeners.d.ts +0 -208
  69. package/src/_cjs/VertexListeners.js +0 -267
  70. package/src/_cjs/VertexListeners.js.map +0 -1
  71. package/src/_cjs/draw.d.ts +0 -657
  72. package/src/_cjs/draw.js +0 -1164
  73. package/src/_cjs/draw.js.map +0 -1
  74. package/src/_cjs/drawgl.d.ts +0 -544
  75. package/src/_cjs/drawgl.js +0 -794
  76. package/src/_cjs/drawgl.js.map +0 -1
  77. package/src/_cjs/drawutilssvg.d.ts +0 -954
  78. package/src/_cjs/drawutilssvg.js +0 -1713
  79. package/src/_cjs/drawutilssvg.js.map +0 -1
  80. package/src/_cjs/entry-glsupport.js +0 -28
  81. package/src/_cjs/entry.js +0 -29
  82. package/src/_cjs/geomutils.d.ts +0 -77
  83. package/src/_cjs/geomutils.js +0 -126
  84. package/src/_cjs/geomutils.js.map +0 -1
  85. package/src/_cjs/index.d.ts +0 -102
  86. package/src/_cjs/index.js +0 -128
  87. package/src/_cjs/index.js.map +0 -1
  88. package/src/_cjs/interfaces/DrawLib.d.ts +0 -582
  89. package/src/_cjs/interfaces/DrawLib.js +0 -32
  90. package/src/_cjs/interfaces/DrawLib.js.map +0 -1
  91. package/src/_cjs/interfaces/additionals.d.ts +0 -95
  92. package/src/_cjs/interfaces/additionals.js +0 -3
  93. package/src/_cjs/interfaces/additionals.js.map +0 -1
  94. package/src/_cjs/interfaces/core.d.ts +0 -286
  95. package/src/_cjs/interfaces/core.js +0 -30
  96. package/src/_cjs/interfaces/core.js.map +0 -1
  97. package/src/_cjs/interfaces/externals.d.ts +0 -56
  98. package/src/_cjs/interfaces/externals.js +0 -8
  99. package/src/_cjs/interfaces/externals.js.map +0 -1
  100. package/src/_cjs/interfaces/index.d.ts +0 -4
  101. package/src/_cjs/interfaces/index.js +0 -21
  102. package/src/_cjs/interfaces/index.js.map +0 -1
  103. package/src/_cjs/module.d.ts +0 -26
  104. package/src/_cjs/module.js +0 -60
  105. package/src/_cjs/module.js.map +0 -1
  106. package/src/_cjs/utils/InitializationObserver.d.ts +0 -18
  107. package/src/_cjs/utils/InitializationObserver.js +0 -63
  108. package/src/_cjs/utils/InitializationObserver.js.map +0 -1
  109. package/src/_cjs/utils/LissajousFigure.d.ts +0 -34
  110. package/src/_cjs/utils/LissajousFigure.js +0 -100
  111. package/src/_cjs/utils/LissajousFigure.js.map +0 -1
  112. package/src/_cjs/utils/NGons.d.ts +0 -13
  113. package/src/_cjs/utils/NGons.js +0 -36
  114. package/src/_cjs/utils/NGons.js.map +0 -1
  115. package/src/_cjs/utils/Params.d.ts +0 -17
  116. package/src/_cjs/utils/Params.js +0 -53
  117. package/src/_cjs/utils/Params.js.map +0 -1
  118. package/src/_cjs/utils/PerlinNoise.d.ts +0 -19
  119. package/src/_cjs/utils/PerlinNoise.js +0 -352
  120. package/src/_cjs/utils/PerlinNoise.js.map +0 -1
  121. package/src/_cjs/utils/SVGPathUtils.d.ts +0 -22
  122. package/src/_cjs/utils/SVGPathUtils.js +0 -45
  123. package/src/_cjs/utils/SVGPathUtils.js.map +0 -1
  124. package/src/_cjs/utils/WebColors.d.ts +0 -35
  125. package/src/_cjs/utils/WebColors.js +0 -58
  126. package/src/_cjs/utils/WebColors.js.map +0 -1
  127. package/src/_cjs/utils/WebColorsContrast.d.ts +0 -6
  128. package/src/_cjs/utils/WebColorsContrast.js +0 -12
  129. package/src/_cjs/utils/WebColorsContrast.js.map +0 -1
  130. package/src/_cjs/utils/WebColorsMalachite.d.ts +0 -12
  131. package/src/_cjs/utils/WebColorsMalachite.js +0 -28
  132. package/src/_cjs/utils/WebColorsMalachite.js.map +0 -1
  133. package/src/_cjs/utils/_gup.js_ +0 -13
  134. package/src/_cjs/utils/algorithms/CatmullRomPath.d.ts +0 -60
  135. package/src/_cjs/utils/algorithms/CatmullRomPath.js +0 -108
  136. package/src/_cjs/utils/algorithms/CatmullRomPath.js.map +0 -1
  137. package/src/_cjs/utils/algorithms/CircleIntersections.d.ts +0 -170
  138. package/src/_cjs/utils/algorithms/CircleIntersections.js +0 -310
  139. package/src/_cjs/utils/algorithms/CircleIntersections.js.map +0 -1
  140. package/src/_cjs/utils/algorithms/ContourLineDetection.d.ts +0 -150
  141. package/src/_cjs/utils/algorithms/ContourLineDetection.js +0 -367
  142. package/src/_cjs/utils/algorithms/ContourLineDetection.js.map +0 -1
  143. package/src/_cjs/utils/algorithms/CubicSplinePath.d.ts +0 -63
  144. package/src/_cjs/utils/algorithms/CubicSplinePath.js +0 -175
  145. package/src/_cjs/utils/algorithms/CubicSplinePath.js.map +0 -1
  146. package/src/_cjs/utils/algorithms/HobbyPath.d.ts +0 -81
  147. package/src/_cjs/utils/algorithms/HobbyPath.js +0 -278
  148. package/src/_cjs/utils/algorithms/HobbyPath.js.map +0 -1
  149. package/src/_cjs/utils/algorithms/Metaballs.d.ts +0 -30
  150. package/src/_cjs/utils/algorithms/Metaballs.js +0 -114
  151. package/src/_cjs/utils/algorithms/Metaballs.js.map +0 -1
  152. package/src/_cjs/utils/algorithms/PolygonInset.d.ts +0 -184
  153. package/src/_cjs/utils/algorithms/PolygonInset.js +0 -431
  154. package/src/_cjs/utils/algorithms/PolygonInset.js.map +0 -1
  155. package/src/_cjs/utils/algorithms/PolygonTesselationOutlines.d.ts +0 -145
  156. package/src/_cjs/utils/algorithms/PolygonTesselationOutlines.js +0 -269
  157. package/src/_cjs/utils/algorithms/PolygonTesselationOutlines.js.map +0 -1
  158. package/src/_cjs/utils/algorithms/arrayFill.d.ts +0 -8
  159. package/src/_cjs/utils/algorithms/arrayFill.js +0 -18
  160. package/src/_cjs/utils/algorithms/arrayFill.js.map +0 -1
  161. package/src/_cjs/utils/algorithms/arrayResize.d.ts +0 -8
  162. package/src/_cjs/utils/algorithms/arrayResize.js +0 -24
  163. package/src/_cjs/utils/algorithms/arrayResize.js.map +0 -1
  164. package/src/_cjs/utils/algorithms/arrayShuffle.d.ts +0 -8
  165. package/src/_cjs/utils/algorithms/arrayShuffle.js +0 -15
  166. package/src/_cjs/utils/algorithms/arrayShuffle.js.map +0 -1
  167. package/src/_cjs/utils/algorithms/clearDuplicateVertices.d.ts +0 -22
  168. package/src/_cjs/utils/algorithms/clearDuplicateVertices.js +0 -51
  169. package/src/_cjs/utils/algorithms/clearDuplicateVertices.js.map +0 -1
  170. package/src/_cjs/utils/algorithms/clearPolygonDuplicateVertices.d.ts +0 -24
  171. package/src/_cjs/utils/algorithms/clearPolygonDuplicateVertices.js +0 -61
  172. package/src/_cjs/utils/algorithms/clearPolygonDuplicateVertices.js.map +0 -1
  173. package/src/_cjs/utils/algorithms/convexHull.d.ts +0 -23
  174. package/src/_cjs/utils/algorithms/convexHull.js +0 -71
  175. package/src/_cjs/utils/algorithms/convexHull.js.map +0 -1
  176. package/src/_cjs/utils/algorithms/convexPolygonIncircle.d.ts +0 -41
  177. package/src/_cjs/utils/algorithms/convexPolygonIncircle.js +0 -145
  178. package/src/_cjs/utils/algorithms/convexPolygonIncircle.js.map +0 -1
  179. package/src/_cjs/utils/algorithms/delaunay.d.ts +0 -30
  180. package/src/_cjs/utils/algorithms/delaunay.js +0 -158
  181. package/src/_cjs/utils/algorithms/delaunay.js.map +0 -1
  182. package/src/_cjs/utils/algorithms/delaunay2voronoi.d.ts +0 -25
  183. package/src/_cjs/utils/algorithms/delaunay2voronoi.js +0 -104
  184. package/src/_cjs/utils/algorithms/delaunay2voronoi.js.map +0 -1
  185. package/src/_cjs/utils/algorithms/detectPaths.d.ts +0 -21
  186. package/src/_cjs/utils/algorithms/detectPaths.js +0 -169
  187. package/src/_cjs/utils/algorithms/detectPaths.js.map +0 -1
  188. package/src/_cjs/utils/algorithms/findPolygonSelfIntersections.d.ts +0 -21
  189. package/src/_cjs/utils/algorithms/findPolygonSelfIntersections.js +0 -51
  190. package/src/_cjs/utils/algorithms/findPolygonSelfIntersections.js.map +0 -1
  191. package/src/_cjs/utils/algorithms/getContrastColor.d.ts +0 -13
  192. package/src/_cjs/utils/algorithms/getContrastColor.js +0 -26
  193. package/src/_cjs/utils/algorithms/getContrastColor.js.map +0 -1
  194. package/src/_cjs/utils/algorithms/matrixFill.d.ts +0 -10
  195. package/src/_cjs/utils/algorithms/matrixFill.js +0 -21
  196. package/src/_cjs/utils/algorithms/matrixFill.js.map +0 -1
  197. package/src/_cjs/utils/algorithms/pixelCornersToRoundPaths.d.ts +0 -23
  198. package/src/_cjs/utils/algorithms/pixelCornersToRoundPaths.js +0 -270
  199. package/src/_cjs/utils/algorithms/pixelCornersToRoundPaths.js.map +0 -1
  200. package/src/_cjs/utils/algorithms/splitPolygonToNonIntersecting.d.ts +0 -28
  201. package/src/_cjs/utils/algorithms/splitPolygonToNonIntersecting.js +0 -102
  202. package/src/_cjs/utils/algorithms/splitPolygonToNonIntersecting.js.map +0 -1
  203. package/src/_cjs/utils/algorithms/sutherlandHodgman.d.ts +0 -16
  204. package/src/_cjs/utils/algorithms/sutherlandHodgman.js +0 -76
  205. package/src/_cjs/utils/algorithms/sutherlandHodgman.js.map +0 -1
  206. package/src/_cjs/utils/cloneVertexArray.d.ts +0 -13
  207. package/src/_cjs/utils/cloneVertexArray.js +0 -23
  208. package/src/_cjs/utils/cloneVertexArray.js.map +0 -1
  209. package/src/_cjs/utils/createRandomizedPolygon.d.ts +0 -14
  210. package/src/_cjs/utils/createRandomizedPolygon.js +0 -32
  211. package/src/_cjs/utils/createRandomizedPolygon.js.map +0 -1
  212. package/src/_cjs/utils/creategui.js +0 -434
  213. package/src/_cjs/utils/dat.gui.arrowbounce.polyfill.js +0 -128
  214. package/src/_cjs/utils/dat.gui.title.polyfill.js +0 -35
  215. package/src/_cjs/utils/datastructures/CircularIntervalSet.d.ts +0 -83
  216. package/src/_cjs/utils/datastructures/CircularIntervalSet.js +0 -163
  217. package/src/_cjs/utils/datastructures/CircularIntervalSet.js.map +0 -1
  218. package/src/_cjs/utils/datastructures/Color.d.ts +0 -391
  219. package/src/_cjs/utils/datastructures/Color.js +0 -1084
  220. package/src/_cjs/utils/datastructures/Color.js.map +0 -1
  221. package/src/_cjs/utils/datastructures/ColorGradient.d.ts +0 -81
  222. package/src/_cjs/utils/datastructures/ColorGradient.js +0 -176
  223. package/src/_cjs/utils/datastructures/ColorGradient.js.map +0 -1
  224. package/src/_cjs/utils/datastructures/DataGrid2d.d.ts +0 -53
  225. package/src/_cjs/utils/datastructures/DataGrid2d.js +0 -20
  226. package/src/_cjs/utils/datastructures/DataGrid2d.js.map +0 -1
  227. package/src/_cjs/utils/datastructures/DataGrid2dArrayMatrix.d.ts +0 -88
  228. package/src/_cjs/utils/datastructures/DataGrid2dArrayMatrix.js +0 -155
  229. package/src/_cjs/utils/datastructures/DataGrid2dArrayMatrix.js.map +0 -1
  230. package/src/_cjs/utils/datastructures/DataGrid2dListAdapter.d.ts +0 -59
  231. package/src/_cjs/utils/datastructures/DataGrid2dListAdapter.js +0 -84
  232. package/src/_cjs/utils/datastructures/DataGrid2dListAdapter.js.map +0 -1
  233. package/src/_cjs/utils/datastructures/GenericPath.d.ts +0 -86
  234. package/src/_cjs/utils/datastructures/GenericPath.js +0 -122
  235. package/src/_cjs/utils/datastructures/GenericPath.js.map +0 -1
  236. package/src/_cjs/utils/datastructures/GeometryMesh.d.ts +0 -49
  237. package/src/_cjs/utils/datastructures/GeometryMesh.js +0 -58
  238. package/src/_cjs/utils/datastructures/GeometryMesh.js.map +0 -1
  239. package/src/_cjs/utils/datastructures/Girih.d.ts +0 -181
  240. package/src/_cjs/utils/datastructures/Girih.js +0 -266
  241. package/src/_cjs/utils/datastructures/Girih.js.map +0 -1
  242. package/src/_cjs/utils/datastructures/GirihBowtie.d.ts +0 -37
  243. package/src/_cjs/utils/datastructures/GirihBowtie.js +0 -152
  244. package/src/_cjs/utils/datastructures/GirihBowtie.js.map +0 -1
  245. package/src/_cjs/utils/datastructures/GirihDecagon.d.ts +0 -52
  246. package/src/_cjs/utils/datastructures/GirihDecagon.js +0 -132
  247. package/src/_cjs/utils/datastructures/GirihDecagon.js.map +0 -1
  248. package/src/_cjs/utils/datastructures/GirihHexagon.d.ts +0 -39
  249. package/src/_cjs/utils/datastructures/GirihHexagon.js +0 -200
  250. package/src/_cjs/utils/datastructures/GirihHexagon.js.map +0 -1
  251. package/src/_cjs/utils/datastructures/GirihPenroseRhombus.d.ts +0 -46
  252. package/src/_cjs/utils/datastructures/GirihPenroseRhombus.js +0 -189
  253. package/src/_cjs/utils/datastructures/GirihPenroseRhombus.js.map +0 -1
  254. package/src/_cjs/utils/datastructures/GirihPentagon.d.ts +0 -37
  255. package/src/_cjs/utils/datastructures/GirihPentagon.js +0 -109
  256. package/src/_cjs/utils/datastructures/GirihPentagon.js.map +0 -1
  257. package/src/_cjs/utils/datastructures/GirihRhombus.d.ts +0 -38
  258. package/src/_cjs/utils/datastructures/GirihRhombus.js +0 -155
  259. package/src/_cjs/utils/datastructures/GirihRhombus.js.map +0 -1
  260. package/src/_cjs/utils/datastructures/GirihTile.d.ts +0 -283
  261. package/src/_cjs/utils/datastructures/GirihTile.js +0 -308
  262. package/src/_cjs/utils/datastructures/GirihTile.js.map +0 -1
  263. package/src/_cjs/utils/datastructures/Matrix4x4.d.ts +0 -244
  264. package/src/_cjs/utils/datastructures/Matrix4x4.js +0 -262
  265. package/src/_cjs/utils/datastructures/Matrix4x4.js.map +0 -1
  266. package/src/_cjs/utils/datastructures/VoronoiCell.d.ts +0 -122
  267. package/src/_cjs/utils/datastructures/VoronoiCell.js +0 -183
  268. package/src/_cjs/utils/datastructures/VoronoiCell.js.map +0 -1
  269. package/src/_cjs/utils/datastructures/interfaces.d.ts +0 -13
  270. package/src/_cjs/utils/datastructures/interfaces.js +0 -10
  271. package/src/_cjs/utils/datastructures/interfaces.js.map +0 -1
  272. package/src/_cjs/utils/detectDarkMode.d.ts +0 -10
  273. package/src/_cjs/utils/detectDarkMode.js +0 -41
  274. package/src/_cjs/utils/detectDarkMode.js.map +0 -1
  275. package/src/_cjs/utils/dom/components/ColorGradientPicker.d.ts +0 -246
  276. package/src/_cjs/utils/dom/components/ColorGradientPicker.js +0 -667
  277. package/src/_cjs/utils/dom/components/ColorGradientPicker.js.map +0 -1
  278. package/src/_cjs/utils/dom/components/ColorGradientPickerJSX.d.ts +0 -129
  279. package/src/_cjs/utils/dom/components/ColorGradientPickerJSX.js +0 -520
  280. package/src/_cjs/utils/dom/components/ColorGradientPickerJSX.js.map +0 -1
  281. package/src/_cjs/utils/dom/components/ColorGradientSelector.d.ts +0 -118
  282. package/src/_cjs/utils/dom/components/ColorGradientSelector.js +0 -327
  283. package/src/_cjs/utils/dom/components/ColorGradientSelector.js.map +0 -1
  284. package/src/_cjs/utils/dom/components/Test.d.ts +0 -7
  285. package/src/_cjs/utils/dom/components/Test.js +0 -30
  286. package/src/_cjs/utils/dom/components/Test.js.map +0 -1
  287. package/src/_cjs/utils/dom/getAvailableContainerSpace.d.ts +0 -2
  288. package/src/_cjs/utils/dom/getAvailableContainerSpace.js +0 -29
  289. package/src/_cjs/utils/dom/getAvailableContainerSpace.js.map +0 -1
  290. package/src/_cjs/utils/dom/getFProp.d.ts +0 -5
  291. package/src/_cjs/utils/dom/getFProp.js +0 -12
  292. package/src/_cjs/utils/dom/getFProp.js.map +0 -1
  293. package/src/_cjs/utils/dom/guiSizeToggler.d.ts +0 -18
  294. package/src/_cjs/utils/dom/guiSizeToggler.js +0 -44
  295. package/src/_cjs/utils/dom/guiSizeToggler.js.map +0 -1
  296. package/src/_cjs/utils/findInVertexArray.d.ts +0 -19
  297. package/src/_cjs/utils/findInVertexArray.js +0 -29
  298. package/src/_cjs/utils/findInVertexArray.js.map +0 -1
  299. package/src/_cjs/utils/getFProp.d.ts +0 -5
  300. package/src/_cjs/utils/getFProp.js +0 -12
  301. package/src/_cjs/utils/getFProp.js.map +0 -1
  302. package/src/_cjs/utils/gup.d.ts +0 -14
  303. package/src/_cjs/utils/gup.js +0 -31
  304. package/src/_cjs/utils/gup.js.map +0 -1
  305. package/src/_cjs/utils/helpers/BezierPathInteractionHelper.d.ts +0 -272
  306. package/src/_cjs/utils/helpers/BezierPathInteractionHelper.js +0 -655
  307. package/src/_cjs/utils/helpers/BezierPathInteractionHelper.js.map +0 -1
  308. package/src/_cjs/utils/helpers/CircleHelper.d.ts +0 -73
  309. package/src/_cjs/utils/helpers/CircleHelper.js +0 -93
  310. package/src/_cjs/utils/helpers/CircleHelper.js.map +0 -1
  311. package/src/_cjs/utils/helpers/CircleSectorHelper.d.ts +0 -90
  312. package/src/_cjs/utils/helpers/CircleSectorHelper.js +0 -114
  313. package/src/_cjs/utils/helpers/CircleSectorHelper.js.map +0 -1
  314. package/src/_cjs/utils/helpers/TriangleHelper.d.ts +0 -57
  315. package/src/_cjs/utils/helpers/TriangleHelper.js +0 -83
  316. package/src/_cjs/utils/helpers/TriangleHelper.js.map +0 -1
  317. package/src/_cjs/utils/helpers/VEllipseHelper.d.ts +0 -32
  318. package/src/_cjs/utils/helpers/VEllipseHelper.js +0 -88
  319. package/src/_cjs/utils/helpers/VEllipseHelper.js.map +0 -1
  320. package/src/_cjs/utils/helpers/VEllipseSectorHelper.d.ts +0 -52
  321. package/src/_cjs/utils/helpers/VEllipseSectorHelper.js +0 -135
  322. package/src/_cjs/utils/helpers/VEllipseSectorHelper.js.map +0 -1
  323. package/src/_cjs/utils/io/DndFileHandler.d.ts +0 -63
  324. package/src/_cjs/utils/io/DndFileHandler.js +0 -112
  325. package/src/_cjs/utils/io/DndFileHandler.js.map +0 -1
  326. package/src/_cjs/utils/io/FileDrop.d.ts +0 -110
  327. package/src/_cjs/utils/io/FileDrop.js +0 -177
  328. package/src/_cjs/utils/io/FileDrop.js.map +0 -1
  329. package/src/_cjs/utils/lil.gui.arrowbounce.polyfill.js +0 -133
  330. package/src/_cjs/utils/lil.gui.title.polyfill.js +0 -32
  331. package/src/_cjs/utils/module.js +0 -18
  332. package/src/_cjs/utils/parsers/LinearColorGradientParser.d.ts +0 -78
  333. package/src/_cjs/utils/parsers/LinearColorGradientParser.js +0 -224
  334. package/src/_cjs/utils/parsers/LinearColorGradientParser.js.map +0 -1
  335. package/src/_cjs/utils/parsers/OBJParser.d.ts +0 -24
  336. package/src/_cjs/utils/parsers/OBJParser.js +0 -77
  337. package/src/_cjs/utils/parsers/OBJParser.js.map +0 -1
  338. package/src/_cjs/utils/parsers/STLParser.d.ts +0 -61
  339. package/src/_cjs/utils/parsers/STLParser.js +0 -182
  340. package/src/_cjs/utils/parsers/STLParser.js.map +0 -1
  341. package/src/_cjs/utils/parsers/svg/parseSVGPathData.d.ts +0 -27
  342. package/src/_cjs/utils/parsers/svg/parseSVGPathData.js +0 -486
  343. package/src/_cjs/utils/parsers/svg/parseSVGPathData.js.map +0 -1
  344. package/src/_cjs/utils/parsers/svg/splitSVGPathData.d.ts +0 -20
  345. package/src/_cjs/utils/parsers/svg/splitSVGPathData.js +0 -53
  346. package/src/_cjs/utils/parsers/svg/splitSVGPathData.js.map +0 -1
  347. package/src/_cjs/utils/parsers/svg/types.d.ts +0 -63
  348. package/src/_cjs/utils/parsers/svg/types.js +0 -17
  349. package/src/_cjs/utils/parsers/svg/types.js.map +0 -1
  350. package/src/_cjs/utils/ts-runner.js +0 -146
  351. package/src/_cjs/utils/tsAsyncScriptLoader.js +0 -74
  352. package/src/_esm/BezierPath.d.ts +0 -610
  353. package/src/_esm/BezierPath.js +0 -1124
  354. package/src/_esm/BezierPath.js.map +0 -1
  355. package/src/_esm/Bounds.d.ts +0 -252
  356. package/src/_esm/Bounds.js +0 -317
  357. package/src/_esm/Bounds.js.map +0 -1
  358. package/src/_esm/Circle.d.ts +0 -214
  359. package/src/_esm/Circle.js +0 -335
  360. package/src/_esm/Circle.js.map +0 -1
  361. package/src/_esm/CircleSector.d.ts +0 -211
  362. package/src/_esm/CircleSector.js +0 -359
  363. package/src/_esm/CircleSector.js.map +0 -1
  364. package/src/_esm/CubicBezierCurve.d.ts +0 -656
  365. package/src/_esm/CubicBezierCurve.js +0 -1057
  366. package/src/_esm/CubicBezierCurve.js.map +0 -1
  367. package/src/_esm/Grid.d.ts +0 -83
  368. package/src/_esm/Grid.js +0 -89
  369. package/src/_esm/Grid.js.map +0 -1
  370. package/src/_esm/KeyHandler.d.ts +0 -177
  371. package/src/_esm/KeyHandler.js +0 -434
  372. package/src/_esm/KeyHandler.js.map +0 -1
  373. package/src/_esm/Line.d.ts +0 -134
  374. package/src/_esm/Line.js +0 -200
  375. package/src/_esm/Line.js.map +0 -1
  376. package/src/_esm/MouseHandler.d.ts +0 -283
  377. package/src/_esm/MouseHandler.js +0 -397
  378. package/src/_esm/MouseHandler.js.map +0 -1
  379. package/src/_esm/PBImage.d.ts +0 -81
  380. package/src/_esm/PBImage.js +0 -60
  381. package/src/_esm/PBImage.js.map +0 -1
  382. package/src/_esm/PBText.d.ts +0 -118
  383. package/src/_esm/PBText.js +0 -62
  384. package/src/_esm/PBText.js.map +0 -1
  385. package/src/_esm/PlotBoilerplate.d.ts +0 -899
  386. package/src/_esm/PlotBoilerplate.js +0 -2347
  387. package/src/_esm/PlotBoilerplate.js.map +0 -1
  388. package/src/_esm/Polygon.d.ts +0 -520
  389. package/src/_esm/Polygon.js +0 -924
  390. package/src/_esm/Polygon.js.map +0 -1
  391. package/src/_esm/SVGBuilder.d.ts +0 -47
  392. package/src/_esm/SVGBuilder.js +0 -95
  393. package/src/_esm/SVGBuilder.js.map +0 -1
  394. package/src/_esm/Triangle.d.ts +0 -392
  395. package/src/_esm/Triangle.js +0 -493
  396. package/src/_esm/Triangle.js.map +0 -1
  397. package/src/_esm/UIDGenerator.d.ts +0 -12
  398. package/src/_esm/UIDGenerator.js +0 -18
  399. package/src/_esm/UIDGenerator.js.map +0 -1
  400. package/src/_esm/VEllipse.d.ts +0 -319
  401. package/src/_esm/VEllipse.js +0 -574
  402. package/src/_esm/VEllipse.js.map +0 -1
  403. package/src/_esm/VEllipseSector.d.ts +0 -230
  404. package/src/_esm/VEllipseSector.js +0 -422
  405. package/src/_esm/VEllipseSector.js.map +0 -1
  406. package/src/_esm/Vector.d.ts +0 -126
  407. package/src/_esm/Vector.js +0 -181
  408. package/src/_esm/Vector.js.map +0 -1
  409. package/src/_esm/VertTuple.d.ts +0 -284
  410. package/src/_esm/VertTuple.js +0 -347
  411. package/src/_esm/VertTuple.js.map +0 -1
  412. package/src/_esm/Vertex.d.ts +0 -498
  413. package/src/_esm/Vertex.js +0 -702
  414. package/src/_esm/Vertex.js.map +0 -1
  415. package/src/_esm/VertexAttr.d.ts +0 -72
  416. package/src/_esm/VertexAttr.js +0 -58
  417. package/src/_esm/VertexAttr.js.map +0 -1
  418. package/src/_esm/VertexListeners.d.ts +0 -209
  419. package/src/_esm/VertexListeners.js +0 -270
  420. package/src/_esm/VertexListeners.js.map +0 -1
  421. package/src/_esm/draw.d.ts +0 -657
  422. package/src/_esm/draw.js +0 -1159
  423. package/src/_esm/draw.js.map +0 -1
  424. package/src/_esm/drawgl.d.ts +0 -544
  425. package/src/_esm/drawgl.js +0 -812
  426. package/src/_esm/drawgl.js.map +0 -1
  427. package/src/_esm/drawutilssvg.d.ts +0 -954
  428. package/src/_esm/drawutilssvg.js +0 -1705
  429. package/src/_esm/drawutilssvg.js.map +0 -1
  430. package/src/_esm/entry-glsupport.js +0 -28
  431. package/src/_esm/entry.js +0 -29
  432. package/src/_esm/geomutils.d.ts +0 -77
  433. package/src/_esm/geomutils.js +0 -126
  434. package/src/_esm/geomutils.js.map +0 -1
  435. package/src/_esm/index.d.ts +0 -102
  436. package/src/_esm/index.js +0 -128
  437. package/src/_esm/index.js.map +0 -1
  438. package/src/_esm/interfaces/DrawLib.d.ts +0 -582
  439. package/src/_esm/interfaces/DrawLib.js +0 -32
  440. package/src/_esm/interfaces/DrawLib.js.map +0 -1
  441. package/src/_esm/interfaces/additionals.d.ts +0 -95
  442. package/src/_esm/interfaces/additionals.js +0 -3
  443. package/src/_esm/interfaces/additionals.js.map +0 -1
  444. package/src/_esm/interfaces/core.d.ts +0 -286
  445. package/src/_esm/interfaces/core.js +0 -30
  446. package/src/_esm/interfaces/core.js.map +0 -1
  447. package/src/_esm/interfaces/externals.d.ts +0 -56
  448. package/src/_esm/interfaces/externals.js +0 -8
  449. package/src/_esm/interfaces/externals.js.map +0 -1
  450. package/src/_esm/interfaces/index.d.ts +0 -4
  451. package/src/_esm/interfaces/index.js +0 -21
  452. package/src/_esm/interfaces/index.js.map +0 -1
  453. package/src/_esm/module.d.ts +0 -26
  454. package/src/_esm/module.js +0 -60
  455. package/src/_esm/module.js.map +0 -1
  456. package/src/_esm/src/ts/BezierPath.d.ts +0 -610
  457. package/src/_esm/src/ts/BezierPath.js +0 -1120
  458. package/src/_esm/src/ts/BezierPath.js.map +0 -1
  459. package/src/_esm/src/ts/Bounds.d.ts +0 -252
  460. package/src/_esm/src/ts/Bounds.js +0 -313
  461. package/src/_esm/src/ts/Bounds.js.map +0 -1
  462. package/src/_esm/src/ts/Circle.d.ts +0 -214
  463. package/src/_esm/src/ts/Circle.js +0 -331
  464. package/src/_esm/src/ts/Circle.js.map +0 -1
  465. package/src/_esm/src/ts/CircleSector.d.ts +0 -211
  466. package/src/_esm/src/ts/CircleSector.js +0 -355
  467. package/src/_esm/src/ts/CircleSector.js.map +0 -1
  468. package/src/_esm/src/ts/CubicBezierCurve.d.ts +0 -656
  469. package/src/_esm/src/ts/CubicBezierCurve.js +0 -1053
  470. package/src/_esm/src/ts/CubicBezierCurve.js.map +0 -1
  471. package/src/_esm/src/ts/Grid.d.ts +0 -83
  472. package/src/_esm/src/ts/Grid.js +0 -85
  473. package/src/_esm/src/ts/Grid.js.map +0 -1
  474. package/src/_esm/src/ts/KeyHandler.d.ts +0 -177
  475. package/src/_esm/src/ts/KeyHandler.js +0 -430
  476. package/src/_esm/src/ts/KeyHandler.js.map +0 -1
  477. package/src/_esm/src/ts/Line.d.ts +0 -134
  478. package/src/_esm/src/ts/Line.js +0 -196
  479. package/src/_esm/src/ts/Line.js.map +0 -1
  480. package/src/_esm/src/ts/MouseHandler.d.ts +0 -283
  481. package/src/_esm/src/ts/MouseHandler.js +0 -391
  482. package/src/_esm/src/ts/MouseHandler.js.map +0 -1
  483. package/src/_esm/src/ts/PBImage.d.ts +0 -81
  484. package/src/_esm/src/ts/PBImage.js +0 -56
  485. package/src/_esm/src/ts/PBImage.js.map +0 -1
  486. package/src/_esm/src/ts/PBText.d.ts +0 -118
  487. package/src/_esm/src/ts/PBText.js +0 -58
  488. package/src/_esm/src/ts/PBText.js.map +0 -1
  489. package/src/_esm/src/ts/PlotBoilerplate.d.ts +0 -899
  490. package/src/_esm/src/ts/PlotBoilerplate.js +0 -2340
  491. package/src/_esm/src/ts/PlotBoilerplate.js.map +0 -1
  492. package/src/_esm/src/ts/Polygon.d.ts +0 -520
  493. package/src/_esm/src/ts/Polygon.js +0 -920
  494. package/src/_esm/src/ts/Polygon.js.map +0 -1
  495. package/src/_esm/src/ts/Triangle.d.ts +0 -392
  496. package/src/_esm/src/ts/Triangle.js +0 -489
  497. package/src/_esm/src/ts/Triangle.js.map +0 -1
  498. package/src/_esm/src/ts/UIDGenerator.d.ts +0 -12
  499. package/src/_esm/src/ts/UIDGenerator.js +0 -14
  500. package/src/_esm/src/ts/UIDGenerator.js.map +0 -1
  501. package/src/_esm/src/ts/VEllipse.d.ts +0 -319
  502. package/src/_esm/src/ts/VEllipse.js +0 -570
  503. package/src/_esm/src/ts/VEllipse.js.map +0 -1
  504. package/src/_esm/src/ts/VEllipseSector.d.ts +0 -230
  505. package/src/_esm/src/ts/VEllipseSector.js +0 -418
  506. package/src/_esm/src/ts/VEllipseSector.js.map +0 -1
  507. package/src/_esm/src/ts/Vector.d.ts +0 -126
  508. package/src/_esm/src/ts/Vector.js +0 -177
  509. package/src/_esm/src/ts/Vector.js.map +0 -1
  510. package/src/_esm/src/ts/VertTuple.d.ts +0 -284
  511. package/src/_esm/src/ts/VertTuple.js +0 -343
  512. package/src/_esm/src/ts/VertTuple.js.map +0 -1
  513. package/src/_esm/src/ts/Vertex.d.ts +0 -498
  514. package/src/_esm/src/ts/Vertex.js +0 -698
  515. package/src/_esm/src/ts/Vertex.js.map +0 -1
  516. package/src/_esm/src/ts/VertexAttr.d.ts +0 -72
  517. package/src/_esm/src/ts/VertexAttr.js +0 -54
  518. package/src/_esm/src/ts/VertexAttr.js.map +0 -1
  519. package/src/_esm/src/ts/VertexListeners.d.ts +0 -209
  520. package/src/_esm/src/ts/VertexListeners.js +0 -266
  521. package/src/_esm/src/ts/VertexListeners.js.map +0 -1
  522. package/src/_esm/src/ts/draw.d.ts +0 -657
  523. package/src/_esm/src/ts/draw.js +0 -1155
  524. package/src/_esm/src/ts/draw.js.map +0 -1
  525. package/src/_esm/src/ts/drawgl.d.ts +0 -544
  526. package/src/_esm/src/ts/drawgl.js +0 -808
  527. package/src/_esm/src/ts/drawgl.js.map +0 -1
  528. package/src/_esm/src/ts/drawutilssvg.d.ts +0 -954
  529. package/src/_esm/src/ts/drawutilssvg.js +0 -1701
  530. package/src/_esm/src/ts/drawutilssvg.js.map +0 -1
  531. package/src/_esm/src/ts/geomutils.d.ts +0 -77
  532. package/src/_esm/src/ts/geomutils.js +0 -123
  533. package/src/_esm/src/ts/geomutils.js.map +0 -1
  534. package/src/_esm/src/ts/index.d.ts +0 -102
  535. package/src/_esm/src/ts/index.js +0 -112
  536. package/src/_esm/src/ts/index.js.map +0 -1
  537. package/src/_esm/src/ts/interfaces/DrawLib.d.ts +0 -582
  538. package/src/_esm/src/ts/interfaces/DrawLib.js +0 -31
  539. package/src/_esm/src/ts/interfaces/DrawLib.js.map +0 -1
  540. package/src/_esm/src/ts/interfaces/additionals.d.ts +0 -95
  541. package/src/_esm/src/ts/interfaces/additionals.js +0 -2
  542. package/src/_esm/src/ts/interfaces/additionals.js.map +0 -1
  543. package/src/_esm/src/ts/interfaces/core.d.ts +0 -286
  544. package/src/_esm/src/ts/interfaces/core.js +0 -29
  545. package/src/_esm/src/ts/interfaces/core.js.map +0 -1
  546. package/src/_esm/src/ts/interfaces/externals.d.ts +0 -56
  547. package/src/_esm/src/ts/interfaces/externals.js +0 -7
  548. package/src/_esm/src/ts/interfaces/externals.js.map +0 -1
  549. package/src/_esm/src/ts/interfaces/index.d.ts +0 -4
  550. package/src/_esm/src/ts/interfaces/index.js +0 -5
  551. package/src/_esm/src/ts/interfaces/index.js.map +0 -1
  552. package/src/_esm/src/ts/module.d.ts +0 -26
  553. package/src/_esm/src/ts/module.js +0 -38
  554. package/src/_esm/src/ts/module.js.map +0 -1
  555. package/src/_esm/src/ts/utils/InitializationObserver.d.ts +0 -18
  556. package/src/_esm/src/ts/utils/InitializationObserver.js +0 -57
  557. package/src/_esm/src/ts/utils/InitializationObserver.js.map +0 -1
  558. package/src/_esm/src/ts/utils/LissajousFigure.d.ts +0 -34
  559. package/src/_esm/src/ts/utils/LissajousFigure.js +0 -95
  560. package/src/_esm/src/ts/utils/LissajousFigure.js.map +0 -1
  561. package/src/_esm/src/ts/utils/NGons.d.ts +0 -13
  562. package/src/_esm/src/ts/utils/NGons.js +0 -33
  563. package/src/_esm/src/ts/utils/NGons.js.map +0 -1
  564. package/src/_esm/src/ts/utils/Params.d.ts +0 -17
  565. package/src/_esm/src/ts/utils/Params.js +0 -48
  566. package/src/_esm/src/ts/utils/Params.js.map +0 -1
  567. package/src/_esm/src/ts/utils/PerlinNoise.d.ts +0 -19
  568. package/src/_esm/src/ts/utils/PerlinNoise.js +0 -346
  569. package/src/_esm/src/ts/utils/PerlinNoise.js.map +0 -1
  570. package/src/_esm/src/ts/utils/SVGPathUtils.d.ts +0 -22
  571. package/src/_esm/src/ts/utils/SVGPathUtils.js +0 -42
  572. package/src/_esm/src/ts/utils/SVGPathUtils.js.map +0 -1
  573. package/src/_esm/src/ts/utils/WebColors.d.ts +0 -35
  574. package/src/_esm/src/ts/utils/WebColors.js +0 -54
  575. package/src/_esm/src/ts/utils/WebColors.js.map +0 -1
  576. package/src/_esm/src/ts/utils/WebColorsContrast.d.ts +0 -6
  577. package/src/_esm/src/ts/utils/WebColorsContrast.js +0 -9
  578. package/src/_esm/src/ts/utils/WebColorsContrast.js.map +0 -1
  579. package/src/_esm/src/ts/utils/WebColorsMalachite.d.ts +0 -12
  580. package/src/_esm/src/ts/utils/WebColorsMalachite.js +0 -25
  581. package/src/_esm/src/ts/utils/WebColorsMalachite.js.map +0 -1
  582. package/src/_esm/src/ts/utils/algorithms/CatmullRomPath.d.ts +0 -60
  583. package/src/_esm/src/ts/utils/algorithms/CatmullRomPath.js +0 -103
  584. package/src/_esm/src/ts/utils/algorithms/CatmullRomPath.js.map +0 -1
  585. package/src/_esm/src/ts/utils/algorithms/CircleIntersections.d.ts +0 -170
  586. package/src/_esm/src/ts/utils/algorithms/CircleIntersections.js +0 -303
  587. package/src/_esm/src/ts/utils/algorithms/CircleIntersections.js.map +0 -1
  588. package/src/_esm/src/ts/utils/algorithms/ContourLineDetection.d.ts +0 -150
  589. package/src/_esm/src/ts/utils/algorithms/ContourLineDetection.js +0 -362
  590. package/src/_esm/src/ts/utils/algorithms/ContourLineDetection.js.map +0 -1
  591. package/src/_esm/src/ts/utils/algorithms/CubicSplinePath.d.ts +0 -63
  592. package/src/_esm/src/ts/utils/algorithms/CubicSplinePath.js +0 -170
  593. package/src/_esm/src/ts/utils/algorithms/CubicSplinePath.js.map +0 -1
  594. package/src/_esm/src/ts/utils/algorithms/HobbyPath.d.ts +0 -81
  595. package/src/_esm/src/ts/utils/algorithms/HobbyPath.js +0 -273
  596. package/src/_esm/src/ts/utils/algorithms/HobbyPath.js.map +0 -1
  597. package/src/_esm/src/ts/utils/algorithms/Metaballs.d.ts +0 -30
  598. package/src/_esm/src/ts/utils/algorithms/Metaballs.js +0 -109
  599. package/src/_esm/src/ts/utils/algorithms/Metaballs.js.map +0 -1
  600. package/src/_esm/src/ts/utils/algorithms/PolygonInset.d.ts +0 -184
  601. package/src/_esm/src/ts/utils/algorithms/PolygonInset.js +0 -424
  602. package/src/_esm/src/ts/utils/algorithms/PolygonInset.js.map +0 -1
  603. package/src/_esm/src/ts/utils/algorithms/PolygonTesselationOutlines.d.ts +0 -145
  604. package/src/_esm/src/ts/utils/algorithms/PolygonTesselationOutlines.js +0 -262
  605. package/src/_esm/src/ts/utils/algorithms/PolygonTesselationOutlines.js.map +0 -1
  606. package/src/_esm/src/ts/utils/algorithms/arrayFill.d.ts +0 -8
  607. package/src/_esm/src/ts/utils/algorithms/arrayFill.js +0 -14
  608. package/src/_esm/src/ts/utils/algorithms/arrayFill.js.map +0 -1
  609. package/src/_esm/src/ts/utils/algorithms/arrayResize.d.ts +0 -8
  610. package/src/_esm/src/ts/utils/algorithms/arrayResize.js +0 -20
  611. package/src/_esm/src/ts/utils/algorithms/arrayResize.js.map +0 -1
  612. package/src/_esm/src/ts/utils/algorithms/arrayShuffle.d.ts +0 -8
  613. package/src/_esm/src/ts/utils/algorithms/arrayShuffle.js +0 -11
  614. package/src/_esm/src/ts/utils/algorithms/arrayShuffle.js.map +0 -1
  615. package/src/_esm/src/ts/utils/algorithms/clearDuplicateVertices.d.ts +0 -22
  616. package/src/_esm/src/ts/utils/algorithms/clearDuplicateVertices.js +0 -47
  617. package/src/_esm/src/ts/utils/algorithms/clearDuplicateVertices.js.map +0 -1
  618. package/src/_esm/src/ts/utils/algorithms/clearPolygonDuplicateVertices.d.ts +0 -24
  619. package/src/_esm/src/ts/utils/algorithms/clearPolygonDuplicateVertices.js +0 -57
  620. package/src/_esm/src/ts/utils/algorithms/clearPolygonDuplicateVertices.js.map +0 -1
  621. package/src/_esm/src/ts/utils/algorithms/convexHull.d.ts +0 -23
  622. package/src/_esm/src/ts/utils/algorithms/convexHull.js +0 -67
  623. package/src/_esm/src/ts/utils/algorithms/convexHull.js.map +0 -1
  624. package/src/_esm/src/ts/utils/algorithms/convexPolygonIncircle.d.ts +0 -41
  625. package/src/_esm/src/ts/utils/algorithms/convexPolygonIncircle.js +0 -141
  626. package/src/_esm/src/ts/utils/algorithms/convexPolygonIncircle.js.map +0 -1
  627. package/src/_esm/src/ts/utils/algorithms/delaunay.d.ts +0 -30
  628. package/src/_esm/src/ts/utils/algorithms/delaunay.js +0 -153
  629. package/src/_esm/src/ts/utils/algorithms/delaunay.js.map +0 -1
  630. package/src/_esm/src/ts/utils/algorithms/delaunay2voronoi.d.ts +0 -25
  631. package/src/_esm/src/ts/utils/algorithms/delaunay2voronoi.js +0 -99
  632. package/src/_esm/src/ts/utils/algorithms/delaunay2voronoi.js.map +0 -1
  633. package/src/_esm/src/ts/utils/algorithms/detectPaths.d.ts +0 -21
  634. package/src/_esm/src/ts/utils/algorithms/detectPaths.js +0 -165
  635. package/src/_esm/src/ts/utils/algorithms/detectPaths.js.map +0 -1
  636. package/src/_esm/src/ts/utils/algorithms/findPolygonSelfIntersections.d.ts +0 -21
  637. package/src/_esm/src/ts/utils/algorithms/findPolygonSelfIntersections.js +0 -47
  638. package/src/_esm/src/ts/utils/algorithms/findPolygonSelfIntersections.js.map +0 -1
  639. package/src/_esm/src/ts/utils/algorithms/getContrastColor.d.ts +0 -13
  640. package/src/_esm/src/ts/utils/algorithms/getContrastColor.js +0 -22
  641. package/src/_esm/src/ts/utils/algorithms/getContrastColor.js.map +0 -1
  642. package/src/_esm/src/ts/utils/algorithms/matrixFill.d.ts +0 -10
  643. package/src/_esm/src/ts/utils/algorithms/matrixFill.js +0 -17
  644. package/src/_esm/src/ts/utils/algorithms/matrixFill.js.map +0 -1
  645. package/src/_esm/src/ts/utils/algorithms/pixelCornersToRoundPaths.d.ts +0 -23
  646. package/src/_esm/src/ts/utils/algorithms/pixelCornersToRoundPaths.js +0 -266
  647. package/src/_esm/src/ts/utils/algorithms/pixelCornersToRoundPaths.js.map +0 -1
  648. package/src/_esm/src/ts/utils/algorithms/splitPolygonToNonIntersecting.d.ts +0 -28
  649. package/src/_esm/src/ts/utils/algorithms/splitPolygonToNonIntersecting.js +0 -99
  650. package/src/_esm/src/ts/utils/algorithms/splitPolygonToNonIntersecting.js.map +0 -1
  651. package/src/_esm/src/ts/utils/algorithms/sutherlandHodgman.d.ts +0 -16
  652. package/src/_esm/src/ts/utils/algorithms/sutherlandHodgman.js +0 -72
  653. package/src/_esm/src/ts/utils/algorithms/sutherlandHodgman.js.map +0 -1
  654. package/src/_esm/src/ts/utils/cloneVertexArray.d.ts +0 -13
  655. package/src/_esm/src/ts/utils/cloneVertexArray.js +0 -19
  656. package/src/_esm/src/ts/utils/cloneVertexArray.js.map +0 -1
  657. package/src/_esm/src/ts/utils/createRandomizedPolygon.d.ts +0 -14
  658. package/src/_esm/src/ts/utils/createRandomizedPolygon.js +0 -28
  659. package/src/_esm/src/ts/utils/createRandomizedPolygon.js.map +0 -1
  660. package/src/_esm/src/ts/utils/datastructures/CircularIntervalSet.d.ts +0 -83
  661. package/src/_esm/src/ts/utils/datastructures/CircularIntervalSet.js +0 -158
  662. package/src/_esm/src/ts/utils/datastructures/CircularIntervalSet.js.map +0 -1
  663. package/src/_esm/src/ts/utils/datastructures/Color.d.ts +0 -391
  664. package/src/_esm/src/ts/utils/datastructures/Color.js +0 -1063
  665. package/src/_esm/src/ts/utils/datastructures/Color.js.map +0 -1
  666. package/src/_esm/src/ts/utils/datastructures/ColorGradient.d.ts +0 -81
  667. package/src/_esm/src/ts/utils/datastructures/ColorGradient.js +0 -171
  668. package/src/_esm/src/ts/utils/datastructures/ColorGradient.js.map +0 -1
  669. package/src/_esm/src/ts/utils/datastructures/DataGrid2d.d.ts +0 -53
  670. package/src/_esm/src/ts/utils/datastructures/DataGrid2d.js +0 -19
  671. package/src/_esm/src/ts/utils/datastructures/DataGrid2d.js.map +0 -1
  672. package/src/_esm/src/ts/utils/datastructures/DataGrid2dArrayMatrix.d.ts +0 -88
  673. package/src/_esm/src/ts/utils/datastructures/DataGrid2dArrayMatrix.js +0 -150
  674. package/src/_esm/src/ts/utils/datastructures/DataGrid2dArrayMatrix.js.map +0 -1
  675. package/src/_esm/src/ts/utils/datastructures/DataGrid2dListAdapter.d.ts +0 -59
  676. package/src/_esm/src/ts/utils/datastructures/DataGrid2dListAdapter.js +0 -79
  677. package/src/_esm/src/ts/utils/datastructures/DataGrid2dListAdapter.js.map +0 -1
  678. package/src/_esm/src/ts/utils/datastructures/GenericPath.d.ts +0 -86
  679. package/src/_esm/src/ts/utils/datastructures/GenericPath.js +0 -117
  680. package/src/_esm/src/ts/utils/datastructures/GenericPath.js.map +0 -1
  681. package/src/_esm/src/ts/utils/datastructures/GeometryMesh.d.ts +0 -49
  682. package/src/_esm/src/ts/utils/datastructures/GeometryMesh.js +0 -53
  683. package/src/_esm/src/ts/utils/datastructures/GeometryMesh.js.map +0 -1
  684. package/src/_esm/src/ts/utils/datastructures/Girih.d.ts +0 -181
  685. package/src/_esm/src/ts/utils/datastructures/Girih.js +0 -261
  686. package/src/_esm/src/ts/utils/datastructures/Girih.js.map +0 -1
  687. package/src/_esm/src/ts/utils/datastructures/GirihBowtie.d.ts +0 -37
  688. package/src/_esm/src/ts/utils/datastructures/GirihBowtie.js +0 -130
  689. package/src/_esm/src/ts/utils/datastructures/GirihBowtie.js.map +0 -1
  690. package/src/_esm/src/ts/utils/datastructures/GirihDecagon.d.ts +0 -52
  691. package/src/_esm/src/ts/utils/datastructures/GirihDecagon.js +0 -110
  692. package/src/_esm/src/ts/utils/datastructures/GirihDecagon.js.map +0 -1
  693. package/src/_esm/src/ts/utils/datastructures/GirihHexagon.d.ts +0 -39
  694. package/src/_esm/src/ts/utils/datastructures/GirihHexagon.js +0 -178
  695. package/src/_esm/src/ts/utils/datastructures/GirihHexagon.js.map +0 -1
  696. package/src/_esm/src/ts/utils/datastructures/GirihPenroseRhombus.d.ts +0 -46
  697. package/src/_esm/src/ts/utils/datastructures/GirihPenroseRhombus.js +0 -167
  698. package/src/_esm/src/ts/utils/datastructures/GirihPenroseRhombus.js.map +0 -1
  699. package/src/_esm/src/ts/utils/datastructures/GirihPentagon.d.ts +0 -37
  700. package/src/_esm/src/ts/utils/datastructures/GirihPentagon.js +0 -87
  701. package/src/_esm/src/ts/utils/datastructures/GirihPentagon.js.map +0 -1
  702. package/src/_esm/src/ts/utils/datastructures/GirihRhombus.d.ts +0 -38
  703. package/src/_esm/src/ts/utils/datastructures/GirihRhombus.js +0 -133
  704. package/src/_esm/src/ts/utils/datastructures/GirihRhombus.js.map +0 -1
  705. package/src/_esm/src/ts/utils/datastructures/GirihTile.d.ts +0 -283
  706. package/src/_esm/src/ts/utils/datastructures/GirihTile.js +0 -286
  707. package/src/_esm/src/ts/utils/datastructures/GirihTile.js.map +0 -1
  708. package/src/_esm/src/ts/utils/datastructures/Matrix4x4.d.ts +0 -244
  709. package/src/_esm/src/ts/utils/datastructures/Matrix4x4.js +0 -246
  710. package/src/_esm/src/ts/utils/datastructures/Matrix4x4.js.map +0 -1
  711. package/src/_esm/src/ts/utils/datastructures/VoronoiCell.d.ts +0 -122
  712. package/src/_esm/src/ts/utils/datastructures/VoronoiCell.js +0 -178
  713. package/src/_esm/src/ts/utils/datastructures/VoronoiCell.js.map +0 -1
  714. package/src/_esm/src/ts/utils/datastructures/interfaces.d.ts +0 -13
  715. package/src/_esm/src/ts/utils/datastructures/interfaces.js +0 -9
  716. package/src/_esm/src/ts/utils/datastructures/interfaces.js.map +0 -1
  717. package/src/_esm/src/ts/utils/detectDarkMode.d.ts +0 -10
  718. package/src/_esm/src/ts/utils/detectDarkMode.js +0 -37
  719. package/src/_esm/src/ts/utils/detectDarkMode.js.map +0 -1
  720. package/src/_esm/src/ts/utils/dom/components/ColorGradientPicker.d.ts +0 -246
  721. package/src/_esm/src/ts/utils/dom/components/ColorGradientPicker.js +0 -743
  722. package/src/_esm/src/ts/utils/dom/components/ColorGradientPicker.js.map +0 -1
  723. package/src/_esm/src/ts/utils/dom/components/ColorGradientSelector.d.ts +0 -118
  724. package/src/_esm/src/ts/utils/dom/components/ColorGradientSelector.js +0 -339
  725. package/src/_esm/src/ts/utils/dom/components/ColorGradientSelector.js.map +0 -1
  726. package/src/_esm/src/ts/utils/dom/components/Test.d.ts +0 -7
  727. package/src/_esm/src/ts/utils/dom/components/Test.js +0 -26
  728. package/src/_esm/src/ts/utils/dom/components/Test.js.map +0 -1
  729. package/src/_esm/src/ts/utils/dom/getAvailableContainerSpace.d.ts +0 -2
  730. package/src/_esm/src/ts/utils/dom/getAvailableContainerSpace.js +0 -25
  731. package/src/_esm/src/ts/utils/dom/getAvailableContainerSpace.js.map +0 -1
  732. package/src/_esm/src/ts/utils/dom/getFProp.d.ts +0 -5
  733. package/src/_esm/src/ts/utils/dom/getFProp.js +0 -8
  734. package/src/_esm/src/ts/utils/dom/getFProp.js.map +0 -1
  735. package/src/_esm/src/ts/utils/dom/guiSizeToggler.d.ts +0 -18
  736. package/src/_esm/src/ts/utils/dom/guiSizeToggler.js +0 -40
  737. package/src/_esm/src/ts/utils/dom/guiSizeToggler.js.map +0 -1
  738. package/src/_esm/src/ts/utils/findInVertexArray.d.ts +0 -19
  739. package/src/_esm/src/ts/utils/findInVertexArray.js +0 -25
  740. package/src/_esm/src/ts/utils/findInVertexArray.js.map +0 -1
  741. package/src/_esm/src/ts/utils/gup.d.ts +0 -14
  742. package/src/_esm/src/ts/utils/gup.js +0 -27
  743. package/src/_esm/src/ts/utils/gup.js.map +0 -1
  744. package/src/_esm/src/ts/utils/helpers/BezierPathInteractionHelper.d.ts +0 -272
  745. package/src/_esm/src/ts/utils/helpers/BezierPathInteractionHelper.js +0 -648
  746. package/src/_esm/src/ts/utils/helpers/BezierPathInteractionHelper.js.map +0 -1
  747. package/src/_esm/src/ts/utils/helpers/CircleHelper.d.ts +0 -73
  748. package/src/_esm/src/ts/utils/helpers/CircleHelper.js +0 -88
  749. package/src/_esm/src/ts/utils/helpers/CircleHelper.js.map +0 -1
  750. package/src/_esm/src/ts/utils/helpers/CircleSectorHelper.d.ts +0 -90
  751. package/src/_esm/src/ts/utils/helpers/CircleSectorHelper.js +0 -109
  752. package/src/_esm/src/ts/utils/helpers/CircleSectorHelper.js.map +0 -1
  753. package/src/_esm/src/ts/utils/helpers/TriangleHelper.d.ts +0 -57
  754. package/src/_esm/src/ts/utils/helpers/TriangleHelper.js +0 -78
  755. package/src/_esm/src/ts/utils/helpers/TriangleHelper.js.map +0 -1
  756. package/src/_esm/src/ts/utils/helpers/VEllipseHelper.d.ts +0 -32
  757. package/src/_esm/src/ts/utils/helpers/VEllipseHelper.js +0 -83
  758. package/src/_esm/src/ts/utils/helpers/VEllipseHelper.js.map +0 -1
  759. package/src/_esm/src/ts/utils/helpers/VEllipseSectorHelper.d.ts +0 -52
  760. package/src/_esm/src/ts/utils/helpers/VEllipseSectorHelper.js +0 -130
  761. package/src/_esm/src/ts/utils/helpers/VEllipseSectorHelper.js.map +0 -1
  762. package/src/_esm/src/ts/utils/io/FileDrop.d.ts +0 -110
  763. package/src/_esm/src/ts/utils/io/FileDrop.js +0 -171
  764. package/src/_esm/src/ts/utils/io/FileDrop.js.map +0 -1
  765. package/src/_esm/src/ts/utils/parsers/LinearColorGradientParser.d.ts +0 -78
  766. package/src/_esm/src/ts/utils/parsers/LinearColorGradientParser.js +0 -217
  767. package/src/_esm/src/ts/utils/parsers/LinearColorGradientParser.js.map +0 -1
  768. package/src/_esm/src/ts/utils/parsers/OBJParser.d.ts +0 -24
  769. package/src/_esm/src/ts/utils/parsers/OBJParser.js +0 -72
  770. package/src/_esm/src/ts/utils/parsers/OBJParser.js.map +0 -1
  771. package/src/_esm/src/ts/utils/parsers/STLParser.d.ts +0 -61
  772. package/src/_esm/src/ts/utils/parsers/STLParser.js +0 -175
  773. package/src/_esm/src/ts/utils/parsers/STLParser.js.map +0 -1
  774. package/src/_esm/src/ts/utils/parsers/svg/parseSVGPathData.d.ts +0 -27
  775. package/src/_esm/src/ts/utils/parsers/svg/parseSVGPathData.js +0 -482
  776. package/src/_esm/src/ts/utils/parsers/svg/parseSVGPathData.js.map +0 -1
  777. package/src/_esm/src/ts/utils/parsers/svg/splitSVGPathData.d.ts +0 -20
  778. package/src/_esm/src/ts/utils/parsers/svg/splitSVGPathData.js +0 -49
  779. package/src/_esm/src/ts/utils/parsers/svg/splitSVGPathData.js.map +0 -1
  780. package/src/_esm/src/ts/utils/parsers/svg/types.d.ts +0 -63
  781. package/src/_esm/src/ts/utils/parsers/svg/types.js +0 -16
  782. package/src/_esm/src/ts/utils/parsers/svg/types.js.map +0 -1
  783. package/src/_esm/utils/InitializationObserver.d.ts +0 -18
  784. package/src/_esm/utils/InitializationObserver.js +0 -61
  785. package/src/_esm/utils/InitializationObserver.js.map +0 -1
  786. package/src/_esm/utils/LissajousFigure.d.ts +0 -34
  787. package/src/_esm/utils/LissajousFigure.js +0 -99
  788. package/src/_esm/utils/LissajousFigure.js.map +0 -1
  789. package/src/_esm/utils/NGons.d.ts +0 -13
  790. package/src/_esm/utils/NGons.js +0 -36
  791. package/src/_esm/utils/NGons.js.map +0 -1
  792. package/src/_esm/utils/Params.d.ts +0 -17
  793. package/src/_esm/utils/Params.js +0 -52
  794. package/src/_esm/utils/Params.js.map +0 -1
  795. package/src/_esm/utils/PerlinNoise.d.ts +0 -19
  796. package/src/_esm/utils/PerlinNoise.js +0 -350
  797. package/src/_esm/utils/PerlinNoise.js.map +0 -1
  798. package/src/_esm/utils/SVGPathUtils.d.ts +0 -22
  799. package/src/_esm/utils/SVGPathUtils.js +0 -45
  800. package/src/_esm/utils/SVGPathUtils.js.map +0 -1
  801. package/src/_esm/utils/WebColors.d.ts +0 -35
  802. package/src/_esm/utils/WebColors.js +0 -58
  803. package/src/_esm/utils/WebColors.js.map +0 -1
  804. package/src/_esm/utils/WebColorsContrast.d.ts +0 -6
  805. package/src/_esm/utils/WebColorsContrast.js +0 -12
  806. package/src/_esm/utils/WebColorsContrast.js.map +0 -1
  807. package/src/_esm/utils/WebColorsMalachite.d.ts +0 -12
  808. package/src/_esm/utils/WebColorsMalachite.js +0 -28
  809. package/src/_esm/utils/WebColorsMalachite.js.map +0 -1
  810. package/src/_esm/utils/algorithms/CatmullRomPath.d.ts +0 -60
  811. package/src/_esm/utils/algorithms/CatmullRomPath.js +0 -107
  812. package/src/_esm/utils/algorithms/CatmullRomPath.js.map +0 -1
  813. package/src/_esm/utils/algorithms/CircleIntersections.d.ts +0 -170
  814. package/src/_esm/utils/algorithms/CircleIntersections.js +0 -307
  815. package/src/_esm/utils/algorithms/CircleIntersections.js.map +0 -1
  816. package/src/_esm/utils/algorithms/ContourLineDetection.d.ts +0 -150
  817. package/src/_esm/utils/algorithms/ContourLineDetection.js +0 -366
  818. package/src/_esm/utils/algorithms/ContourLineDetection.js.map +0 -1
  819. package/src/_esm/utils/algorithms/CubicSplinePath.d.ts +0 -63
  820. package/src/_esm/utils/algorithms/CubicSplinePath.js +0 -174
  821. package/src/_esm/utils/algorithms/CubicSplinePath.js.map +0 -1
  822. package/src/_esm/utils/algorithms/HobbyPath.d.ts +0 -81
  823. package/src/_esm/utils/algorithms/HobbyPath.js +0 -277
  824. package/src/_esm/utils/algorithms/HobbyPath.js.map +0 -1
  825. package/src/_esm/utils/algorithms/Metaballs.d.ts +0 -30
  826. package/src/_esm/utils/algorithms/Metaballs.js +0 -113
  827. package/src/_esm/utils/algorithms/Metaballs.js.map +0 -1
  828. package/src/_esm/utils/algorithms/PolygonInset.d.ts +0 -184
  829. package/src/_esm/utils/algorithms/PolygonInset.js +0 -428
  830. package/src/_esm/utils/algorithms/PolygonInset.js.map +0 -1
  831. package/src/_esm/utils/algorithms/PolygonTesselationOutlines.d.ts +0 -145
  832. package/src/_esm/utils/algorithms/PolygonTesselationOutlines.js +0 -267
  833. package/src/_esm/utils/algorithms/PolygonTesselationOutlines.js.map +0 -1
  834. package/src/_esm/utils/algorithms/arrayFill.d.ts +0 -8
  835. package/src/_esm/utils/algorithms/arrayFill.js +0 -18
  836. package/src/_esm/utils/algorithms/arrayFill.js.map +0 -1
  837. package/src/_esm/utils/algorithms/arrayResize.d.ts +0 -8
  838. package/src/_esm/utils/algorithms/arrayResize.js +0 -24
  839. package/src/_esm/utils/algorithms/arrayResize.js.map +0 -1
  840. package/src/_esm/utils/algorithms/arrayShuffle.d.ts +0 -8
  841. package/src/_esm/utils/algorithms/arrayShuffle.js +0 -15
  842. package/src/_esm/utils/algorithms/arrayShuffle.js.map +0 -1
  843. package/src/_esm/utils/algorithms/clearDuplicateVertices.d.ts +0 -22
  844. package/src/_esm/utils/algorithms/clearDuplicateVertices.js +0 -51
  845. package/src/_esm/utils/algorithms/clearDuplicateVertices.js.map +0 -1
  846. package/src/_esm/utils/algorithms/clearPolygonDuplicateVertices.d.ts +0 -24
  847. package/src/_esm/utils/algorithms/clearPolygonDuplicateVertices.js +0 -61
  848. package/src/_esm/utils/algorithms/clearPolygonDuplicateVertices.js.map +0 -1
  849. package/src/_esm/utils/algorithms/convexHull.d.ts +0 -23
  850. package/src/_esm/utils/algorithms/convexHull.js +0 -71
  851. package/src/_esm/utils/algorithms/convexHull.js.map +0 -1
  852. package/src/_esm/utils/algorithms/convexPolygonIncircle.d.ts +0 -41
  853. package/src/_esm/utils/algorithms/convexPolygonIncircle.js +0 -145
  854. package/src/_esm/utils/algorithms/convexPolygonIncircle.js.map +0 -1
  855. package/src/_esm/utils/algorithms/createRandomizedPolygon.d.ts +0 -14
  856. package/src/_esm/utils/algorithms/createRandomizedPolygon.js +0 -28
  857. package/src/_esm/utils/algorithms/createRandomizedPolygon.js.map +0 -1
  858. package/src/_esm/utils/algorithms/delaunay.d.ts +0 -30
  859. package/src/_esm/utils/algorithms/delaunay.js +0 -157
  860. package/src/_esm/utils/algorithms/delaunay.js.map +0 -1
  861. package/src/_esm/utils/algorithms/delaunay2voronoi.d.ts +0 -25
  862. package/src/_esm/utils/algorithms/delaunay2voronoi.js +0 -103
  863. package/src/_esm/utils/algorithms/delaunay2voronoi.js.map +0 -1
  864. package/src/_esm/utils/algorithms/detectPaths.d.ts +0 -21
  865. package/src/_esm/utils/algorithms/detectPaths.js +0 -169
  866. package/src/_esm/utils/algorithms/detectPaths.js.map +0 -1
  867. package/src/_esm/utils/algorithms/findPolygonSelfIntersections.d.ts +0 -21
  868. package/src/_esm/utils/algorithms/findPolygonSelfIntersections.js +0 -51
  869. package/src/_esm/utils/algorithms/findPolygonSelfIntersections.js.map +0 -1
  870. package/src/_esm/utils/algorithms/getContrastColor.d.ts +0 -13
  871. package/src/_esm/utils/algorithms/getContrastColor.js +0 -26
  872. package/src/_esm/utils/algorithms/getContrastColor.js.map +0 -1
  873. package/src/_esm/utils/algorithms/matrixFill.d.ts +0 -10
  874. package/src/_esm/utils/algorithms/matrixFill.js +0 -21
  875. package/src/_esm/utils/algorithms/matrixFill.js.map +0 -1
  876. package/src/_esm/utils/algorithms/pixelCornersToRoundPaths.d.ts +0 -23
  877. package/src/_esm/utils/algorithms/pixelCornersToRoundPaths.js +0 -270
  878. package/src/_esm/utils/algorithms/pixelCornersToRoundPaths.js.map +0 -1
  879. package/src/_esm/utils/algorithms/splitPolygonToNonIntersecting.d.ts +0 -28
  880. package/src/_esm/utils/algorithms/splitPolygonToNonIntersecting.js +0 -102
  881. package/src/_esm/utils/algorithms/splitPolygonToNonIntersecting.js.map +0 -1
  882. package/src/_esm/utils/algorithms/sutherlandHodgman.d.ts +0 -16
  883. package/src/_esm/utils/algorithms/sutherlandHodgman.js +0 -76
  884. package/src/_esm/utils/algorithms/sutherlandHodgman.js.map +0 -1
  885. package/src/_esm/utils/cloneVertexArray.d.ts +0 -13
  886. package/src/_esm/utils/cloneVertexArray.js +0 -23
  887. package/src/_esm/utils/cloneVertexArray.js.map +0 -1
  888. package/src/_esm/utils/createRandomizedPolygon.d.ts +0 -14
  889. package/src/_esm/utils/createRandomizedPolygon.js +0 -32
  890. package/src/_esm/utils/createRandomizedPolygon.js.map +0 -1
  891. package/src/_esm/utils/datastructures/CircularIntervalSet.d.ts +0 -83
  892. package/src/_esm/utils/datastructures/CircularIntervalSet.js +0 -162
  893. package/src/_esm/utils/datastructures/CircularIntervalSet.js.map +0 -1
  894. package/src/_esm/utils/datastructures/Color.d.ts +0 -391
  895. package/src/_esm/utils/datastructures/Color.js +0 -1067
  896. package/src/_esm/utils/datastructures/Color.js.map +0 -1
  897. package/src/_esm/utils/datastructures/ColorGradient.d.ts +0 -81
  898. package/src/_esm/utils/datastructures/ColorGradient.js +0 -175
  899. package/src/_esm/utils/datastructures/ColorGradient.js.map +0 -1
  900. package/src/_esm/utils/datastructures/DataGrid2d.d.ts +0 -53
  901. package/src/_esm/utils/datastructures/DataGrid2d.js +0 -20
  902. package/src/_esm/utils/datastructures/DataGrid2d.js.map +0 -1
  903. package/src/_esm/utils/datastructures/DataGrid2dArrayMatrix.d.ts +0 -88
  904. package/src/_esm/utils/datastructures/DataGrid2dArrayMatrix.js +0 -154
  905. package/src/_esm/utils/datastructures/DataGrid2dArrayMatrix.js.map +0 -1
  906. package/src/_esm/utils/datastructures/DataGrid2dListAdapter.d.ts +0 -59
  907. package/src/_esm/utils/datastructures/DataGrid2dListAdapter.js +0 -83
  908. package/src/_esm/utils/datastructures/DataGrid2dListAdapter.js.map +0 -1
  909. package/src/_esm/utils/datastructures/GenericPath.d.ts +0 -86
  910. package/src/_esm/utils/datastructures/GenericPath.js +0 -121
  911. package/src/_esm/utils/datastructures/GenericPath.js.map +0 -1
  912. package/src/_esm/utils/datastructures/GeometryMesh.d.ts +0 -49
  913. package/src/_esm/utils/datastructures/GeometryMesh.js +0 -57
  914. package/src/_esm/utils/datastructures/GeometryMesh.js.map +0 -1
  915. package/src/_esm/utils/datastructures/Girih.d.ts +0 -181
  916. package/src/_esm/utils/datastructures/Girih.js +0 -265
  917. package/src/_esm/utils/datastructures/Girih.js.map +0 -1
  918. package/src/_esm/utils/datastructures/GirihBowtie.d.ts +0 -37
  919. package/src/_esm/utils/datastructures/GirihBowtie.js +0 -134
  920. package/src/_esm/utils/datastructures/GirihBowtie.js.map +0 -1
  921. package/src/_esm/utils/datastructures/GirihDecagon.d.ts +0 -52
  922. package/src/_esm/utils/datastructures/GirihDecagon.js +0 -114
  923. package/src/_esm/utils/datastructures/GirihDecagon.js.map +0 -1
  924. package/src/_esm/utils/datastructures/GirihHexagon.d.ts +0 -39
  925. package/src/_esm/utils/datastructures/GirihHexagon.js +0 -182
  926. package/src/_esm/utils/datastructures/GirihHexagon.js.map +0 -1
  927. package/src/_esm/utils/datastructures/GirihPenroseRhombus.d.ts +0 -46
  928. package/src/_esm/utils/datastructures/GirihPenroseRhombus.js +0 -171
  929. package/src/_esm/utils/datastructures/GirihPenroseRhombus.js.map +0 -1
  930. package/src/_esm/utils/datastructures/GirihPentagon.d.ts +0 -37
  931. package/src/_esm/utils/datastructures/GirihPentagon.js +0 -91
  932. package/src/_esm/utils/datastructures/GirihPentagon.js.map +0 -1
  933. package/src/_esm/utils/datastructures/GirihRhombus.d.ts +0 -38
  934. package/src/_esm/utils/datastructures/GirihRhombus.js +0 -137
  935. package/src/_esm/utils/datastructures/GirihRhombus.js.map +0 -1
  936. package/src/_esm/utils/datastructures/GirihTile.d.ts +0 -283
  937. package/src/_esm/utils/datastructures/GirihTile.js +0 -290
  938. package/src/_esm/utils/datastructures/GirihTile.js.map +0 -1
  939. package/src/_esm/utils/datastructures/Matrix4x4.d.ts +0 -244
  940. package/src/_esm/utils/datastructures/Matrix4x4.js +0 -250
  941. package/src/_esm/utils/datastructures/Matrix4x4.js.map +0 -1
  942. package/src/_esm/utils/datastructures/VoronoiCell.d.ts +0 -122
  943. package/src/_esm/utils/datastructures/VoronoiCell.js +0 -182
  944. package/src/_esm/utils/datastructures/VoronoiCell.js.map +0 -1
  945. package/src/_esm/utils/datastructures/interfaces.d.ts +0 -13
  946. package/src/_esm/utils/datastructures/interfaces.js +0 -10
  947. package/src/_esm/utils/datastructures/interfaces.js.map +0 -1
  948. package/src/_esm/utils/detectDarkMode.d.ts +0 -10
  949. package/src/_esm/utils/detectDarkMode.js +0 -41
  950. package/src/_esm/utils/detectDarkMode.js.map +0 -1
  951. package/src/_esm/utils/dom/components/ColorGradientPicker.d.ts +0 -246
  952. package/src/_esm/utils/dom/components/ColorGradientPicker.js +0 -780
  953. package/src/_esm/utils/dom/components/ColorGradientPicker.js.map +0 -1
  954. package/src/_esm/utils/dom/components/ColorGradientPickerJSX.d.ts +0 -129
  955. package/src/_esm/utils/dom/components/ColorGradientPickerJSX.js +0 -582
  956. package/src/_esm/utils/dom/components/ColorGradientPickerJSX.js.map +0 -1
  957. package/src/_esm/utils/dom/components/ColorGradientSelector.d.ts +0 -118
  958. package/src/_esm/utils/dom/components/ColorGradientSelector.js +0 -376
  959. package/src/_esm/utils/dom/components/ColorGradientSelector.js.map +0 -1
  960. package/src/_esm/utils/dom/components/Test.d.ts +0 -7
  961. package/src/_esm/utils/dom/components/Test.js +0 -63
  962. package/src/_esm/utils/dom/components/Test.js.map +0 -1
  963. package/src/_esm/utils/dom/getAvailableContainerSpace.d.ts +0 -2
  964. package/src/_esm/utils/dom/getAvailableContainerSpace.js +0 -29
  965. package/src/_esm/utils/dom/getAvailableContainerSpace.js.map +0 -1
  966. package/src/_esm/utils/dom/getFProp.d.ts +0 -5
  967. package/src/_esm/utils/dom/getFProp.js +0 -12
  968. package/src/_esm/utils/dom/getFProp.js.map +0 -1
  969. package/src/_esm/utils/dom/guiSizeToggler.d.ts +0 -18
  970. package/src/_esm/utils/dom/guiSizeToggler.js +0 -44
  971. package/src/_esm/utils/dom/guiSizeToggler.js.map +0 -1
  972. package/src/_esm/utils/findInVertexArray.d.ts +0 -19
  973. package/src/_esm/utils/findInVertexArray.js +0 -29
  974. package/src/_esm/utils/findInVertexArray.js.map +0 -1
  975. package/src/_esm/utils/getFProp.d.ts +0 -5
  976. package/src/_esm/utils/getFProp.js +0 -8
  977. package/src/_esm/utils/getFProp.js.map +0 -1
  978. package/src/_esm/utils/gup.d.ts +0 -14
  979. package/src/_esm/utils/gup.js +0 -31
  980. package/src/_esm/utils/gup.js.map +0 -1
  981. package/src/_esm/utils/helpers/BezierPathInteractionHelper.d.ts +0 -272
  982. package/src/_esm/utils/helpers/BezierPathInteractionHelper.js +0 -655
  983. package/src/_esm/utils/helpers/BezierPathInteractionHelper.js.map +0 -1
  984. package/src/_esm/utils/helpers/CircleHelper.d.ts +0 -73
  985. package/src/_esm/utils/helpers/CircleHelper.js +0 -92
  986. package/src/_esm/utils/helpers/CircleHelper.js.map +0 -1
  987. package/src/_esm/utils/helpers/CircleSectorHelper.d.ts +0 -90
  988. package/src/_esm/utils/helpers/CircleSectorHelper.js +0 -113
  989. package/src/_esm/utils/helpers/CircleSectorHelper.js.map +0 -1
  990. package/src/_esm/utils/helpers/TriangleHelper.d.ts +0 -57
  991. package/src/_esm/utils/helpers/TriangleHelper.js +0 -82
  992. package/src/_esm/utils/helpers/TriangleHelper.js.map +0 -1
  993. package/src/_esm/utils/helpers/VEllipseHelper.d.ts +0 -32
  994. package/src/_esm/utils/helpers/VEllipseHelper.js +0 -87
  995. package/src/_esm/utils/helpers/VEllipseHelper.js.map +0 -1
  996. package/src/_esm/utils/helpers/VEllipseSectorHelper.d.ts +0 -52
  997. package/src/_esm/utils/helpers/VEllipseSectorHelper.js +0 -134
  998. package/src/_esm/utils/helpers/VEllipseSectorHelper.js.map +0 -1
  999. package/src/_esm/utils/io/DndFileHandler.d.ts +0 -63
  1000. package/src/_esm/utils/io/DndFileHandler.js +0 -106
  1001. package/src/_esm/utils/io/DndFileHandler.js.map +0 -1
  1002. package/src/_esm/utils/io/FileDrop.d.ts +0 -110
  1003. package/src/_esm/utils/io/FileDrop.js +0 -175
  1004. package/src/_esm/utils/io/FileDrop.js.map +0 -1
  1005. package/src/_esm/utils/parsers/LinearColorGradientParser.d.ts +0 -78
  1006. package/src/_esm/utils/parsers/LinearColorGradientParser.js +0 -223
  1007. package/src/_esm/utils/parsers/LinearColorGradientParser.js.map +0 -1
  1008. package/src/_esm/utils/parsers/OBJParser.d.ts +0 -25
  1009. package/src/_esm/utils/parsers/OBJParser.js +0 -78
  1010. package/src/_esm/utils/parsers/OBJParser.js.map +0 -1
  1011. package/src/_esm/utils/parsers/STLParser.d.ts +0 -61
  1012. package/src/_esm/utils/parsers/STLParser.js +0 -179
  1013. package/src/_esm/utils/parsers/STLParser.js.map +0 -1
  1014. package/src/_esm/utils/parsers/svg/parseSVGPathData.d.ts +0 -27
  1015. package/src/_esm/utils/parsers/svg/parseSVGPathData.js +0 -486
  1016. package/src/_esm/utils/parsers/svg/parseSVGPathData.js.map +0 -1
  1017. package/src/_esm/utils/parsers/svg/splitSVGPathData.d.ts +0 -20
  1018. package/src/_esm/utils/parsers/svg/splitSVGPathData.js +0 -53
  1019. package/src/_esm/utils/parsers/svg/splitSVGPathData.js.map +0 -1
  1020. package/src/_esm/utils/parsers/svg/types.d.ts +0 -63
  1021. package/src/_esm/utils/parsers/svg/types.js +0 -17
  1022. package/src/_esm/utils/parsers/svg/types.js.map +0 -1
@@ -1,954 +0,0 @@
1
- /**
2
- * Draws elements into an SVG node.
3
- *
4
- * Note that this library uses buffers and draw cycles. To draw onto an SVG canvas, do this:
5
- * const drawLib = new drawutilssvg( svgNode, ... );
6
- * const fillLib = drawLib.copyInstance(true);
7
- * // Begin draw cycle
8
- * drawLib.beginDrawCycle(time);
9
- * // ... draw or fill your stuff ...
10
- * drawLib.endDrawCycle(time); // Here the elements become visible
11
- *
12
- * @author Ikaros Kappler
13
- * @date 2021-01-03
14
- * @modified 2021-01-24 Fixed the `fillShapes` attribute in the copyInstance function.
15
- * @modified 2021-01-26 Changed the `isPrimary` (default true) attribute to `isSecondary` (default false).
16
- * @modified 2021-02-03 Added the static `createSvg` function.
17
- * @modified 2021-02-03 Fixed the currentId='background' bug on the clear() function.
18
- * @modified 2021-02-03 Fixed CSSProperty `stroke-width` (was line-width before, which is wrong).
19
- * @modified 2021-02-03 Added the static `HEAD_XML` attribute.
20
- * @modified 2021-02-19 Added the static helper function `transformPathData(...)` for svg path transformations (scale and translate).
21
- * @modified 2021-02-22 Added the static helper function `copyPathData(...)`.
22
- * @modified 2021-02-22 Added the `path` drawing function to draw SVG path data.
23
- * @modified 2021-03-01 Fixed a bug in the `clear` function (curClassName was not cleared).
24
- * @modified 2021-03-29 Fixed a bug in the `text` function (second y param was wrong, used x here).
25
- * @modified 2021-03-29 Moved this file from `src/ts/utils/helpers/` to `src/ts/`.
26
- * @modified 2021-03-31 Added 'ellipseSector' the the class names.
27
- * @modified 2021-03-31 Implemented buffering using a buffer <g> node and the beginDrawCycle and endDrawCycle methods.
28
- * @modified 2021-05-31 Added the `setConfiguration` function from `DrawLib`.
29
- * @modified 2021-11-15 Adding more parameters tot the `text()` function: fontSize, textAlign, fontFamily, lineHeight.
30
- * @modified 2021-11-19 Fixing the `label(text,x,y)` position.
31
- * @modified 2021-11-19 Added the `color` param to the `label(...)` function.
32
- * @modified 2022-02-03 Added the `lineWidth` param to the `crosshair` function.
33
- * @modified 2022-02-03 Added the `cross(...)` function.
34
- * @modified 2022-03-26 Added the private `nodeDefs` and `bufferedNodeDefs` attributes.
35
- * @modified 2022-03-26 Added the `texturedPoly` function to draw textures polygons.
36
- * @modified 2022-07-26 Adding `alpha` to the `image(...)` function.
37
- * @modified 2022-11-10 Tweaking some type issues.
38
- * @modified 2023-02-04 Fixed a typo in the CSS classname for cubic Bézier paths: cubicBezier (was cubierBezier).
39
- * @modified 2023-02-10 The methods `setCurrentClassName` and `setCurrentId` also accept `null` now.
40
- * @modified 2023-09-29 Added initialization checks for null parameters.
41
- * @modified 2023-09-29 Added a missing implementation to the `drawurilssvg.do(XYCoords,string)` function. Didn't draw anything.
42
- * @modified 2023-09-29 Downgrading all `Vertex` param type to the more generic `XYCoords` type in these render functions: line, arrow, texturedPoly, cubicBezier, cubicBezierPath, handle, handleLine, dot, point, circle, circleArc, ellipse, grid, raster.
43
- * @modified 2023-09-29 Added the `headLength` parameter to the 'DrawLib.arrow()` function.
44
- * @modified 2023-09-29 Added the `arrowHead(...)` function to the 'DrawLib.arrow()` interface.
45
- * @modified 2023-09-29 Added the `cubicBezierArrow(...)` function to the 'DrawLib.arrow()` interface.
46
- * @modified 2023-10-04 Adding `strokeOptions` param to these draw function: line, arrow, cubicBezierArrow, cubicBezier, cubicBezierPath, circle, circleArc, ellipse, square, rect, polygon, polyline.
47
- * @modified 2024-01-30 Fixing an issue with immutable style sets; changes to the global draw config did not reflect here (do now).
48
- * @modified 2024-03-10 Fixing some types for Typescript 5 compatibility.
49
- * @modified 2024-07-24 Caching custom style defs in a private buffer variable.
50
- * @modified 2025-11-14 Fixing a bug in the CSS `mix-blend-mode` property handling (caused a runtime error).
51
- * @modified 2026-01-04 Adding `lineJoin` attribute to the methods' `StrokeOptions` param.
52
- * @modified 2026-01-04 Fixing missing `strokeOptions` param in the `drawutilssvg.polygon` method.
53
- * @modified 2026-03-18 Adding `isOpen` parameter to `cubicBezierPath` draw method.
54
- * @version 1.7.0
55
- **/
56
- import { Polygon } from "./Polygon";
57
- import { Vertex } from "./Vertex";
58
- import { DrawConfig, DrawLib, XYCoords, XYDimension, SVGPathParams, UID, DrawLibConfiguration, FontStyle, FontWeight, StrokeOptions } from "./interfaces";
59
- import { Bounds } from "./Bounds";
60
- /**
61
- * @classdesc A helper class for basic SVG drawing operations. This class should
62
- * be compatible to the default 'draw' class.
63
- *
64
- * @requires CubicBzierCurvce
65
- * @requires Polygon
66
- * @requires Vertex
67
- * @requires XYCoords
68
- */
69
- export declare class drawutilssvg implements DrawLib<void | SVGElement> {
70
- static HEAD_XML: string;
71
- /**
72
- * @member {SVGGElement}
73
- * @memberof drawutilssvg
74
- * @instance
75
- */
76
- svgNode: SVGElement;
77
- /**
78
- * The root elements container <g> in the svgNode.
79
- */
80
- private gNode;
81
- /**
82
- * To avoid flickering the lib draws on a buffer, which is replacing the old <g> node at the end of the draw cycle.
83
- * @member {SVGGelement}
84
- * @memberof drawutilssvg
85
- * @instance
86
- * @private
87
- */
88
- private bufferGNode;
89
- /**
90
- * A style node of type `<style>`.
91
- * @member {SVGGelement}
92
- * @memberof drawutilssvg
93
- * @instance
94
- * @private
95
- */
96
- private nodeStyle;
97
- /**
98
- * A style node of type `<defs>`.
99
- * @member {SVGGelement}
100
- * @memberof drawutilssvg
101
- * @instance
102
- * @private
103
- */
104
- private nodeDefs;
105
- /**
106
- * The buffered nodeDefs.
107
- * @member {SVGGelement}
108
- * @memberof drawutilssvg
109
- * @instance
110
- * @private
111
- */
112
- private bufferedNodeDefs;
113
- /**
114
- * @member {Vertex}
115
- * @memberof drawutilssvg
116
- * @instance
117
- */
118
- scale: Vertex;
119
- /**
120
- * @member {Vertex}
121
- * @memberof drawutilssvg
122
- * @instance
123
- */
124
- offset: Vertex;
125
- /**
126
- * @member {boolean}
127
- * @memberof drawutilssvg
128
- * @instance
129
- */
130
- fillShapes: boolean;
131
- /**
132
- * @member {XYDimension}
133
- * @memberof drawutilssvg
134
- * @instance
135
- */
136
- canvasSize: XYDimension;
137
- /**
138
- * The current drawlib configuration to be used for all upcoming draw operations.
139
- * @member {DrawLibConfiguration}
140
- * @memberof drawutilssvg
141
- * @instance
142
- */
143
- drawlibConfiguration: DrawLibConfiguration;
144
- /**
145
- * The current drawable-ID. This can be any unique ID identifying the following drawn element.
146
- *
147
- * @member {UID|null}
148
- * @memberof drawutilssvg
149
- * @instance
150
- */
151
- private curId;
152
- /**
153
- * The current drawable-classname.
154
- */
155
- private curClassName;
156
- /**
157
- * The SVG element cache. On clear() all elements are kept for possible re-use on next draw cycle.
158
- */
159
- private cache;
160
- /**
161
- * Indicates if this library is the primary or seconday instance (draw an fill share the same DOM nodes).
162
- */
163
- private isSecondary;
164
- /**
165
- * Keep the initial draw config to rebuild styles on each render loop.
166
- */
167
- private drawConfig;
168
- /**
169
- * A buffer element for custom style defs (will be re-generated on each draw cycle).
170
- */
171
- private customStyleDefs;
172
- /**
173
- * Passed from primary to secondary instance.
174
- */
175
- /**
176
- * The constructor.
177
- *
178
- * @constructor
179
- * @name drawutilssvg
180
- * @param {SVGElement} svgNode - The SVG node to use.
181
- * @param {XYCoords} offset - The draw offset to use.
182
- * @param {XYCoords} scale - The scale factors to use.
183
- * @param {XYDimension} canvasSize - The initial canvas size (use setSize to change).
184
- * @param {boolean} fillShapes - Indicates if the constructed drawutils should fill all drawn shapes (if possible).
185
- * @param {DrawConfig} drawConfig - The default draw config to use for CSS fallback styles.
186
- * @param {boolean=} isSecondary - (optional) Indicates if this is the primary or secondary instance. Only primary instances manage child nodes.
187
- * @param {SVGGElement=} gNode - (optional) Primary and seconday instances share the same &lt;g> node.
188
- **/
189
- constructor(svgNode: SVGElement, offset: XYCoords, scale: XYCoords, canvasSize: XYDimension, fillShapes: boolean, drawConfig: DrawConfig, isSecondary?: boolean, gNode?: SVGGElement, bufferGNode?: SVGGElement, nodeDefs?: SVGDefsElement, bufferNodeDefs?: SVGDefsElement, nodeStyle?: SVGStyleElement);
190
- /**
191
- * Adds a default style defintion based on the passed DrawConfig.
192
- * Twaek the draw config to change default colors or line thicknesses.
193
- *
194
- * @param {DrawConfig} drawConfig
195
- */
196
- private addStyleDefs;
197
- /**
198
- * This method is required to re-define the global style defs. It is needed
199
- * if any value in the DrawConfig changed in the meantime.
200
- * @param drawConfig
201
- */
202
- private rebuildStyleDefs;
203
- /**
204
- * Adds the internal <defs> node.
205
- */
206
- private addDefsNode;
207
- /**
208
- * This is a simple way to include custom CSS class mappings to the style defs of the generated SVG.
209
- *
210
- * The mapping should be of the form
211
- * [style-class] -> [style-def-string]
212
- *
213
- * Example:
214
- * "rect.red" -> "fill: #ff0000; border: 1px solid red"
215
- *
216
- * @param {Map<string,string>} defs
217
- */
218
- addCustomStyleDefs(defs: Map<string, string>): void;
219
- /**
220
- * Retieve an old (cached) element.
221
- * Only if both – key and nodeName – match, the element will be returned (null otherwise).
222
- *
223
- * @method findElement
224
- * @private
225
- * @memberof drawutilssvg
226
- * @instance
227
- * @param {UID} key - The key of the desired element (used when re-drawing).
228
- * @param {string} nodeName - The expected node name.
229
- */
230
- private findElement;
231
- /**
232
- * Create a new DOM node &lt;svg&gt; in the SVG namespace.
233
- *
234
- * @method createSVGNode
235
- * @private
236
- * @memberof drawutilssvg
237
- * @instance
238
- * @param {string} nodeName - The node name (tag-name).
239
- * @return {SVGElement} A new element in the SVG namespace with the given node name.
240
- */
241
- private createSVGNode;
242
- /**
243
- * Make a new SVG node (or recycle an old one) with the given node name (circle, path, line, rect, ...).
244
- *
245
- * This function is used in draw cycles to re-use old DOM nodes (in hope to boost performance).
246
- *
247
- * @method makeNode
248
- * @private
249
- * @instance
250
- * @memberof drawutilssvg
251
- * @param {string} nodeName - The node name.
252
- * @return {SVGElement} The new node, which is not yet added to any document.
253
- */
254
- private makeNode;
255
- /**
256
- * This is the final helper function for drawing and filling stuff and binding new
257
- * nodes to the SVG document.
258
- * It is not intended to be used from the outside.
259
- *
260
- * When in draw mode it draws the current shape.
261
- * When in fill mode it fills the current shape.
262
- *
263
- * This function is usually only called internally.
264
- *
265
- * @method _bindFillDraw
266
- * @private
267
- * @instance
268
- * @memberof drawutilssvg
269
- * @param {SVGElement} node - The node to draw/fill and bind.
270
- * @param {string} className - The class name(s) to use.
271
- * @param {string} color - A stroke/fill color to use.
272
- * @param {number=1} lineWidth - (optional) A line width to use for drawing (default is 1).
273
- * @return {SVGElement} The node itself (for chaining).
274
- */
275
- private _bindFillDraw;
276
- /**
277
- * Bind this given node to a parent. If no parent is passed then the global
278
- * node buffer will be used.
279
- *
280
- * @method _bindNode
281
- * @private
282
- * @instance
283
- * @memberof drawutilssvg
284
- * @param {SVGElement} node - The SVG node to bind.
285
- * @param {SVGElement=} bindingParent - (optional) You may pass node other than the glober buffer node.
286
- * @returns {SVGElement} The passed node itself.
287
- */
288
- private _bindNode;
289
- /**
290
- * Add custom CSS class names and the globally defined CSS classname to the
291
- * given node.
292
- *
293
- * @method addCSSClasses
294
- * @private
295
- * @instance
296
- * @memberof drawutilssvg
297
- * @param {SVGElement} node - The SVG node to bind.
298
- * @param {string} className - The additional custom classname to add.
299
- * @returns {void}
300
- */
301
- private _addCSSClasses;
302
- private _configureNode;
303
- /**
304
- * Sets the size and view box of the document. Call this if canvas size changes.
305
- *
306
- * @method setSize
307
- * @instance
308
- * @memberof drawutilssvg
309
- * @param {XYDimension} canvasSize - The new canvas size.
310
- */
311
- setSize(canvasSize: XYDimension): void;
312
- /**
313
- * Creates a 'shallow' (non deep) copy of this instance. This implies
314
- * that under the hood the same gl context and gl program will be used.
315
- */
316
- copyInstance(fillShapes: boolean): drawutilssvg;
317
- /**
318
- * Set the current drawlib configuration.
319
- *
320
- * @name setConfiguration
321
- * @method
322
- * @param {DrawLibConfiguration} configuration - The new configuration settings to use for the next render methods.
323
- */
324
- setConfiguration(configuration: DrawLibConfiguration): void;
325
- /**
326
- * This method shouled be called each time the currently drawn `Drawable` changes.
327
- * It is used by some libraries for identifying elemente on re-renders.
328
- *
329
- * @name setCurrentId
330
- * @method
331
- * @param {UID|null} uid - A UID identifying the currently drawn element(s).
332
- * @instance
333
- * @memberof drawutilssvg
334
- **/
335
- setCurrentId(uid: UID | null): void;
336
- /**
337
- * This method shouled be called each time the currently drawn `Drawable` changes.
338
- * Determine the class name for further usage here.
339
- *
340
- * @name setCurrentClassName
341
- * @method
342
- * @param {string|null} className - A class name for further custom use cases.
343
- * @instance
344
- * @memberof drawutilssvg
345
- **/
346
- setCurrentClassName(className: string | null): void;
347
- /**
348
- * Called before each draw cycle.
349
- * This is required for compatibility with other draw classes in the library.
350
- *
351
- * @name beginDrawCycle
352
- * @method
353
- * @param {UID=} uid - (optional) A UID identifying the currently drawn element(s).
354
- * @instance
355
- * @memberof drawutilssvg
356
- **/
357
- beginDrawCycle(renderTime: number): void;
358
- /**
359
- * Called after each draw cycle.
360
- *
361
- * This is required for compatibility with other draw classes in the library (like drawgl).
362
- *
363
- * @name endDrawCycle
364
- * @method
365
- * @param {number} renderTime
366
- * @instance
367
- **/
368
- endDrawCycle(renderTime: number): void;
369
- /**
370
- * A private helper method to apply stroke options to the current
371
- * context.
372
- * @param {StrokeOptions=} strokeOptions -
373
- */
374
- private applyStrokeOpts;
375
- private _x;
376
- private _y;
377
- /**
378
- * Draw the line between the given two points with the specified (CSS-) color.
379
- *
380
- * @method line
381
- * @param {XYCoords} zA - The start point of the line.
382
- * @param {XYCoords} zB - The end point of the line.
383
- * @param {string} color - Any valid CSS color string.
384
- * @param {number=1} lineWidth? - [optional] The line's width.
385
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
386
- *
387
- * @return {void}
388
- * @instance
389
- * @memberof drawutilssvg
390
- **/
391
- line(zA: XYCoords, zB: XYCoords, color: string, lineWidth?: number, strokeOptions?: StrokeOptions): SVGElement;
392
- /**
393
- * Draw a line and an arrow at the end (zB) of the given line with the specified (CSS-) color.
394
- *
395
- * @method arrow
396
- * @param {XYCoords} zA - The start point of the arrow-line.
397
- * @param {XYCoords} zB - The end point of the arrow-line.
398
- * @param {string} color - Any valid CSS color string.
399
- * @param {number=} lineWidth - (optional) The line width to use; default is 1.
400
- * @param {headLength=8} headLength - (optional) The length of the arrow head (default is 8 units).
401
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
402
- *
403
- * @return {void}
404
- * @instance
405
- * @memberof drawutilssvg
406
- **/
407
- arrow(zA: XYCoords, zB: XYCoords, color: string, lineWidth?: number, headLength?: number, strokeOptions?: StrokeOptions): SVGElement;
408
- /**
409
- * Draw a cubic Bézier curve and and an arrow at the end (endControlPoint) of the given line width the specified (CSS-) color and arrow size.
410
- *
411
- * @method cubicBezierArrow
412
- * @param {XYCoords} startPoint - The start point of the cubic Bézier curve
413
- * @param {XYCoords} endPoint - The end point the cubic Bézier curve.
414
- * @param {XYCoords} startControlPoint - The start control point the cubic Bézier curve.
415
- * @param {XYCoords} endControlPoint - The end control point the cubic Bézier curve.
416
- * @param {string} color - The CSS color to draw the curve with.
417
- * @param {number} lineWidth - (optional) The line width to use.
418
- * @param {headLength=8} headLength - (optional) The length of the arrow head (default is 8 units).
419
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
420
- *
421
- * @return {void}
422
- * @instance
423
- * @memberof DrawLib
424
- */
425
- cubicBezierArrow(startPoint: XYCoords, endPoint: XYCoords, startControlPoint: XYCoords, endControlPoint: XYCoords, color: string, lineWidth?: number, headLength?: number, strokeOptions?: StrokeOptions): SVGElement;
426
- /**
427
- * Draw just an arrow head a the end of an imaginary line (zB) of the given line width the specified (CSS-) color and size.
428
- *
429
- * @method arrow
430
- * @param {XYCoords} zA - The start point of the arrow-line.
431
- * @param {XYCoords} zB - The end point of the arrow-line.
432
- * @param {string} color - Any valid CSS color string.
433
- * @param {number=1} lineWidth - (optional) The line width to use; default is 1.
434
- * @param {number=8} headLength - (optional) The length of the arrow head (default is 8 pixels).
435
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
436
- *
437
- * @return {void}
438
- * @instance
439
- * @memberof DrawLib
440
- **/
441
- arrowHead(zA: XYCoords, zB: XYCoords, color: string, lineWidth?: number, headLength?: number, strokeOptions?: StrokeOptions): SVGElement;
442
- /**
443
- * Draw an image at the given position with the given size.<br>
444
- * <br>
445
- * Note: SVG images may have resizing issues at the moment.Draw a line and an arrow at the end (zB) of the given line with the specified (CSS-) color.
446
- *
447
- * @method image
448
- * @param {Image} image - The image object to draw.
449
- * @param {XYCoords} position - The position to draw the the upper left corner at.
450
- * @param {XYCoords} size - The x/y-size to draw the image with.
451
- * @param {number=0.0} alpha - (optional, default=0.0) The transparency (1.0=opaque, 0.0=transparent).
452
- * @return {void}
453
- * @instance
454
- * @memberof drawutilssvg
455
- **/
456
- image(image: HTMLImageElement, position: XYCoords, size: XYCoords, alpha?: number): SVGElement;
457
- /**
458
- * Draw an image at the given position with the given size.<br>
459
- * <br>
460
- * Note: SVG images may have resizing issues at the moment.Draw a line and an arrow at the end (zB) of the given line with the specified (CSS-) color.
461
- *
462
- * @method texturedPoly
463
- * @param {Image} textureImage - The image object to draw.
464
- * @param {Bounds} textureSize - The texture size to use; these are the original bounds to map the polygon vertices to.
465
- * @param {Polygon} polygon - The polygon to use as clip path.
466
- * @param {XYCoords} polygonPosition - The polygon's position (relative), measured at the bounding box's center.
467
- * @param {number} rotation - The rotation to use for the polygon (and for the texture).
468
- * @return {void}
469
- * @instance
470
- * @memberof drawutilssvg
471
- **/
472
- texturedPoly(textureImage: HTMLImageElement, textureSize: Bounds, polygon: Polygon, polygonPosition: XYCoords, rotation: number): SVGElement;
473
- /**
474
- * Draw the given (cubic) bézier curve.
475
- *
476
- * @method cubicBezier
477
- * @param {XYCoords} startPoint - The start point of the cubic Bézier curve
478
- * @param {XYCoords} endPoint - The end point the cubic Bézier curve.
479
- * @param {XYCoords} startControlPoint - The start control point the cubic Bézier curve.
480
- * @param {XYCoords} endControlPoint - The end control point the cubic Bézier curve.
481
- * @param {string} color - The CSS color to draw the curve with.
482
- * @param {number} lineWidth - (optional) The line width to use.
483
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
484
- *
485
- * @return {void}
486
- * @instance
487
- * @memberof drawutilssvg
488
- */
489
- cubicBezier(startPoint: XYCoords, endPoint: XYCoords, startControlPoint: XYCoords, endControlPoint: XYCoords, color: string, lineWidth?: number, strokeOptions?: StrokeOptions): SVGElement;
490
- /**
491
- * Draw the given (cubic) Bézier path.
492
- *
493
- * The given path must be an array with n*3+1 vertices, where n is the number of
494
- * curves in the path:
495
- * <pre> [ point1, point1_startControl, point2_endControl, point2, point2_startControl, point3_endControl, point3, ... pointN_endControl, pointN ]</pre>
496
- *
497
- * @method cubicBezierPath
498
- * @param {XYCoords[]} path - The cubic bezier path as described above.
499
- * @param {string} color - The CSS colot to draw the path with.
500
- * @param {number=1} lineWidth - (optional) The line width to use.
501
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
502
- * @param {boolean} isOpen - (optional) Set to tur if the path should not be closed.
503
- * @return {void}
504
- * @instance
505
- * @memberof drawutilssvg
506
- */
507
- cubicBezierPath(path: Array<XYCoords>, color: string, lineWidth?: number, strokeOptions?: StrokeOptions, isOpen?: boolean): SVGElement;
508
- /**
509
- * Draw the given handle and handle point (used to draw interactive Bézier curves).
510
- *
511
- * The colors for this are fixed and cannot be specified.
512
- *
513
- * @method handle
514
- * @param {Vertex} startPoint - The start of the handle.
515
- * @param {Vertex} endPoint - The end point of the handle.
516
- * @return {void}
517
- * @instance
518
- * @memberof drawutilssvg
519
- */
520
- handle(startPoint: XYCoords, endPoint: XYCoords): void;
521
- /**
522
- * Draw a handle line (with a light grey).
523
- *
524
- * @method handleLine
525
- * @param {XYCoords} startPoint - The start point to draw the handle at.
526
- * @param {XYCoords} endPoint - The end point to draw the handle at.
527
- * @return {void}
528
- * @instance
529
- * @memberof drawutilssvg
530
- */
531
- handleLine(startPoint: XYCoords, endPoint: XYCoords): void;
532
- /**
533
- * Draw a 1x1 dot with the specified (CSS-) color.
534
- *
535
- * @method dot
536
- * @param {XYCoords} p - The position to draw the dot at.
537
- * @param {string} color - The CSS color to draw the dot with.
538
- * @return {void}
539
- * @instance
540
- * @memberof drawutilssvg
541
- */
542
- dot(p: XYCoords, color: string): SVGElement;
543
- /**
544
- * Draw the given point with the specified (CSS-) color and radius 3.
545
- *
546
- * @method point
547
- * @param {XYCoords} p - The position to draw the point at.
548
- * @param {string} color - The CSS color to draw the point with.
549
- * @return {void}
550
- * @instance
551
- * @memberof drawutilssvg
552
- */
553
- point(p: XYCoords, color: string): SVGElement;
554
- /**
555
- * Draw a circle with the specified (CSS-) color and radius.<br>
556
- * <br>
557
- * Note that if the x- and y- scales are different the result will be an ellipse rather than a circle.
558
- *
559
- * @method circle
560
- * @param {XYCoords} center - The center of the circle.
561
- * @param {number} radius - The radius of the circle.
562
- * @param {string} color - The CSS color to draw the circle with.
563
- * @param {number=} lineWidth - (optional) The line width to use; default is 1.
564
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
565
- *
566
- * @return {void}
567
- * @instance
568
- * @memberof drawutilssvg
569
- */
570
- circle(center: XYCoords, radius: number, color: string, lineWidth?: number, strokeOptions?: StrokeOptions): SVGElement;
571
- /**
572
- * Draw a circular arc (section of a circle) with the given CSS color.
573
- *
574
- * @method circleArc
575
- * @param {XYCoords} center - The center of the circle.
576
- * @param {number} radius - The radius of the circle.
577
- * @param {number} startAngle - The angle to start at.
578
- * @param {number} endAngle - The angle to end at.
579
- * @param {string} color - The CSS color to draw the circle with.
580
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
581
- *
582
- * @return {void}
583
- * @instance
584
- * @memberof drawutilssvg
585
- */
586
- circleArc(center: XYCoords, radius: number, startAngle: number, endAngle: number, color: string, lineWidth?: number, strokeOptions?: StrokeOptions): SVGElement;
587
- /**
588
- * Draw an ellipse with the specified (CSS-) color and thw two radii.
589
- *
590
- * @method ellipse
591
- * @param {XYCoords} center - The center of the ellipse.
592
- * @param {number} radiusX - The radius of the ellipse.
593
- * @param {number} radiusY - The radius of the ellipse.
594
- * @param {string} color - The CSS color to draw the ellipse with.
595
- * @param {number=} lineWidth - (optional) The line width to use; default is 1.
596
- * @param {number=} rotation - (optional, default=0) The rotation of the ellipse.
597
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
598
- *
599
- * @return {void}
600
- * @instance
601
- * @memberof drawutilssvg
602
- */
603
- ellipse(center: XYCoords, radiusX: number, radiusY: number, color: string, lineWidth?: number, rotation?: number, strokeOptions?: StrokeOptions): SVGElement;
604
- /**
605
- * Draw square at the given center, size and with the specified (CSS-) color.<br>
606
- * <br>
607
- * Note that if the x-scale and the y-scale are different the result will be a rectangle rather than a square.
608
- *
609
- * @method square
610
- * @param {XYCoords} center - The center of the square.
611
- * @param {number} size - The size of the square.
612
- * @param {string} color - The CSS color to draw the square with.
613
- * @param {number=} lineWidth - (optional) The line width to use; default is 1.
614
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
615
- *
616
- * @return {SVGElement}
617
- * @instance
618
- * @memberof drawutilssvg
619
- */
620
- square(center: XYCoords, size: number, color: string, lineWidth?: number, strokeOptions?: StrokeOptions): SVGElement;
621
- /**
622
- * Draw a rectangle.
623
- *
624
- * @param {XYCoords} position - The upper left corner of the rectangle.
625
- * @param {number} width - The width of the rectangle.
626
- * @param {number} height - The height of the rectangle.
627
- * @param {string} color - The color to use.
628
- * @param {number=1} lineWidth - (optional) The line with to use (default is 1).
629
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
630
- *
631
- * @return {SVGElement}
632
- * @instance
633
- * @memberof drawutilssvg
634
- **/
635
- rect(position: XYCoords, width: number, height: number, color: string, lineWidth?: number, strokeOptions?: StrokeOptions): SVGElement;
636
- /**
637
- * Draw a grid of horizontal and vertical lines with the given (CSS-) color.
638
- *
639
- * @method grid
640
- * @param {XYCoords} center - The center of the grid.
641
- * @param {number} width - The total width of the grid (width/2 each to the left and to the right).
642
- * @param {number} height - The total height of the grid (height/2 each to the top and to the bottom).
643
- * @param {number} sizeX - The horizontal grid size.
644
- * @param {number} sizeY - The vertical grid size.
645
- * @param {string} color - The CSS color to draw the grid with.
646
- * @return {void}
647
- * @instance
648
- * @memberof drawutilssvg
649
- */
650
- grid(center: XYCoords, width: number, height: number, sizeX: number, sizeY: number, color: string): SVGElement;
651
- /**
652
- * Draw a raster of crosshairs in the given grid.<br>
653
- *
654
- * This works analogue to the grid() function
655
- *
656
- * @method raster
657
- * @param {XYCoords} center - The center of the raster.
658
- * @param {number} width - The total width of the raster (width/2 each to the left and to the right).
659
- * @param {number} height - The total height of the raster (height/2 each to the top and to the bottom).
660
- * @param {number} sizeX - The horizontal raster size.
661
- * @param {number} sizeY - The vertical raster size.
662
- * @param {string} color - The CSS color to draw the raster with.
663
- * @return {void}
664
- * @instance
665
- * @memberof drawutilssvg
666
- */
667
- raster(center: XYCoords, width: number, height: number, sizeX: number, sizeY: number, color: string): SVGElement;
668
- /**
669
- * Draw a diamond handle (square rotated by 45°) with the given CSS color.
670
- *
671
- * It is an inherent featur of the handle functions that the drawn elements are not scaled and not
672
- * distorted. So even if the user zooms in or changes the aspect ratio, the handles will be drawn
673
- * as even shaped diamonds.
674
- *
675
- * @method diamondHandle
676
- * @param {XYCoords} center - The center of the diamond.
677
- * @param {number} size - The x/y-size of the diamond.
678
- * @param {string} color - The CSS color to draw the diamond with.
679
- * @return {void}
680
- * @instance
681
- * @memberof drawutilssvg
682
- */
683
- diamondHandle(center: XYCoords, size: number, color: string): SVGElement;
684
- /**
685
- * Draw a square handle with the given CSS color.<br>
686
- * <br>
687
- * It is an inherent featur of the handle functions that the drawn elements are not scaled and not
688
- * distorted. So even if the user zooms in or changes the aspect ratio, the handles will be drawn
689
- * as even shaped squares.
690
- *
691
- * @method squareHandle
692
- * @param {XYCoords} center - The center of the square.
693
- * @param {XYCoords} size - The x/y-size of the square.
694
- * @param {string} color - The CSS color to draw the square with.
695
- * @return {void}
696
- * @instance
697
- * @memberof drawutilssvg
698
- */
699
- squareHandle(center: XYCoords, size: number, color: string): SVGElement;
700
- /**
701
- * Draw a circle handle with the given CSS color.<br>
702
- * <br>
703
- * It is an inherent featur of the handle functions that the drawn elements are not scaled and not
704
- * distorted. So even if the user zooms in or changes the aspect ratio, the handles will be drawn
705
- * as even shaped circles.
706
- *
707
- * @method circleHandle
708
- * @param {XYCoords} center - The center of the circle.
709
- * @param {number} radius - The radius of the circle.
710
- * @param {string} color - The CSS color to draw the circle with.
711
- * @return {void}
712
- * @instance
713
- * @memberof drawutilssvg
714
- */
715
- circleHandle(center: XYCoords, radius: number, color: string): SVGElement;
716
- /**
717
- * Draw a crosshair with given radius and color at the given position.<br>
718
- * <br>
719
- * Note that the crosshair radius will not be affected by scaling.
720
- *
721
- * @method crosshair
722
- * @param {XYCoords} center - The center of the crosshair.
723
- * @param {number} radius - The radius of the crosshair.
724
- * @param {string} color - The CSS color to draw the crosshair with.
725
- * @param {number=0.5} lineWidth - (optional, default=0.5) The line width to use.
726
- * @return {void}
727
- * @instance
728
- * @memberof drawutilssvg
729
- */
730
- crosshair(center: XYCoords, radius: number, color: string, lineWidth?: number): SVGElement;
731
- /**
732
- * Draw a cross with diagonal axes with given radius, color and lineWidth at the given position.<br>
733
- * <br>
734
- * Note that the x's radius will not be affected by scaling.
735
- *
736
- * @method crosshair
737
- * @param {XYCoords} center - The center of the crosshair.
738
- * @param {number} radius - The radius of the crosshair.
739
- * @param {string} color - The CSS color to draw the crosshair with.
740
- * @param {number=1} lineWidth - (optional, default=1.0) The line width to use.
741
- * @return {void}
742
- * @instance
743
- * @memberof drawutils
744
- */
745
- cross(center: XYCoords, radius: number, color: string, lineWidth?: number): SVGElement;
746
- /**
747
- * Draw a polygon.
748
- *
749
- * @method polygon
750
- * @param {Polygon} polygon - The polygon to draw.
751
- * @param {string} color - The CSS color to draw the polygon with.
752
- * @param {number=} lineWidth - (optional) The line width to use; default is 1.
753
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
754
- * @return {void}
755
- * @instance
756
- * @memberof drawutilssvg
757
- */
758
- polygon(polygon: Polygon, color: string, lineWidth?: number, strokeOptions?: StrokeOptions): SVGElement;
759
- /**
760
- * Draw a polygon line (alternative function to the polygon).
761
- *
762
- * @method polyline
763
- * @param {XYCoords[]} vertices - The polygon vertices to draw.
764
- * @param {boolan} isOpen - If true the polyline will not be closed at its end.
765
- * @param {string} color - The CSS color to draw the polygon with.
766
- * @param {number=} lineWidth - (optional) The line width to use; default is 1.
767
- * @param {StrokeOptions=} strokeOptions - (optional) Stroke settings to use.
768
- *
769
- * @return {void}
770
- * @instance
771
- * @memberof drawutilssvg
772
- */
773
- polyline(vertices: Array<XYCoords>, isOpen: boolean, color: string, lineWidth?: number, strokeOptions?: StrokeOptions): SVGElement;
774
- /**
775
- * Draw a text at the given relative position.
776
- *
777
- * @method text
778
- * @param {string} text - The text to draw.
779
- * @param {number} x - The x-position to draw the text at.
780
- * @param {number} y - The y-position to draw the text at.
781
- * @param {string=} options.color - The Color to use.
782
- * @param {string=} options.fontFamily - The font family to use.
783
- * @param {number=} options.fontSize - The font size (in pixels) to use.
784
- * @param {FontStyle=} options.fontStyle - The font style to use.
785
- * @param {FontWeight=} options.fontWeight - The font weight to use.
786
- * @param {number=} options.lineHeight - The line height (in pixels) to use.
787
- * @param {number=} options.rotation - The (optional) rotation in radians.
788
- * @param {string=} options.textAlign - The text align to use. According to the specifiactions (https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign) valid values are `"left" || "right" || "center" || "start" || "end"`.
789
- * @return {void}
790
- * @instance
791
- * @memberof drawutils
792
- */
793
- text(text: string, x: number, y: number, options?: {
794
- color?: string;
795
- fontFamily?: string;
796
- fontSize?: number;
797
- fontStyle?: FontStyle;
798
- fontWeight?: FontWeight;
799
- lineHeight?: number;
800
- textAlign?: CanvasRenderingContext2D["textAlign"];
801
- rotation?: number;
802
- }): SVGElement;
803
- /**
804
- * Draw a non-scaling text label at the given position.
805
- *
806
- * @method label
807
- * @param {string} text - The text to draw.
808
- * @param {number} x - The x-position to draw the text at.
809
- * @param {number} y - The y-position to draw the text at.
810
- * @param {number=} rotation - The (optional) rotation in radians.
811
- * @param {string="black"} color - The color to use (default is black).
812
- * @return {void}
813
- * @instance
814
- * @memberof drawutilssvg
815
- */
816
- label(text: string, x: number, y: number, rotation?: number, color?: string): SVGElement;
817
- /**
818
- * Draw an SVG-like path given by the specified path data.
819
- *
820
- * @method path
821
- * @param {SVGPathData} pathData - An array of path commands and params.
822
- * @param {string=null} color - (optional) The color to draw this path with (default is null).
823
- * @param {number=1} lineWidth - (optional) the line width to use (default is 1).
824
- * @param {boolean=false} options.inplace - (optional) If set to true then path transforamtions (scale and translate) will be done in-place in the array. This can boost the performance.
825
- * @param {number=} options.dashOffset - (optional) `See StrokeOptions`.
826
- * @param {number=[]} options.dashArray - (optional) `See StrokeOptions`.
827
- *
828
- * @instance
829
- * @memberof drawutils
830
- * @return {R} An instance representing the drawn path.
831
- */
832
- path(pathData: SVGPathParams, color?: string, lineWidth?: number, options?: {
833
- inplace?: boolean;
834
- } & StrokeOptions): SVGElement;
835
- /**
836
- * Due to gl compatibility there is a generic 'clear' function required
837
- * to avoid accessing the context object itself directly.
838
- *
839
- * This function just fills the whole canvas with a single color.
840
- *
841
- * @param {string} color - The color to clear with.
842
- * @return {void}
843
- * @instance
844
- * @memberof drawutilssvg
845
- **/
846
- clear(color: string): void;
847
- /**
848
- * A private helper function to clear all SVG nodes from the &gt;g> node.
849
- *
850
- * @private
851
- */
852
- private removeAllChildNodes;
853
- /**
854
- * Create a new and empty `SVGElement` &lt;svg&gt; in the svg-namespace.
855
- *
856
- * @name createSvg
857
- * @static
858
- * @memberof drawutilssvg
859
- * @return SVGElement
860
- */
861
- static createSvg(): SVGElement;
862
- /**
863
- * Create a copy of the given path data. As path data only consists of strings and numbers,
864
- * the copy will be shallow by definition.
865
- *
866
- * @name copyPathData
867
- * @static
868
- * @memberof drawutilssvg
869
- */
870
- static copyPathData(data: SVGPathParams): SVGPathParams;
871
- /**
872
- * Transform the given path data (translate and scale. rotating is not intended here).
873
- *
874
- * @name transformPathData
875
- * @static
876
- * @memberof drawutilssvg
877
- * @param {SVGPathParams} data - The data to transform.
878
- * @param {XYCoords} offset - The translation offset (neutral is x=0, y=0).
879
- * @param {XYCoords} scale - The scale factors (neutral is x=1, y=1).
880
- */
881
- static transformPathData(data: SVGPathParams, offset: XYCoords, scale: XYCoords): void;
882
- private static nodeSupportsLineDash;
883
- private static nodeSupportsLineJoin;
884
- /**
885
- * Creates a basic <line> node with start and end coordinates. The created node will not
886
- * be bound to any root node.
887
- *
888
- * @private
889
- * @method makeLineNode
890
- * @param {XYCoords} zA - The line's start position.
891
- * @param {XYCoords} zB - The line's start position.
892
- * @param {string} color - The CSS color to draw the point with.
893
- * @param {number=1} lineWidth - (optional) The line width to use.
894
- * @param {StrokeOptions=} strokeOptions - (optional) Additional stroke options to use.
895
- * @param {string=} classNameOverride - (optional) If nothing is passed the default classname 'path' will be used.
896
- * @return {SVGLineElement}
897
- * @instance
898
- * @memberof drawutilssvg
899
- */
900
- private makeLineNode;
901
- /**
902
- * Creates a basic <path> node with given path string data. The created node will not
903
- * be bound to any root node.
904
- *
905
- * @private
906
- * @method makePathNode
907
- * @param {string} pathString - The path data (must be a valid path data string).
908
- * @param {string} color - The CSS color to draw the point with.
909
- * @param {number=1} lineWidth - (optional) The line width to use.
910
- * @param {StrokeOptions=} strokeOptions - (optional) Additional stroke options to use.
911
- * @param {string=} classNameOverride - (optional) If nothing is passed the default classname 'path' will be used.
912
- * @return {SVGPathElement}
913
- * @instance
914
- * @memberof drawutilssvg
915
- */
916
- private makePathNode;
917
- /**
918
- * Creates a basic arrow head node (<path> node) at the end of the given line coordinates. The created node will not
919
- * be bound to any root node.
920
- *
921
- * @private
922
- * @method makeArrowHeadNode
923
- * @param {string} pathString - The path data (must be a valid path data string).
924
- * @param {string} color - The CSS color to draw the point with.
925
- * @param {number=1} lineWidth - (optional) The line width to use.
926
- * @param {number=8} headLength - (optional) The length of the arrow head; if none is specified then the head will be 8 absolute units long.
927
- * @param {StrokeOptions=} strokeOptions - (optional) Additional stroke options to use.
928
- * @param {XYCoords=} arrowHeadBasePositionBuffer - (optional) If not null, then this position will contain the arrow head's start point (after execution). Some sort of OUT variable.
929
- * @return {SVGPathElement}
930
- * @instance
931
- * @memberof drawutilssvg
932
- */
933
- private makeArrowHeadNode;
934
- /**
935
- * Creates a basic cubic Bézier path node (<path> node) with the given cubic Bézier data. The created node will not
936
- * be bound to any root node.
937
- *
938
- * @private
939
- * @method makeCubicBezierNode
940
- * @param {XYCoords} startPoint - The start point of the cubic Bézier curve
941
- * @param {XYCoords} endPoint - The end point the cubic Bézier curve.
942
- * @param {XYCoords} startControlPoint - The start control point the cubic Bézier curve.
943
- * @param {XYCoords} endControlPoint - The end control point the cubic Bézier curve.
944
- * @param {string} color - The CSS color to draw the point with.
945
- * @param {number=1} lineWidth - (optional) The line width to use.
946
- * @param {StrokeOptions=} strokeOptions - (optional) Additional stroke options to use.
947
- * @param {string=} classNameOverride - (optional) If nothing is passed the default classname 'path' will be used.
948
- * @param {XYCoords=} arrowHeadBasePositionBuffer - (optional) If not null, then this position will contain the arrow head's start point (after execution). Some sort of OUT variable.
949
- * @return {SVGPathElement}
950
- * @instance
951
- * @memberof drawutilssvg
952
- */
953
- private makeCubicBezierNode;
954
- }