@vcmap/ui 5.0.0-rc.18 → 5.0.0-rc.20

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 (379) hide show
  1. package/README.md +6 -6
  2. package/build/build.js +2 -2
  3. package/build/buildCesium.js +3 -3
  4. package/build/buildHelpers.js +2 -1
  5. package/config/base.config.json +0 -4
  6. package/config/dev.config.json +35 -14
  7. package/config/www.config.json +4 -0
  8. package/dist/assets/cesium/Workers/ArcType-ce2e50ab.js +37 -0
  9. package/dist/assets/cesium/Workers/AttributeCompression-b646d393.js +716 -0
  10. package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-ff186ccc.js +258 -0
  11. package/dist/assets/cesium/Workers/BoundingRectangle-be5924f4.js +369 -0
  12. package/dist/assets/cesium/Workers/BoxGeometry-12eeccaf.js +884 -0
  13. package/dist/assets/cesium/Workers/Check-666ab1a0.js +290 -0
  14. package/dist/assets/cesium/Workers/Color-a84038cb.js +2262 -0
  15. package/dist/assets/cesium/Workers/ComponentDatatype-f7b11d02.js +341 -0
  16. package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-3272c1b3.js +132 -0
  17. package/dist/assets/cesium/Workers/CorridorGeometryLibrary-0170e093.js +498 -0
  18. package/dist/assets/cesium/Workers/CylinderGeometry-7c5da648.js +467 -0
  19. package/dist/assets/cesium/Workers/CylinderGeometryLibrary-372c07d8.js +63 -0
  20. package/dist/assets/cesium/Workers/EllipseGeometry-797d580e.js +1304 -0
  21. package/dist/assets/cesium/Workers/EllipseGeometryLibrary-2939e1dc.js +366 -0
  22. package/dist/assets/cesium/Workers/EllipseOutlineGeometry-8b50870f.js +443 -0
  23. package/dist/assets/cesium/Workers/EllipsoidGeodesic-98c62a56.js +520 -0
  24. package/dist/assets/cesium/Workers/EllipsoidGeometry-21c0e3a5.js +637 -0
  25. package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-eff247c8.js +454 -0
  26. package/dist/assets/cesium/Workers/EllipsoidRhumbLine-19756602.js +741 -0
  27. package/dist/assets/cesium/Workers/EllipsoidTangentPlane-214683dc.js +373 -0
  28. package/dist/assets/cesium/Workers/EncodedCartesian3-81f70735.js +171 -0
  29. package/dist/assets/cesium/Workers/FrustumGeometry-ac42a6d9.js +2512 -0
  30. package/dist/assets/cesium/Workers/GeometryAttribute-7d6f1732.js +619 -0
  31. package/dist/assets/cesium/Workers/GeometryAttributes-f06a2792.js +91 -0
  32. package/dist/assets/cesium/Workers/GeometryInstance-451dc1cd.js +121 -0
  33. package/dist/assets/cesium/Workers/GeometryOffsetAttribute-04332ce7.js +16 -0
  34. package/dist/assets/cesium/Workers/GeometryPipeline-ce4339ed.js +3690 -0
  35. package/dist/assets/cesium/Workers/IndexDatatype-a55ceaa1.js +200 -0
  36. package/dist/assets/cesium/Workers/IntersectionTests-f6e6bd8a.js +1836 -0
  37. package/dist/assets/cesium/Workers/Math-2dbd6b93.js +1330 -0
  38. package/dist/assets/cesium/Workers/Matrix2-13178034.js +7086 -0
  39. package/dist/assets/cesium/Workers/Matrix3-315394f6.js +4283 -0
  40. package/dist/assets/cesium/Workers/OrientedBoundingBox-04920dc7.js +1257 -0
  41. package/dist/assets/cesium/Workers/Plane-900aa728.js +309 -0
  42. package/dist/assets/cesium/Workers/PolygonGeometryLibrary-a8680d96.js +1074 -0
  43. package/dist/assets/cesium/Workers/PolygonPipeline-844aab0a.js +1345 -0
  44. package/dist/assets/cesium/Workers/PolylinePipeline-32f36d2a.js +573 -0
  45. package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-a510d657.js +781 -0
  46. package/dist/assets/cesium/Workers/PrimitivePipeline-ba38434a.js +966 -0
  47. package/dist/assets/cesium/Workers/RectangleGeometryLibrary-bdba697e.js +280 -0
  48. package/dist/assets/cesium/Workers/RuntimeError-06c93819.js +68 -0
  49. package/dist/assets/cesium/Workers/TerrainEncoding-833187da.js +1227 -0
  50. package/dist/assets/cesium/Workers/Transforms-40229881.js +14696 -0
  51. package/dist/assets/cesium/Workers/VertexFormat-6b480673.js +312 -0
  52. package/dist/assets/cesium/Workers/WallGeometryLibrary-919eed92.js +211 -0
  53. package/dist/assets/cesium/Workers/WebGLConstants-a8cc3e8c.js +620 -0
  54. package/dist/assets/cesium/Workers/WebMercatorProjection-13a90d41.js +151 -0
  55. package/dist/assets/cesium/Workers/arrayRemoveDuplicates-c2038105.js +129 -0
  56. package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +1336 -4
  57. package/dist/assets/cesium/Workers/combine-ca22a614.js +82 -0
  58. package/dist/assets/cesium/Workers/combineGeometry.js +17 -25
  59. package/dist/assets/cesium/Workers/createBoxGeometry.js +12 -25
  60. package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +313 -25
  61. package/dist/assets/cesium/Workers/createCircleGeometry.js +213 -25
  62. package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +160 -25
  63. package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +586 -25
  64. package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +236 -25
  65. package/dist/assets/cesium/Workers/createCorridorGeometry.js +1407 -25
  66. package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +603 -25
  67. package/dist/assets/cesium/Workers/createCylinderGeometry.js +12 -25
  68. package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +265 -25
  69. package/dist/assets/cesium/Workers/createEllipseGeometry.js +14 -25
  70. package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +14 -25
  71. package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +12 -25
  72. package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +15 -25
  73. package/dist/assets/cesium/Workers/createFrustumGeometry.js +12 -25
  74. package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +251 -25
  75. package/dist/assets/cesium/Workers/createGeometry.js +55 -25
  76. package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +2134 -25
  77. package/dist/assets/cesium/Workers/createPlaneGeometry.js +250 -25
  78. package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +115 -25
  79. package/dist/assets/cesium/Workers/createPolygonGeometry.js +1420 -25
  80. package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +683 -25
  81. package/dist/assets/cesium/Workers/createPolylineGeometry.js +571 -25
  82. package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +411 -25
  83. package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +301 -25
  84. package/dist/assets/cesium/Workers/createRectangleGeometry.js +1476 -25
  85. package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +535 -25
  86. package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +458 -25
  87. package/dist/assets/cesium/Workers/createSphereGeometry.js +123 -25
  88. package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +126 -25
  89. package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +127 -25
  90. package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +535 -25
  91. package/dist/assets/cesium/Workers/createVectorTileGeometries.js +445 -25
  92. package/dist/assets/cesium/Workers/createVectorTilePoints.js +79 -25
  93. package/dist/assets/cesium/Workers/createVectorTilePolygons.js +406 -25
  94. package/dist/assets/cesium/Workers/createVectorTilePolylines.js +254 -25
  95. package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +640 -25
  96. package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +2711 -27
  97. package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +994 -25
  98. package/dist/assets/cesium/Workers/createWallGeometry.js +623 -25
  99. package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +432 -25
  100. package/dist/assets/cesium/Workers/decodeDraco.js +381 -25
  101. package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +3687 -25
  102. package/dist/assets/cesium/Workers/decodeI3S.js +1040 -0
  103. package/dist/assets/cesium/Workers/defaultValue-0a909f67.js +51 -0
  104. package/dist/assets/cesium/Workers/package.js +2 -2
  105. package/dist/assets/cesium/Workers/transcodeKTX2.js +1516 -25
  106. package/dist/assets/cesium/Workers/transferTypedArrayTest.js +18 -2
  107. package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +1023 -25
  108. package/dist/assets/{cesium.2f992f.js → cesium.adbd45.js} +112161 -108735
  109. package/dist/assets/cesium.js +1 -1
  110. package/dist/assets/{core.cb0408.js → core.60e74d.js} +1616 -1629
  111. package/dist/assets/core.f198cf.js +15993 -0
  112. package/dist/assets/core.js +1 -1
  113. package/dist/assets/{index.bccdf969.js → index.884a53ef.js} +1 -1
  114. package/dist/assets/{ol.5e3fd0.js → ol.c6ff35.js} +6992 -6972
  115. package/dist/assets/ol.dbd604.js +44299 -0
  116. package/dist/assets/ol.js +1 -1
  117. package/dist/assets/ui.bf504d.css +1 -0
  118. package/dist/assets/{ui.08c48f.js → ui.bf504d.js} +6121 -6785
  119. package/dist/assets/ui.js +1 -1
  120. package/dist/assets/{vue.228ead.js → vue.75b819.js} +0 -0
  121. package/dist/assets/vue.a831f1.js +4675 -0
  122. package/dist/assets/vue.js +2 -2
  123. package/dist/assets/{vuetify.0b5039.css → vuetify.0d7360.css} +0 -0
  124. package/dist/assets/{vuetify.0b5039.js → vuetify.0d7360.js} +1 -1
  125. package/dist/assets/vuetify.js +2 -2
  126. package/dist/index.html +1 -1
  127. package/index.js +2 -1
  128. package/lib/cesium.js +1 -1
  129. package/package.json +3 -4
  130. package/plugins/{simple-graph → @vcmap/simple-graph}/README.md +1 -1
  131. package/plugins/{simple-graph → @vcmap/simple-graph}/SimpleGraphComponent.vue +0 -0
  132. package/plugins/{simple-graph → @vcmap/simple-graph}/index.js +0 -0
  133. package/plugins/{simple-graph → @vcmap/simple-graph}/package.json +0 -0
  134. package/plugins/{simple-graph → @vcmap/simple-graph}/simpleGraphView.js +0 -0
  135. package/plugins/@vcmap-show-case/README.md +20 -0
  136. package/plugins/{buttonExamples/ButtonExamples.vue → @vcmap-show-case/buttons-example/ButtonsExample.vue} +1 -1
  137. package/plugins/@vcmap-show-case/buttons-example/README.md +4 -0
  138. package/plugins/{buttonExamples → @vcmap-show-case/buttons-example}/index.js +16 -8
  139. package/plugins/@vcmap-show-case/buttons-example/package.json +5 -0
  140. package/plugins/{categoryTest → @vcmap-show-case/category-tester}/Categories.vue +7 -6
  141. package/plugins/{categoryTest → @vcmap-show-case/category-tester}/Category.vue +4 -3
  142. package/plugins/@vcmap-show-case/category-tester/README.md +3 -0
  143. package/plugins/{categoryTest → @vcmap-show-case/category-tester}/index.js +12 -4
  144. package/plugins/@vcmap-show-case/category-tester/package.json +5 -0
  145. package/plugins/@vcmap-show-case/config-editor/README.md +3 -0
  146. package/plugins/{test → @vcmap-show-case/config-editor}/editor.vue +0 -0
  147. package/plugins/@vcmap-show-case/config-editor/index.js +47 -0
  148. package/plugins/@vcmap-show-case/config-editor/package.json +5 -0
  149. package/plugins/@vcmap-show-case/context-menu-tester/README.md +3 -0
  150. package/plugins/@vcmap-show-case/context-menu-tester/index.js +33 -0
  151. package/plugins/@vcmap-show-case/context-menu-tester/package.json +5 -0
  152. package/plugins/{@vcmap/pluginExample/pluginExampleComponent.vue → @vcmap-show-case/form-inputs-example/FormInputsExample.vue} +14 -13
  153. package/plugins/@vcmap-show-case/form-inputs-example/README.md +4 -0
  154. package/plugins/@vcmap-show-case/form-inputs-example/config.json +5 -0
  155. package/plugins/{@vcmap/pluginExample → @vcmap-show-case/form-inputs-example}/exampleActions.js +1 -1
  156. package/plugins/{@vcmap/pluginExample → @vcmap-show-case/form-inputs-example}/index.js +23 -22
  157. package/plugins/@vcmap-show-case/form-inputs-example/package.json +5 -0
  158. package/plugins/{@vcmap/pluginExample → @vcmap-show-case/form-inputs-example}/validation.js +0 -0
  159. package/plugins/@vcmap-show-case/icons-example/README.md +5 -0
  160. package/plugins/@vcmap-show-case/icons-example/allIconsComponent.vue +51 -0
  161. package/plugins/@vcmap-show-case/icons-example/index.js +44 -0
  162. package/plugins/@vcmap-show-case/icons-example/package.json +5 -0
  163. package/plugins/{test/testList.vue → @vcmap-show-case/list-example/ListExample.vue} +1 -1
  164. package/plugins/@vcmap-show-case/list-example/README.md +3 -0
  165. package/plugins/@vcmap-show-case/list-example/index.js +44 -0
  166. package/plugins/@vcmap-show-case/list-example/package.json +5 -0
  167. package/plugins/@vcmap-show-case/notifier-tester/README.md +3 -0
  168. package/plugins/{notifier → @vcmap-show-case/notifier-tester}/index.js +11 -6
  169. package/plugins/{notifier → @vcmap-show-case/notifier-tester}/notifierTester.vue +0 -0
  170. package/plugins/@vcmap-show-case/notifier-tester/package.json +5 -0
  171. package/plugins/@vcmap-show-case/textfields-example/README.md +3 -0
  172. package/plugins/{example/mySuperComponent.vue → @vcmap-show-case/textfields-example/TextfieldsExample.vue} +1 -7
  173. package/plugins/{example → @vcmap-show-case/textfields-example}/index.js +58 -62
  174. package/plugins/@vcmap-show-case/textfields-example/package.json +5 -0
  175. package/plugins/@vcmap-show-case/window-tester/README.md +3 -0
  176. package/plugins/{test/windowManagerExample.vue → @vcmap-show-case/window-tester/WindowExample.vue} +36 -20
  177. package/plugins/{test → @vcmap-show-case/window-tester}/emptyComponent.vue +8 -3
  178. package/plugins/@vcmap-show-case/window-tester/index.js +62 -0
  179. package/plugins/{test → @vcmap-show-case/window-tester}/myCustomHeader.vue +0 -0
  180. package/plugins/@vcmap-show-case/window-tester/package.json +5 -0
  181. package/plugins/{test → @vcmap-show-case/window-tester}/toolbox-data.js +9 -9
  182. package/plugins/{test/vcsContent.vue → @vcmap-show-case/window-tester/windowExampleContent.vue} +1 -5
  183. package/plugins/@vcmap-show-case/wizard-example/README.md +3 -0
  184. package/plugins/{wizardExample → @vcmap-show-case/wizard-example}/index.js +12 -6
  185. package/plugins/@vcmap-show-case/wizard-example/package.json +5 -0
  186. package/plugins/@vcmap-show-case/wizard-example/wizardExample.vue +95 -0
  187. package/plugins/package.json +2 -1
  188. package/src/actions/actionHelper.js +1 -3
  189. package/src/actions/stateRefAction.js +0 -10
  190. package/src/application/VcsApp.vue +42 -23
  191. package/src/application/VcsMap.vue +9 -0
  192. package/src/components/buttons/VcsActionButtonList.vue +1 -0
  193. package/src/components/form-inputs-controls/VcsCheckbox.vue +3 -1
  194. package/src/components/form-inputs-controls/VcsWizard.vue +17 -20
  195. package/src/components/form-inputs-controls/VcsWizardStep.vue +160 -0
  196. package/src/{icons → components/icons}/+all.js +0 -0
  197. package/src/{icons → components/icons}/2DAreaIcon.vue +0 -0
  198. package/src/{icons → components/icons}/2DDistanceIcon.vue +0 -0
  199. package/src/{icons → components/icons}/3DAreaIcon.vue +0 -0
  200. package/src/{icons → components/icons}/3DDistanceIcon.vue +0 -0
  201. package/src/{icons → components/icons}/3DHeightIcon.vue +0 -0
  202. package/src/{icons → components/icons}/AngleIcon.vue +0 -0
  203. package/src/{icons → components/icons}/AssociationsIcon.vue +0 -0
  204. package/src/{icons → components/icons}/AxisIcon.vue +0 -0
  205. package/src/{icons → components/icons}/BoundingBoxIcon.vue +0 -0
  206. package/src/{icons → components/icons}/CheckboxCheckedIcon.vue +0 -0
  207. package/src/{icons → components/icons}/CheckboxIcon.vue +0 -0
  208. package/src/{icons → components/icons}/CheckboxIndeterminateIcon.vue +0 -0
  209. package/src/{icons → components/icons}/CircleIcon.vue +0 -0
  210. package/src/{icons → components/icons}/ClippingHorizontalIcon.vue +0 -0
  211. package/src/{icons → components/icons}/ClippingIcon.vue +0 -0
  212. package/src/{icons → components/icons}/ClippingVerticalIcon.vue +0 -0
  213. package/src/{icons → components/icons}/ColorPickerIcon.vue +0 -0
  214. package/src/{icons → components/icons}/ColorSwatchIcon.vue +0 -0
  215. package/src/{icons → components/icons}/CommentIcon.vue +0 -0
  216. package/src/{icons → components/icons}/CompassIcon.vue +0 -0
  217. package/src/{icons → components/icons}/ComponentsIcon.vue +0 -0
  218. package/src/{icons → components/icons}/ConeIcon.vue +0 -0
  219. package/src/{icons → components/icons}/DimensionsHouseIcon.vue +0 -0
  220. package/src/{icons → components/icons}/EditIcon.vue +0 -0
  221. package/src/{icons → components/icons}/ElevationProfileIcon.vue +0 -0
  222. package/src/{icons → components/icons}/ExportAreaIcon.vue +0 -0
  223. package/src/{icons → components/icons}/ExportFlightIcon.vue +0 -0
  224. package/src/{icons → components/icons}/ExportIcon.vue +0 -0
  225. package/src/{icons → components/icons}/ExternalLinkIcon.vue +0 -0
  226. package/src/{icons → components/icons}/EyeIcon.vue +0 -0
  227. package/src/{icons → components/icons}/FastForwardIcon.vue +0 -0
  228. package/src/{icons → components/icons}/FilterIcon.vue +0 -0
  229. package/src/{icons → components/icons}/GlobalTerrainIcon.vue +0 -0
  230. package/src/{icons → components/icons}/GlobeNatureIcon.vue +0 -0
  231. package/src/{icons → components/icons}/GroundIcon.vue +0 -0
  232. package/src/{icons → components/icons}/HealthCareIndustriesIcon.vue +0 -0
  233. package/src/{icons → components/icons}/HelpIcon.vue +0 -0
  234. package/src/{icons → components/icons}/HideIcon.vue +0 -0
  235. package/src/{icons → components/icons}/HomePointIcon.vue +0 -0
  236. package/src/{icons → components/icons}/HospitalsIcon.vue +0 -0
  237. package/src/{icons → components/icons}/HouseIcon.vue +0 -0
  238. package/src/{icons → components/icons}/ImportIcon.vue +0 -0
  239. package/src/{icons → components/icons}/InfoIcon.vue +0 -0
  240. package/src/{icons → components/icons}/KebabIcon.vue +0 -0
  241. package/src/{icons → components/icons}/LabelIcon.vue +0 -0
  242. package/src/{icons → components/icons}/LayersIcon.vue +0 -0
  243. package/src/{icons → components/icons}/LegendIcon.vue +0 -0
  244. package/src/{icons → components/icons}/LineIcon.vue +0 -0
  245. package/src/{icons → components/icons}/LinkIcon.vue +0 -0
  246. package/src/{icons → components/icons}/LogoutIcon.vue +0 -0
  247. package/src/{icons → components/icons}/MapIcon.vue +0 -0
  248. package/src/{icons → components/icons}/MenuIcon.vue +0 -0
  249. package/src/{icons → components/icons}/MinusIcon.vue +0 -0
  250. package/src/{icons → components/icons}/ObjectAttributeIcon.vue +0 -0
  251. package/src/{icons → components/icons}/ObjectSelectIcon.vue +0 -0
  252. package/src/{icons → components/icons}/ObliqueViewIcon.vue +0 -0
  253. package/src/{icons → components/icons}/PdfIcon.vue +0 -0
  254. package/src/{icons → components/icons}/PedestrianIcon.vue +0 -0
  255. package/src/{icons → components/icons}/PenIcon.vue +0 -0
  256. package/src/{icons → components/icons}/PlayCircleIcon.vue +0 -0
  257. package/src/{icons → components/icons}/PlusIcon.vue +0 -0
  258. package/src/{icons → components/icons}/PoiIcon.vue +0 -0
  259. package/src/{icons → components/icons}/PointSelectIcon.vue +0 -0
  260. package/src/{icons → components/icons}/PolygonIcon.vue +0 -0
  261. package/src/{icons → components/icons}/PresentationModeIcon.vue +0 -0
  262. package/src/{icons → components/icons}/ProgressIcon.vue +0 -0
  263. package/src/{icons → components/icons}/QueryIcon.vue +0 -0
  264. package/src/{icons → components/icons}/RectangleIcon.vue +0 -0
  265. package/src/{icons → components/icons}/ReturnIcon.vue +0 -0
  266. package/src/{icons → components/icons}/RewindIcon.vue +0 -0
  267. package/src/{icons → components/icons}/RotateLeftIcon.vue +0 -0
  268. package/src/{icons → components/icons}/RotateRightIcon.vue +0 -0
  269. package/src/{icons → components/icons}/ScreenshotIcon.vue +0 -0
  270. package/src/{icons → components/icons}/SearchIcon.vue +0 -0
  271. package/src/{icons → components/icons}/ShadowIcon.vue +0 -0
  272. package/src/{icons → components/icons}/ShapesIcon.vue +0 -0
  273. package/src/{icons → components/icons}/ShareIcon.vue +0 -0
  274. package/src/{icons → components/icons}/SimpleCircleFilledIcon.vue +0 -0
  275. package/src/{icons → components/icons}/SimpleCircleHalfFilledIcon.vue +0 -0
  276. package/src/{icons → components/icons}/SimpleCircleOutlinedIcon.vue +0 -0
  277. package/src/{icons → components/icons}/SkipNextIcon.vue +0 -0
  278. package/src/{icons → components/icons}/SkipPreviousIcon.vue +0 -0
  279. package/src/{icons → components/icons}/SplitViewIcon.vue +0 -0
  280. package/src/{icons → components/icons}/TerrainBoxIcon.vue +0 -0
  281. package/src/{icons → components/icons}/TextStyleIcon.vue +0 -0
  282. package/src/{icons → components/icons}/ThreeDimensionsIcon.vue +0 -0
  283. package/src/{icons → components/icons}/ToolsIcon.vue +0 -0
  284. package/src/{icons → components/icons}/TouchIcon.vue +0 -0
  285. package/src/{icons → components/icons}/TrashCanIcon.vue +0 -0
  286. package/src/{icons → components/icons}/TriangleIcon.vue +0 -0
  287. package/src/{icons → components/icons}/TwoDimensionsIcon.vue +0 -0
  288. package/src/{icons → components/icons}/UploadIcon.vue +0 -0
  289. package/src/{icons → components/icons}/UserProfileIcon.vue +0 -0
  290. package/src/{icons → components/icons}/UserShareIcon.vue +0 -0
  291. package/src/{icons → components/icons}/VideoRecorderIcon.vue +0 -0
  292. package/src/{icons → components/icons}/ViewpointFlightIcon.vue +0 -0
  293. package/src/{icons → components/icons}/ViewpointIcon.vue +0 -0
  294. package/src/{icons → components/icons}/Viewshed360Icon.vue +0 -0
  295. package/src/{icons → components/icons}/ViewshedConeIcon.vue +0 -0
  296. package/src/{icons → components/icons}/ViewshedIcon.vue +0 -0
  297. package/src/{icons → components/icons}/WalkingIcon.vue +0 -0
  298. package/src/{icons → components/icons}/WallIcon.vue +0 -0
  299. package/src/{icons → components/icons}/WandIcon.vue +0 -0
  300. package/src/components/lists/VcsList.vue +21 -12
  301. package/src/components/lists/VcsTreeviewLeaf.vue +14 -2
  302. package/src/components/notification/VcsTooltip.vue +1 -1
  303. package/src/featureInfo/abstractFeatureInfoView.js +1 -1
  304. package/src/featureInfo/addressBalloonFeatureInfoView.js +1 -1
  305. package/src/featureInfo/balloonFeatureInfoView.js +1 -1
  306. package/src/featureInfo/balloonHelper.js +6 -6
  307. package/src/featureInfo/featureInfo.js +2 -2
  308. package/src/i18n/de.js +2 -6
  309. package/src/i18n/en.js +2 -6
  310. package/src/legend/legendHelper.js +4 -3
  311. package/src/legend/vcsLegend.vue +21 -2
  312. package/src/manager/window/WindowComponent.vue +42 -4
  313. package/src/manager/window/WindowComponentHeader.vue +1 -1
  314. package/src/manager/window/windowHelper.js +7 -11
  315. package/src/manager/window/windowManager.js +15 -11
  316. package/src/navigation/mapNavCompass.vue +13 -7
  317. package/src/navigation/mapNavigation.vue +66 -4
  318. package/src/navigation/orientationToolsButton.vue +1 -1
  319. package/src/navigation/overviewMap.js +26 -10
  320. package/src/navigation/vcsCompass.vue +4 -73
  321. package/src/setup.js +1 -1
  322. package/src/vuePlugins/vuetify.js +1 -1
  323. package/dist/assets/cesium/Workers/ArcType-c9b2b290.js +0 -25
  324. package/dist/assets/cesium/Workers/AttributeCompression-7b0f288d.js +0 -25
  325. package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-d0c22774.js +0 -25
  326. package/dist/assets/cesium/Workers/BoundingRectangle-201b1a81.js +0 -25
  327. package/dist/assets/cesium/Workers/BoxGeometry-4985457c.js +0 -25
  328. package/dist/assets/cesium/Workers/Color-cc8c18b3.js +0 -25
  329. package/dist/assets/cesium/Workers/ComponentDatatype-0200bf8c.js +0 -25
  330. package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-4345acdf.js +0 -25
  331. package/dist/assets/cesium/Workers/CorridorGeometryLibrary-850a6c35.js +0 -25
  332. package/dist/assets/cesium/Workers/CylinderGeometry-57a1051a.js +0 -25
  333. package/dist/assets/cesium/Workers/CylinderGeometryLibrary-62ce5a1f.js +0 -25
  334. package/dist/assets/cesium/Workers/EllipseGeometry-8627398f.js +0 -25
  335. package/dist/assets/cesium/Workers/EllipseGeometryLibrary-e5919563.js +0 -25
  336. package/dist/assets/cesium/Workers/EllipseOutlineGeometry-96fd4ae1.js +0 -25
  337. package/dist/assets/cesium/Workers/EllipsoidGeodesic-8bfefbff.js +0 -25
  338. package/dist/assets/cesium/Workers/EllipsoidGeometry-377329b9.js +0 -25
  339. package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-e6e16e49.js +0 -25
  340. package/dist/assets/cesium/Workers/EllipsoidRhumbLine-03528f73.js +0 -25
  341. package/dist/assets/cesium/Workers/EllipsoidTangentPlane-c080fd1b.js +0 -25
  342. package/dist/assets/cesium/Workers/EncodedCartesian3-ea0e408f.js +0 -25
  343. package/dist/assets/cesium/Workers/FrustumGeometry-a8b5d817.js +0 -25
  344. package/dist/assets/cesium/Workers/GeometryAttribute-8458a8fd.js +0 -25
  345. package/dist/assets/cesium/Workers/GeometryAttributes-ac0f8485.js +0 -25
  346. package/dist/assets/cesium/Workers/GeometryInstance-ee3aa3ba.js +0 -25
  347. package/dist/assets/cesium/Workers/GeometryOffsetAttribute-08ae0c50.js +0 -25
  348. package/dist/assets/cesium/Workers/GeometryPipeline-33ca229c.js +0 -25
  349. package/dist/assets/cesium/Workers/IndexDatatype-e713bfd2.js +0 -25
  350. package/dist/assets/cesium/Workers/IntersectionTests-eb4db8e0.js +0 -25
  351. package/dist/assets/cesium/Workers/Matrix2-eefef8eb.js +0 -25
  352. package/dist/assets/cesium/Workers/OrientedBoundingBox-5193f9a2.js +0 -25
  353. package/dist/assets/cesium/Workers/Plane-b0299683.js +0 -25
  354. package/dist/assets/cesium/Workers/PolygonGeometryLibrary-b61295f3.js +0 -25
  355. package/dist/assets/cesium/Workers/PolygonPipeline-eb527514.js +0 -25
  356. package/dist/assets/cesium/Workers/PolylinePipeline-0f23dd84.js +0 -25
  357. package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-2d903430.js +0 -25
  358. package/dist/assets/cesium/Workers/PrimitivePipeline-e2640413.js +0 -25
  359. package/dist/assets/cesium/Workers/RectangleGeometryLibrary-ae8bf8a5.js +0 -25
  360. package/dist/assets/cesium/Workers/RuntimeError-5baf5c66.js +0 -25
  361. package/dist/assets/cesium/Workers/TerrainEncoding-bc10ab54.js +0 -25
  362. package/dist/assets/cesium/Workers/Transforms-d2e5867e.js +0 -63
  363. package/dist/assets/cesium/Workers/VertexFormat-5ec0d9ff.js +0 -25
  364. package/dist/assets/cesium/Workers/WallGeometryLibrary-1a33e416.js +0 -25
  365. package/dist/assets/cesium/Workers/WebGLConstants-5b50ced1.js +0 -25
  366. package/dist/assets/cesium/Workers/WebMercatorProjection-cd2f30c2.js +0 -25
  367. package/dist/assets/cesium/Workers/_commonjsHelpers-bc29abbc.js +0 -25
  368. package/dist/assets/cesium/Workers/arrayRemoveDuplicates-f13aceb1.js +0 -25
  369. package/dist/assets/cesium/Workers/combine-7533016d.js +0 -25
  370. package/dist/assets/cesium/Workers/defaultValue-0c475b81.js +0 -25
  371. package/dist/assets/cesium/Workers/package.json +0 -1
  372. package/dist/assets/ui.08c48f.css +0 -1
  373. package/plugins/@vcmap/pluginExample/config.json +0 -6
  374. package/plugins/@vcmap/pluginExample/package.json +0 -7
  375. package/plugins/categoryTest/ItemEditor.vue +0 -13
  376. package/plugins/test/allIconsComponent.vue +0 -50
  377. package/plugins/test/index.js +0 -209
  378. package/plugins/wizardExample/wizardExample.vue +0 -77
  379. package/src/components/form-inputs-controls/VcsColorPicker.vue +0 -85
@@ -0,0 +1,2262 @@
1
+ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Transforms-40229881', './Math-2dbd6b93'], (function (exports, Check, defaultValue, Transforms, Math$1) { 'use strict';
2
+
3
+ function hue2rgb(m1, m2, h) {
4
+ if (h < 0) {
5
+ h += 1;
6
+ }
7
+ if (h > 1) {
8
+ h -= 1;
9
+ }
10
+ if (h * 6 < 1) {
11
+ return m1 + (m2 - m1) * 6 * h;
12
+ }
13
+ if (h * 2 < 1) {
14
+ return m2;
15
+ }
16
+ if (h * 3 < 2) {
17
+ return m1 + (m2 - m1) * (2 / 3 - h) * 6;
18
+ }
19
+ return m1;
20
+ }
21
+
22
+ /**
23
+ * A color, specified using red, green, blue, and alpha values,
24
+ * which range from <code>0</code> (no intensity) to <code>1.0</code> (full intensity).
25
+ * @param {Number} [red=1.0] The red component.
26
+ * @param {Number} [green=1.0] The green component.
27
+ * @param {Number} [blue=1.0] The blue component.
28
+ * @param {Number} [alpha=1.0] The alpha component.
29
+ *
30
+ * @constructor
31
+ * @alias Color
32
+ *
33
+ * @see Packable
34
+ */
35
+ function Color(red, green, blue, alpha) {
36
+ /**
37
+ * The red component.
38
+ * @type {Number}
39
+ * @default 1.0
40
+ */
41
+ this.red = defaultValue.defaultValue(red, 1.0);
42
+ /**
43
+ * The green component.
44
+ * @type {Number}
45
+ * @default 1.0
46
+ */
47
+ this.green = defaultValue.defaultValue(green, 1.0);
48
+ /**
49
+ * The blue component.
50
+ * @type {Number}
51
+ * @default 1.0
52
+ */
53
+ this.blue = defaultValue.defaultValue(blue, 1.0);
54
+ /**
55
+ * The alpha component.
56
+ * @type {Number}
57
+ * @default 1.0
58
+ */
59
+ this.alpha = defaultValue.defaultValue(alpha, 1.0);
60
+ }
61
+
62
+ /**
63
+ * Creates a Color instance from a {@link Cartesian4}. <code>x</code>, <code>y</code>, <code>z</code>,
64
+ * and <code>w</code> map to <code>red</code>, <code>green</code>, <code>blue</code>, and <code>alpha</code>, respectively.
65
+ *
66
+ * @param {Cartesian4} cartesian The source cartesian.
67
+ * @param {Color} [result] The object onto which to store the result.
68
+ * @returns {Color} The modified result parameter or a new Color instance if one was not provided.
69
+ */
70
+ Color.fromCartesian4 = function (cartesian, result) {
71
+ //>>includeStart('debug', pragmas.debug);
72
+ Check.Check.typeOf.object("cartesian", cartesian);
73
+ //>>includeEnd('debug');
74
+
75
+ if (!defaultValue.defined(result)) {
76
+ return new Color(cartesian.x, cartesian.y, cartesian.z, cartesian.w);
77
+ }
78
+
79
+ result.red = cartesian.x;
80
+ result.green = cartesian.y;
81
+ result.blue = cartesian.z;
82
+ result.alpha = cartesian.w;
83
+ return result;
84
+ };
85
+
86
+ /**
87
+ * Creates a new Color specified using red, green, blue, and alpha values
88
+ * that are in the range of 0 to 255, converting them internally to a range of 0.0 to 1.0.
89
+ *
90
+ * @param {Number} [red=255] The red component.
91
+ * @param {Number} [green=255] The green component.
92
+ * @param {Number} [blue=255] The blue component.
93
+ * @param {Number} [alpha=255] The alpha component.
94
+ * @param {Color} [result] The object onto which to store the result.
95
+ * @returns {Color} The modified result parameter or a new Color instance if one was not provided.
96
+ */
97
+ Color.fromBytes = function (red, green, blue, alpha, result) {
98
+ red = Color.byteToFloat(defaultValue.defaultValue(red, 255.0));
99
+ green = Color.byteToFloat(defaultValue.defaultValue(green, 255.0));
100
+ blue = Color.byteToFloat(defaultValue.defaultValue(blue, 255.0));
101
+ alpha = Color.byteToFloat(defaultValue.defaultValue(alpha, 255.0));
102
+
103
+ if (!defaultValue.defined(result)) {
104
+ return new Color(red, green, blue, alpha);
105
+ }
106
+
107
+ result.red = red;
108
+ result.green = green;
109
+ result.blue = blue;
110
+ result.alpha = alpha;
111
+ return result;
112
+ };
113
+
114
+ /**
115
+ * Creates a new Color that has the same red, green, and blue components
116
+ * of the specified color, but with the specified alpha value.
117
+ *
118
+ * @param {Color} color The base color
119
+ * @param {Number} alpha The new alpha component.
120
+ * @param {Color} [result] The object onto which to store the result.
121
+ * @returns {Color} The modified result parameter or a new Color instance if one was not provided.
122
+ *
123
+ * @example const translucentRed = Cesium.Color.fromAlpha(Cesium.Color.RED, 0.9);
124
+ */
125
+ Color.fromAlpha = function (color, alpha, result) {
126
+ //>>includeStart('debug', pragmas.debug);
127
+ Check.Check.typeOf.object("color", color);
128
+ Check.Check.typeOf.number("alpha", alpha);
129
+ //>>includeEnd('debug');
130
+
131
+ if (!defaultValue.defined(result)) {
132
+ return new Color(color.red, color.green, color.blue, alpha);
133
+ }
134
+
135
+ result.red = color.red;
136
+ result.green = color.green;
137
+ result.blue = color.blue;
138
+ result.alpha = alpha;
139
+ return result;
140
+ };
141
+
142
+ let scratchArrayBuffer;
143
+ let scratchUint32Array;
144
+ let scratchUint8Array;
145
+ if (Transforms.FeatureDetection.supportsTypedArrays()) {
146
+ scratchArrayBuffer = new ArrayBuffer(4);
147
+ scratchUint32Array = new Uint32Array(scratchArrayBuffer);
148
+ scratchUint8Array = new Uint8Array(scratchArrayBuffer);
149
+ }
150
+
151
+ /**
152
+ * Creates a new Color from a single numeric unsigned 32-bit RGBA value, using the endianness
153
+ * of the system.
154
+ *
155
+ * @param {Number} rgba A single numeric unsigned 32-bit RGBA value.
156
+ * @param {Color} [result] The object to store the result in, if undefined a new instance will be created.
157
+ * @returns {Color} The color object.
158
+ *
159
+ * @example
160
+ * const color = Cesium.Color.fromRgba(0x67ADDFFF);
161
+ *
162
+ * @see Color#toRgba
163
+ */
164
+ Color.fromRgba = function (rgba, result) {
165
+ // scratchUint32Array and scratchUint8Array share an underlying array buffer
166
+ scratchUint32Array[0] = rgba;
167
+ return Color.fromBytes(
168
+ scratchUint8Array[0],
169
+ scratchUint8Array[1],
170
+ scratchUint8Array[2],
171
+ scratchUint8Array[3],
172
+ result
173
+ );
174
+ };
175
+
176
+ /**
177
+ * Creates a Color instance from hue, saturation, and lightness.
178
+ *
179
+ * @param {Number} [hue=0] The hue angle 0...1
180
+ * @param {Number} [saturation=0] The saturation value 0...1
181
+ * @param {Number} [lightness=0] The lightness value 0...1
182
+ * @param {Number} [alpha=1.0] The alpha component 0...1
183
+ * @param {Color} [result] The object to store the result in, if undefined a new instance will be created.
184
+ * @returns {Color} The color object.
185
+ *
186
+ * @see {@link http://www.w3.org/TR/css3-color/#hsl-color|CSS color values}
187
+ */
188
+ Color.fromHsl = function (hue, saturation, lightness, alpha, result) {
189
+ hue = defaultValue.defaultValue(hue, 0.0) % 1.0;
190
+ saturation = defaultValue.defaultValue(saturation, 0.0);
191
+ lightness = defaultValue.defaultValue(lightness, 0.0);
192
+ alpha = defaultValue.defaultValue(alpha, 1.0);
193
+
194
+ let red = lightness;
195
+ let green = lightness;
196
+ let blue = lightness;
197
+
198
+ if (saturation !== 0) {
199
+ let m2;
200
+ if (lightness < 0.5) {
201
+ m2 = lightness * (1 + saturation);
202
+ } else {
203
+ m2 = lightness + saturation - lightness * saturation;
204
+ }
205
+
206
+ const m1 = 2.0 * lightness - m2;
207
+ red = hue2rgb(m1, m2, hue + 1 / 3);
208
+ green = hue2rgb(m1, m2, hue);
209
+ blue = hue2rgb(m1, m2, hue - 1 / 3);
210
+ }
211
+
212
+ if (!defaultValue.defined(result)) {
213
+ return new Color(red, green, blue, alpha);
214
+ }
215
+
216
+ result.red = red;
217
+ result.green = green;
218
+ result.blue = blue;
219
+ result.alpha = alpha;
220
+ return result;
221
+ };
222
+
223
+ /**
224
+ * Creates a random color using the provided options. For reproducible random colors, you should
225
+ * call {@link CesiumMath#setRandomNumberSeed} once at the beginning of your application.
226
+ *
227
+ * @param {Object} [options] Object with the following properties:
228
+ * @param {Number} [options.red] If specified, the red component to use instead of a randomized value.
229
+ * @param {Number} [options.minimumRed=0.0] The maximum red value to generate if none was specified.
230
+ * @param {Number} [options.maximumRed=1.0] The minimum red value to generate if none was specified.
231
+ * @param {Number} [options.green] If specified, the green component to use instead of a randomized value.
232
+ * @param {Number} [options.minimumGreen=0.0] The maximum green value to generate if none was specified.
233
+ * @param {Number} [options.maximumGreen=1.0] The minimum green value to generate if none was specified.
234
+ * @param {Number} [options.blue] If specified, the blue component to use instead of a randomized value.
235
+ * @param {Number} [options.minimumBlue=0.0] The maximum blue value to generate if none was specified.
236
+ * @param {Number} [options.maximumBlue=1.0] The minimum blue value to generate if none was specified.
237
+ * @param {Number} [options.alpha] If specified, the alpha component to use instead of a randomized value.
238
+ * @param {Number} [options.minimumAlpha=0.0] The maximum alpha value to generate if none was specified.
239
+ * @param {Number} [options.maximumAlpha=1.0] The minimum alpha value to generate if none was specified.
240
+ * @param {Color} [result] The object to store the result in, if undefined a new instance will be created.
241
+ * @returns {Color} The modified result parameter or a new instance if result was undefined.
242
+ *
243
+ * @exception {DeveloperError} minimumRed must be less than or equal to maximumRed.
244
+ * @exception {DeveloperError} minimumGreen must be less than or equal to maximumGreen.
245
+ * @exception {DeveloperError} minimumBlue must be less than or equal to maximumBlue.
246
+ * @exception {DeveloperError} minimumAlpha must be less than or equal to maximumAlpha.
247
+ *
248
+ * @example
249
+ * //Create a completely random color
250
+ * const color = Cesium.Color.fromRandom();
251
+ *
252
+ * //Create a random shade of yellow.
253
+ * const color1 = Cesium.Color.fromRandom({
254
+ * red : 1.0,
255
+ * green : 1.0,
256
+ * alpha : 1.0
257
+ * });
258
+ *
259
+ * //Create a random bright color.
260
+ * const color2 = Cesium.Color.fromRandom({
261
+ * minimumRed : 0.75,
262
+ * minimumGreen : 0.75,
263
+ * minimumBlue : 0.75,
264
+ * alpha : 1.0
265
+ * });
266
+ */
267
+ Color.fromRandom = function (options, result) {
268
+ options = defaultValue.defaultValue(options, defaultValue.defaultValue.EMPTY_OBJECT);
269
+
270
+ let red = options.red;
271
+ if (!defaultValue.defined(red)) {
272
+ const minimumRed = defaultValue.defaultValue(options.minimumRed, 0);
273
+ const maximumRed = defaultValue.defaultValue(options.maximumRed, 1.0);
274
+
275
+ //>>includeStart('debug', pragmas.debug);
276
+ Check.Check.typeOf.number.lessThanOrEquals("minimumRed", minimumRed, maximumRed);
277
+ //>>includeEnd('debug');
278
+
279
+ red =
280
+ minimumRed + Math$1.CesiumMath.nextRandomNumber() * (maximumRed - minimumRed);
281
+ }
282
+
283
+ let green = options.green;
284
+ if (!defaultValue.defined(green)) {
285
+ const minimumGreen = defaultValue.defaultValue(options.minimumGreen, 0);
286
+ const maximumGreen = defaultValue.defaultValue(options.maximumGreen, 1.0);
287
+
288
+ //>>includeStart('debug', pragmas.debug);
289
+ Check.Check.typeOf.number.lessThanOrEquals(
290
+ "minimumGreen",
291
+ minimumGreen,
292
+ maximumGreen
293
+ );
294
+ //>>includeEnd('debug');
295
+ green =
296
+ minimumGreen +
297
+ Math$1.CesiumMath.nextRandomNumber() * (maximumGreen - minimumGreen);
298
+ }
299
+
300
+ let blue = options.blue;
301
+ if (!defaultValue.defined(blue)) {
302
+ const minimumBlue = defaultValue.defaultValue(options.minimumBlue, 0);
303
+ const maximumBlue = defaultValue.defaultValue(options.maximumBlue, 1.0);
304
+
305
+ //>>includeStart('debug', pragmas.debug);
306
+ Check.Check.typeOf.number.lessThanOrEquals(
307
+ "minimumBlue",
308
+ minimumBlue,
309
+ maximumBlue
310
+ );
311
+ //>>includeEnd('debug');
312
+
313
+ blue =
314
+ minimumBlue + Math$1.CesiumMath.nextRandomNumber() * (maximumBlue - minimumBlue);
315
+ }
316
+
317
+ let alpha = options.alpha;
318
+ if (!defaultValue.defined(alpha)) {
319
+ const minimumAlpha = defaultValue.defaultValue(options.minimumAlpha, 0);
320
+ const maximumAlpha = defaultValue.defaultValue(options.maximumAlpha, 1.0);
321
+
322
+ //>>includeStart('debug', pragmas.debug);
323
+ Check.Check.typeOf.number.lessThanOrEquals(
324
+ "minumumAlpha",
325
+ minimumAlpha,
326
+ maximumAlpha
327
+ );
328
+ //>>includeEnd('debug');
329
+
330
+ alpha =
331
+ minimumAlpha +
332
+ Math$1.CesiumMath.nextRandomNumber() * (maximumAlpha - minimumAlpha);
333
+ }
334
+
335
+ if (!defaultValue.defined(result)) {
336
+ return new Color(red, green, blue, alpha);
337
+ }
338
+
339
+ result.red = red;
340
+ result.green = green;
341
+ result.blue = blue;
342
+ result.alpha = alpha;
343
+ return result;
344
+ };
345
+
346
+ //#rgba
347
+ const rgbaMatcher = /^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i;
348
+ //#rrggbbaa
349
+ const rrggbbaaMatcher = /^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i;
350
+ //rgb(), rgba(), or rgb%()
351
+ const rgbParenthesesMatcher = /^rgba?\(\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)(?:\s*,\s*([0-9.]+))?\s*\)$/i;
352
+ //hsl() or hsla()
353
+ const hslParenthesesMatcher = /^hsla?\(\s*([0-9.]+)\s*,\s*([0-9.]+%)\s*,\s*([0-9.]+%)(?:\s*,\s*([0-9.]+))?\s*\)$/i;
354
+
355
+ /**
356
+ * Creates a Color instance from a CSS color value.
357
+ *
358
+ * @param {String} color The CSS color value in #rgb, #rgba, #rrggbb, #rrggbbaa, rgb(), rgba(), hsl(), or hsla() format.
359
+ * @param {Color} [result] The object to store the result in, if undefined a new instance will be created.
360
+ * @returns {Color} The color object, or undefined if the string was not a valid CSS color.
361
+ *
362
+ *
363
+ * @example
364
+ * const cesiumBlue = Cesium.Color.fromCssColorString('#67ADDF');
365
+ * const green = Cesium.Color.fromCssColorString('green');
366
+ *
367
+ * @see {@link http://www.w3.org/TR/css3-color|CSS color values}
368
+ */
369
+ Color.fromCssColorString = function (color, result) {
370
+ //>>includeStart('debug', pragmas.debug);
371
+ Check.Check.typeOf.string("color", color);
372
+ //>>includeEnd('debug');
373
+
374
+ if (!defaultValue.defined(result)) {
375
+ result = new Color();
376
+ }
377
+
378
+ // Remove all whitespaces from the color string
379
+ color = color.replace(/\s/g, "");
380
+
381
+ const namedColor = Color[color.toUpperCase()];
382
+ if (defaultValue.defined(namedColor)) {
383
+ Color.clone(namedColor, result);
384
+ return result;
385
+ }
386
+
387
+ let matches = rgbaMatcher.exec(color);
388
+ if (matches !== null) {
389
+ result.red = parseInt(matches[1], 16) / 15;
390
+ result.green = parseInt(matches[2], 16) / 15.0;
391
+ result.blue = parseInt(matches[3], 16) / 15.0;
392
+ result.alpha = parseInt(defaultValue.defaultValue(matches[4], "f"), 16) / 15.0;
393
+ return result;
394
+ }
395
+
396
+ matches = rrggbbaaMatcher.exec(color);
397
+ if (matches !== null) {
398
+ result.red = parseInt(matches[1], 16) / 255.0;
399
+ result.green = parseInt(matches[2], 16) / 255.0;
400
+ result.blue = parseInt(matches[3], 16) / 255.0;
401
+ result.alpha = parseInt(defaultValue.defaultValue(matches[4], "ff"), 16) / 255.0;
402
+ return result;
403
+ }
404
+
405
+ matches = rgbParenthesesMatcher.exec(color);
406
+ if (matches !== null) {
407
+ result.red =
408
+ parseFloat(matches[1]) / ("%" === matches[1].substr(-1) ? 100.0 : 255.0);
409
+ result.green =
410
+ parseFloat(matches[2]) / ("%" === matches[2].substr(-1) ? 100.0 : 255.0);
411
+ result.blue =
412
+ parseFloat(matches[3]) / ("%" === matches[3].substr(-1) ? 100.0 : 255.0);
413
+ result.alpha = parseFloat(defaultValue.defaultValue(matches[4], "1.0"));
414
+ return result;
415
+ }
416
+
417
+ matches = hslParenthesesMatcher.exec(color);
418
+ if (matches !== null) {
419
+ return Color.fromHsl(
420
+ parseFloat(matches[1]) / 360.0,
421
+ parseFloat(matches[2]) / 100.0,
422
+ parseFloat(matches[3]) / 100.0,
423
+ parseFloat(defaultValue.defaultValue(matches[4], "1.0")),
424
+ result
425
+ );
426
+ }
427
+
428
+ result = undefined;
429
+ return result;
430
+ };
431
+
432
+ /**
433
+ * The number of elements used to pack the object into an array.
434
+ * @type {Number}
435
+ */
436
+ Color.packedLength = 4;
437
+
438
+ /**
439
+ * Stores the provided instance into the provided array.
440
+ *
441
+ * @param {Color} value The value to pack.
442
+ * @param {Number[]} array The array to pack into.
443
+ * @param {Number} [startingIndex=0] The index into the array at which to start packing the elements.
444
+ *
445
+ * @returns {Number[]} The array that was packed into
446
+ */
447
+ Color.pack = function (value, array, startingIndex) {
448
+ //>>includeStart('debug', pragmas.debug);
449
+ Check.Check.typeOf.object("value", value);
450
+ Check.Check.defined("array", array);
451
+ //>>includeEnd('debug');
452
+
453
+ startingIndex = defaultValue.defaultValue(startingIndex, 0);
454
+ array[startingIndex++] = value.red;
455
+ array[startingIndex++] = value.green;
456
+ array[startingIndex++] = value.blue;
457
+ array[startingIndex] = value.alpha;
458
+
459
+ return array;
460
+ };
461
+
462
+ /**
463
+ * Retrieves an instance from a packed array.
464
+ *
465
+ * @param {Number[]} array The packed array.
466
+ * @param {Number} [startingIndex=0] The starting index of the element to be unpacked.
467
+ * @param {Color} [result] The object into which to store the result.
468
+ * @returns {Color} The modified result parameter or a new Color instance if one was not provided.
469
+ */
470
+ Color.unpack = function (array, startingIndex, result) {
471
+ //>>includeStart('debug', pragmas.debug);
472
+ Check.Check.defined("array", array);
473
+ //>>includeEnd('debug');
474
+
475
+ startingIndex = defaultValue.defaultValue(startingIndex, 0);
476
+ if (!defaultValue.defined(result)) {
477
+ result = new Color();
478
+ }
479
+ result.red = array[startingIndex++];
480
+ result.green = array[startingIndex++];
481
+ result.blue = array[startingIndex++];
482
+ result.alpha = array[startingIndex];
483
+ return result;
484
+ };
485
+
486
+ /**
487
+ * Converts a 'byte' color component in the range of 0 to 255 into
488
+ * a 'float' color component in the range of 0 to 1.0.
489
+ *
490
+ * @param {Number} number The number to be converted.
491
+ * @returns {Number} The converted number.
492
+ */
493
+ Color.byteToFloat = function (number) {
494
+ return number / 255.0;
495
+ };
496
+
497
+ /**
498
+ * Converts a 'float' color component in the range of 0 to 1.0 into
499
+ * a 'byte' color component in the range of 0 to 255.
500
+ *
501
+ * @param {Number} number The number to be converted.
502
+ * @returns {Number} The converted number.
503
+ */
504
+ Color.floatToByte = function (number) {
505
+ return number === 1.0 ? 255.0 : (number * 256.0) | 0;
506
+ };
507
+
508
+ /**
509
+ * Duplicates a Color.
510
+ *
511
+ * @param {Color} color The Color to duplicate.
512
+ * @param {Color} [result] The object to store the result in, if undefined a new instance will be created.
513
+ * @returns {Color} The modified result parameter or a new instance if result was undefined. (Returns undefined if color is undefined)
514
+ */
515
+ Color.clone = function (color, result) {
516
+ if (!defaultValue.defined(color)) {
517
+ return undefined;
518
+ }
519
+ if (!defaultValue.defined(result)) {
520
+ return new Color(color.red, color.green, color.blue, color.alpha);
521
+ }
522
+ result.red = color.red;
523
+ result.green = color.green;
524
+ result.blue = color.blue;
525
+ result.alpha = color.alpha;
526
+ return result;
527
+ };
528
+
529
+ /**
530
+ * Returns true if the first Color equals the second color.
531
+ *
532
+ * @param {Color} left The first Color to compare for equality.
533
+ * @param {Color} right The second Color to compare for equality.
534
+ * @returns {Boolean} <code>true</code> if the Colors are equal; otherwise, <code>false</code>.
535
+ */
536
+ Color.equals = function (left, right) {
537
+ return (
538
+ left === right || //
539
+ (defaultValue.defined(left) && //
540
+ defaultValue.defined(right) && //
541
+ left.red === right.red && //
542
+ left.green === right.green && //
543
+ left.blue === right.blue && //
544
+ left.alpha === right.alpha)
545
+ );
546
+ };
547
+
548
+ /**
549
+ * @private
550
+ */
551
+ Color.equalsArray = function (color, array, offset) {
552
+ return (
553
+ color.red === array[offset] &&
554
+ color.green === array[offset + 1] &&
555
+ color.blue === array[offset + 2] &&
556
+ color.alpha === array[offset + 3]
557
+ );
558
+ };
559
+
560
+ /**
561
+ * Returns a duplicate of a Color instance.
562
+ *
563
+ * @param {Color} [result] The object to store the result in, if undefined a new instance will be created.
564
+ * @returns {Color} The modified result parameter or a new instance if result was undefined.
565
+ */
566
+ Color.prototype.clone = function (result) {
567
+ return Color.clone(this, result);
568
+ };
569
+
570
+ /**
571
+ * Returns true if this Color equals other.
572
+ *
573
+ * @param {Color} other The Color to compare for equality.
574
+ * @returns {Boolean} <code>true</code> if the Colors are equal; otherwise, <code>false</code>.
575
+ */
576
+ Color.prototype.equals = function (other) {
577
+ return Color.equals(this, other);
578
+ };
579
+
580
+ /**
581
+ * Returns <code>true</code> if this Color equals other componentwise within the specified epsilon.
582
+ *
583
+ * @param {Color} other The Color to compare for equality.
584
+ * @param {Number} [epsilon=0.0] The epsilon to use for equality testing.
585
+ * @returns {Boolean} <code>true</code> if the Colors are equal within the specified epsilon; otherwise, <code>false</code>.
586
+ */
587
+ Color.prototype.equalsEpsilon = function (other, epsilon) {
588
+ return (
589
+ this === other || //
590
+ (defaultValue.defined(other) && //
591
+ Math.abs(this.red - other.red) <= epsilon && //
592
+ Math.abs(this.green - other.green) <= epsilon && //
593
+ Math.abs(this.blue - other.blue) <= epsilon && //
594
+ Math.abs(this.alpha - other.alpha) <= epsilon)
595
+ );
596
+ };
597
+
598
+ /**
599
+ * Creates a string representing this Color in the format '(red, green, blue, alpha)'.
600
+ *
601
+ * @returns {String} A string representing this Color in the format '(red, green, blue, alpha)'.
602
+ */
603
+ Color.prototype.toString = function () {
604
+ return `(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;
605
+ };
606
+
607
+ /**
608
+ * Creates a string containing the CSS color value for this color.
609
+ *
610
+ * @returns {String} The CSS equivalent of this color.
611
+ *
612
+ * @see {@link http://www.w3.org/TR/css3-color/#rgba-color|CSS RGB or RGBA color values}
613
+ */
614
+ Color.prototype.toCssColorString = function () {
615
+ const red = Color.floatToByte(this.red);
616
+ const green = Color.floatToByte(this.green);
617
+ const blue = Color.floatToByte(this.blue);
618
+ if (this.alpha === 1) {
619
+ return `rgb(${red},${green},${blue})`;
620
+ }
621
+ return `rgba(${red},${green},${blue},${this.alpha})`;
622
+ };
623
+
624
+ /**
625
+ * Creates a string containing CSS hex string color value for this color.
626
+ *
627
+ * @returns {String} The CSS hex string equivalent of this color.
628
+ */
629
+ Color.prototype.toCssHexString = function () {
630
+ let r = Color.floatToByte(this.red).toString(16);
631
+ if (r.length < 2) {
632
+ r = `0${r}`;
633
+ }
634
+ let g = Color.floatToByte(this.green).toString(16);
635
+ if (g.length < 2) {
636
+ g = `0${g}`;
637
+ }
638
+ let b = Color.floatToByte(this.blue).toString(16);
639
+ if (b.length < 2) {
640
+ b = `0${b}`;
641
+ }
642
+ if (this.alpha < 1) {
643
+ let hexAlpha = Color.floatToByte(this.alpha).toString(16);
644
+ if (hexAlpha.length < 2) {
645
+ hexAlpha = `0${hexAlpha}`;
646
+ }
647
+ return `#${r}${g}${b}${hexAlpha}`;
648
+ }
649
+ return `#${r}${g}${b}`;
650
+ };
651
+
652
+ /**
653
+ * Converts this color to an array of red, green, blue, and alpha values
654
+ * that are in the range of 0 to 255.
655
+ *
656
+ * @param {Number[]} [result] The array to store the result in, if undefined a new instance will be created.
657
+ * @returns {Number[]} The modified result parameter or a new instance if result was undefined.
658
+ */
659
+ Color.prototype.toBytes = function (result) {
660
+ const red = Color.floatToByte(this.red);
661
+ const green = Color.floatToByte(this.green);
662
+ const blue = Color.floatToByte(this.blue);
663
+ const alpha = Color.floatToByte(this.alpha);
664
+
665
+ if (!defaultValue.defined(result)) {
666
+ return [red, green, blue, alpha];
667
+ }
668
+ result[0] = red;
669
+ result[1] = green;
670
+ result[2] = blue;
671
+ result[3] = alpha;
672
+ return result;
673
+ };
674
+
675
+ /**
676
+ * Converts this color to a single numeric unsigned 32-bit RGBA value, using the endianness
677
+ * of the system.
678
+ *
679
+ * @returns {Number} A single numeric unsigned 32-bit RGBA value.
680
+ *
681
+ *
682
+ * @example
683
+ * const rgba = Cesium.Color.BLUE.toRgba();
684
+ *
685
+ * @see Color.fromRgba
686
+ */
687
+ Color.prototype.toRgba = function () {
688
+ // scratchUint32Array and scratchUint8Array share an underlying array buffer
689
+ scratchUint8Array[0] = Color.floatToByte(this.red);
690
+ scratchUint8Array[1] = Color.floatToByte(this.green);
691
+ scratchUint8Array[2] = Color.floatToByte(this.blue);
692
+ scratchUint8Array[3] = Color.floatToByte(this.alpha);
693
+ return scratchUint32Array[0];
694
+ };
695
+
696
+ /**
697
+ * Brightens this color by the provided magnitude.
698
+ *
699
+ * @param {Number} magnitude A positive number indicating the amount to brighten.
700
+ * @param {Color} result The object onto which to store the result.
701
+ * @returns {Color} The modified result parameter.
702
+ *
703
+ * @example
704
+ * const brightBlue = Cesium.Color.BLUE.brighten(0.5, new Cesium.Color());
705
+ */
706
+ Color.prototype.brighten = function (magnitude, result) {
707
+ //>>includeStart('debug', pragmas.debug);
708
+ Check.Check.typeOf.number("magnitude", magnitude);
709
+ Check.Check.typeOf.number.greaterThanOrEquals("magnitude", magnitude, 0.0);
710
+ Check.Check.typeOf.object("result", result);
711
+ //>>includeEnd('debug');
712
+
713
+ magnitude = 1.0 - magnitude;
714
+ result.red = 1.0 - (1.0 - this.red) * magnitude;
715
+ result.green = 1.0 - (1.0 - this.green) * magnitude;
716
+ result.blue = 1.0 - (1.0 - this.blue) * magnitude;
717
+ result.alpha = this.alpha;
718
+ return result;
719
+ };
720
+
721
+ /**
722
+ * Darkens this color by the provided magnitude.
723
+ *
724
+ * @param {Number} magnitude A positive number indicating the amount to darken.
725
+ * @param {Color} result The object onto which to store the result.
726
+ * @returns {Color} The modified result parameter.
727
+ *
728
+ * @example
729
+ * const darkBlue = Cesium.Color.BLUE.darken(0.5, new Cesium.Color());
730
+ */
731
+ Color.prototype.darken = function (magnitude, result) {
732
+ //>>includeStart('debug', pragmas.debug);
733
+ Check.Check.typeOf.number("magnitude", magnitude);
734
+ Check.Check.typeOf.number.greaterThanOrEquals("magnitude", magnitude, 0.0);
735
+ Check.Check.typeOf.object("result", result);
736
+ //>>includeEnd('debug');
737
+
738
+ magnitude = 1.0 - magnitude;
739
+ result.red = this.red * magnitude;
740
+ result.green = this.green * magnitude;
741
+ result.blue = this.blue * magnitude;
742
+ result.alpha = this.alpha;
743
+ return result;
744
+ };
745
+
746
+ /**
747
+ * Creates a new Color that has the same red, green, and blue components
748
+ * as this Color, but with the specified alpha value.
749
+ *
750
+ * @param {Number} alpha The new alpha component.
751
+ * @param {Color} [result] The object onto which to store the result.
752
+ * @returns {Color} The modified result parameter or a new Color instance if one was not provided.
753
+ *
754
+ * @example const translucentRed = Cesium.Color.RED.withAlpha(0.9);
755
+ */
756
+ Color.prototype.withAlpha = function (alpha, result) {
757
+ return Color.fromAlpha(this, alpha, result);
758
+ };
759
+
760
+ /**
761
+ * Computes the componentwise sum of two Colors.
762
+ *
763
+ * @param {Color} left The first Color.
764
+ * @param {Color} right The second Color.
765
+ * @param {Color} result The object onto which to store the result.
766
+ * @returns {Color} The modified result parameter.
767
+ */
768
+ Color.add = function (left, right, result) {
769
+ //>>includeStart('debug', pragmas.debug);
770
+ Check.Check.typeOf.object("left", left);
771
+ Check.Check.typeOf.object("right", right);
772
+ Check.Check.typeOf.object("result", result);
773
+ //>>includeEnd('debug');
774
+
775
+ result.red = left.red + right.red;
776
+ result.green = left.green + right.green;
777
+ result.blue = left.blue + right.blue;
778
+ result.alpha = left.alpha + right.alpha;
779
+ return result;
780
+ };
781
+
782
+ /**
783
+ * Computes the componentwise difference of two Colors.
784
+ *
785
+ * @param {Color} left The first Color.
786
+ * @param {Color} right The second Color.
787
+ * @param {Color} result The object onto which to store the result.
788
+ * @returns {Color} The modified result parameter.
789
+ */
790
+ Color.subtract = function (left, right, result) {
791
+ //>>includeStart('debug', pragmas.debug);
792
+ Check.Check.typeOf.object("left", left);
793
+ Check.Check.typeOf.object("right", right);
794
+ Check.Check.typeOf.object("result", result);
795
+ //>>includeEnd('debug');
796
+
797
+ result.red = left.red - right.red;
798
+ result.green = left.green - right.green;
799
+ result.blue = left.blue - right.blue;
800
+ result.alpha = left.alpha - right.alpha;
801
+ return result;
802
+ };
803
+
804
+ /**
805
+ * Computes the componentwise product of two Colors.
806
+ *
807
+ * @param {Color} left The first Color.
808
+ * @param {Color} right The second Color.
809
+ * @param {Color} result The object onto which to store the result.
810
+ * @returns {Color} The modified result parameter.
811
+ */
812
+ Color.multiply = function (left, right, result) {
813
+ //>>includeStart('debug', pragmas.debug);
814
+ Check.Check.typeOf.object("left", left);
815
+ Check.Check.typeOf.object("right", right);
816
+ Check.Check.typeOf.object("result", result);
817
+ //>>includeEnd('debug');
818
+
819
+ result.red = left.red * right.red;
820
+ result.green = left.green * right.green;
821
+ result.blue = left.blue * right.blue;
822
+ result.alpha = left.alpha * right.alpha;
823
+ return result;
824
+ };
825
+
826
+ /**
827
+ * Computes the componentwise quotient of two Colors.
828
+ *
829
+ * @param {Color} left The first Color.
830
+ * @param {Color} right The second Color.
831
+ * @param {Color} result The object onto which to store the result.
832
+ * @returns {Color} The modified result parameter.
833
+ */
834
+ Color.divide = function (left, right, result) {
835
+ //>>includeStart('debug', pragmas.debug);
836
+ Check.Check.typeOf.object("left", left);
837
+ Check.Check.typeOf.object("right", right);
838
+ Check.Check.typeOf.object("result", result);
839
+ //>>includeEnd('debug');
840
+
841
+ result.red = left.red / right.red;
842
+ result.green = left.green / right.green;
843
+ result.blue = left.blue / right.blue;
844
+ result.alpha = left.alpha / right.alpha;
845
+ return result;
846
+ };
847
+
848
+ /**
849
+ * Computes the componentwise modulus of two Colors.
850
+ *
851
+ * @param {Color} left The first Color.
852
+ * @param {Color} right The second Color.
853
+ * @param {Color} result The object onto which to store the result.
854
+ * @returns {Color} The modified result parameter.
855
+ */
856
+ Color.mod = function (left, right, result) {
857
+ //>>includeStart('debug', pragmas.debug);
858
+ Check.Check.typeOf.object("left", left);
859
+ Check.Check.typeOf.object("right", right);
860
+ Check.Check.typeOf.object("result", result);
861
+ //>>includeEnd('debug');
862
+
863
+ result.red = left.red % right.red;
864
+ result.green = left.green % right.green;
865
+ result.blue = left.blue % right.blue;
866
+ result.alpha = left.alpha % right.alpha;
867
+ return result;
868
+ };
869
+
870
+ /**
871
+ * Computes the linear interpolation or extrapolation at t between the provided colors.
872
+ *
873
+ * @param {Color} start The color corresponding to t at 0.0.
874
+ * @param {Color} end The color corresponding to t at 1.0.
875
+ * @param {Number} t The point along t at which to interpolate.
876
+ * @param {Color} result The object onto which to store the result.
877
+ * @returns {Color} The modified result parameter.
878
+ */
879
+ Color.lerp = function (start, end, t, result) {
880
+ //>>includeStart('debug', pragmas.debug);
881
+ Check.Check.typeOf.object("start", start);
882
+ Check.Check.typeOf.object("end", end);
883
+ Check.Check.typeOf.number("t", t);
884
+ Check.Check.typeOf.object("result", result);
885
+ //>>includeEnd('debug');
886
+
887
+ result.red = Math$1.CesiumMath.lerp(start.red, end.red, t);
888
+ result.green = Math$1.CesiumMath.lerp(start.green, end.green, t);
889
+ result.blue = Math$1.CesiumMath.lerp(start.blue, end.blue, t);
890
+ result.alpha = Math$1.CesiumMath.lerp(start.alpha, end.alpha, t);
891
+ return result;
892
+ };
893
+
894
+ /**
895
+ * Multiplies the provided Color componentwise by the provided scalar.
896
+ *
897
+ * @param {Color} color The Color to be scaled.
898
+ * @param {Number} scalar The scalar to multiply with.
899
+ * @param {Color} result The object onto which to store the result.
900
+ * @returns {Color} The modified result parameter.
901
+ */
902
+ Color.multiplyByScalar = function (color, scalar, result) {
903
+ //>>includeStart('debug', pragmas.debug);
904
+ Check.Check.typeOf.object("color", color);
905
+ Check.Check.typeOf.number("scalar", scalar);
906
+ Check.Check.typeOf.object("result", result);
907
+ //>>includeEnd('debug');
908
+
909
+ result.red = color.red * scalar;
910
+ result.green = color.green * scalar;
911
+ result.blue = color.blue * scalar;
912
+ result.alpha = color.alpha * scalar;
913
+ return result;
914
+ };
915
+
916
+ /**
917
+ * Divides the provided Color componentwise by the provided scalar.
918
+ *
919
+ * @param {Color} color The Color to be divided.
920
+ * @param {Number} scalar The scalar to divide with.
921
+ * @param {Color} result The object onto which to store the result.
922
+ * @returns {Color} The modified result parameter.
923
+ */
924
+ Color.divideByScalar = function (color, scalar, result) {
925
+ //>>includeStart('debug', pragmas.debug);
926
+ Check.Check.typeOf.object("color", color);
927
+ Check.Check.typeOf.number("scalar", scalar);
928
+ Check.Check.typeOf.object("result", result);
929
+ //>>includeEnd('debug');
930
+
931
+ result.red = color.red / scalar;
932
+ result.green = color.green / scalar;
933
+ result.blue = color.blue / scalar;
934
+ result.alpha = color.alpha / scalar;
935
+ return result;
936
+ };
937
+
938
+ /**
939
+ * An immutable Color instance initialized to CSS color #F0F8FF
940
+ * <span class="colorSwath" style="background: #F0F8FF;"></span>
941
+ *
942
+ * @constant
943
+ * @type {Color}
944
+ */
945
+ Color.ALICEBLUE = Object.freeze(Color.fromCssColorString("#F0F8FF"));
946
+
947
+ /**
948
+ * An immutable Color instance initialized to CSS color #FAEBD7
949
+ * <span class="colorSwath" style="background: #FAEBD7;"></span>
950
+ *
951
+ * @constant
952
+ * @type {Color}
953
+ */
954
+ Color.ANTIQUEWHITE = Object.freeze(Color.fromCssColorString("#FAEBD7"));
955
+
956
+ /**
957
+ * An immutable Color instance initialized to CSS color #00FFFF
958
+ * <span class="colorSwath" style="background: #00FFFF;"></span>
959
+ *
960
+ * @constant
961
+ * @type {Color}
962
+ */
963
+ Color.AQUA = Object.freeze(Color.fromCssColorString("#00FFFF"));
964
+
965
+ /**
966
+ * An immutable Color instance initialized to CSS color #7FFFD4
967
+ * <span class="colorSwath" style="background: #7FFFD4;"></span>
968
+ *
969
+ * @constant
970
+ * @type {Color}
971
+ */
972
+ Color.AQUAMARINE = Object.freeze(Color.fromCssColorString("#7FFFD4"));
973
+
974
+ /**
975
+ * An immutable Color instance initialized to CSS color #F0FFFF
976
+ * <span class="colorSwath" style="background: #F0FFFF;"></span>
977
+ *
978
+ * @constant
979
+ * @type {Color}
980
+ */
981
+ Color.AZURE = Object.freeze(Color.fromCssColorString("#F0FFFF"));
982
+
983
+ /**
984
+ * An immutable Color instance initialized to CSS color #F5F5DC
985
+ * <span class="colorSwath" style="background: #F5F5DC;"></span>
986
+ *
987
+ * @constant
988
+ * @type {Color}
989
+ */
990
+ Color.BEIGE = Object.freeze(Color.fromCssColorString("#F5F5DC"));
991
+
992
+ /**
993
+ * An immutable Color instance initialized to CSS color #FFE4C4
994
+ * <span class="colorSwath" style="background: #FFE4C4;"></span>
995
+ *
996
+ * @constant
997
+ * @type {Color}
998
+ */
999
+ Color.BISQUE = Object.freeze(Color.fromCssColorString("#FFE4C4"));
1000
+
1001
+ /**
1002
+ * An immutable Color instance initialized to CSS color #000000
1003
+ * <span class="colorSwath" style="background: #000000;"></span>
1004
+ *
1005
+ * @constant
1006
+ * @type {Color}
1007
+ */
1008
+ Color.BLACK = Object.freeze(Color.fromCssColorString("#000000"));
1009
+
1010
+ /**
1011
+ * An immutable Color instance initialized to CSS color #FFEBCD
1012
+ * <span class="colorSwath" style="background: #FFEBCD;"></span>
1013
+ *
1014
+ * @constant
1015
+ * @type {Color}
1016
+ */
1017
+ Color.BLANCHEDALMOND = Object.freeze(Color.fromCssColorString("#FFEBCD"));
1018
+
1019
+ /**
1020
+ * An immutable Color instance initialized to CSS color #0000FF
1021
+ * <span class="colorSwath" style="background: #0000FF;"></span>
1022
+ *
1023
+ * @constant
1024
+ * @type {Color}
1025
+ */
1026
+ Color.BLUE = Object.freeze(Color.fromCssColorString("#0000FF"));
1027
+
1028
+ /**
1029
+ * An immutable Color instance initialized to CSS color #8A2BE2
1030
+ * <span class="colorSwath" style="background: #8A2BE2;"></span>
1031
+ *
1032
+ * @constant
1033
+ * @type {Color}
1034
+ */
1035
+ Color.BLUEVIOLET = Object.freeze(Color.fromCssColorString("#8A2BE2"));
1036
+
1037
+ /**
1038
+ * An immutable Color instance initialized to CSS color #A52A2A
1039
+ * <span class="colorSwath" style="background: #A52A2A;"></span>
1040
+ *
1041
+ * @constant
1042
+ * @type {Color}
1043
+ */
1044
+ Color.BROWN = Object.freeze(Color.fromCssColorString("#A52A2A"));
1045
+
1046
+ /**
1047
+ * An immutable Color instance initialized to CSS color #DEB887
1048
+ * <span class="colorSwath" style="background: #DEB887;"></span>
1049
+ *
1050
+ * @constant
1051
+ * @type {Color}
1052
+ */
1053
+ Color.BURLYWOOD = Object.freeze(Color.fromCssColorString("#DEB887"));
1054
+
1055
+ /**
1056
+ * An immutable Color instance initialized to CSS color #5F9EA0
1057
+ * <span class="colorSwath" style="background: #5F9EA0;"></span>
1058
+ *
1059
+ * @constant
1060
+ * @type {Color}
1061
+ */
1062
+ Color.CADETBLUE = Object.freeze(Color.fromCssColorString("#5F9EA0"));
1063
+ /**
1064
+ * An immutable Color instance initialized to CSS color #7FFF00
1065
+ * <span class="colorSwath" style="background: #7FFF00;"></span>
1066
+ *
1067
+ * @constant
1068
+ * @type {Color}
1069
+ */
1070
+ Color.CHARTREUSE = Object.freeze(Color.fromCssColorString("#7FFF00"));
1071
+
1072
+ /**
1073
+ * An immutable Color instance initialized to CSS color #D2691E
1074
+ * <span class="colorSwath" style="background: #D2691E;"></span>
1075
+ *
1076
+ * @constant
1077
+ * @type {Color}
1078
+ */
1079
+ Color.CHOCOLATE = Object.freeze(Color.fromCssColorString("#D2691E"));
1080
+
1081
+ /**
1082
+ * An immutable Color instance initialized to CSS color #FF7F50
1083
+ * <span class="colorSwath" style="background: #FF7F50;"></span>
1084
+ *
1085
+ * @constant
1086
+ * @type {Color}
1087
+ */
1088
+ Color.CORAL = Object.freeze(Color.fromCssColorString("#FF7F50"));
1089
+
1090
+ /**
1091
+ * An immutable Color instance initialized to CSS color #6495ED
1092
+ * <span class="colorSwath" style="background: #6495ED;"></span>
1093
+ *
1094
+ * @constant
1095
+ * @type {Color}
1096
+ */
1097
+ Color.CORNFLOWERBLUE = Object.freeze(Color.fromCssColorString("#6495ED"));
1098
+
1099
+ /**
1100
+ * An immutable Color instance initialized to CSS color #FFF8DC
1101
+ * <span class="colorSwath" style="background: #FFF8DC;"></span>
1102
+ *
1103
+ * @constant
1104
+ * @type {Color}
1105
+ */
1106
+ Color.CORNSILK = Object.freeze(Color.fromCssColorString("#FFF8DC"));
1107
+
1108
+ /**
1109
+ * An immutable Color instance initialized to CSS color #DC143C
1110
+ * <span class="colorSwath" style="background: #DC143C;"></span>
1111
+ *
1112
+ * @constant
1113
+ * @type {Color}
1114
+ */
1115
+ Color.CRIMSON = Object.freeze(Color.fromCssColorString("#DC143C"));
1116
+
1117
+ /**
1118
+ * An immutable Color instance initialized to CSS color #00FFFF
1119
+ * <span class="colorSwath" style="background: #00FFFF;"></span>
1120
+ *
1121
+ * @constant
1122
+ * @type {Color}
1123
+ */
1124
+ Color.CYAN = Object.freeze(Color.fromCssColorString("#00FFFF"));
1125
+
1126
+ /**
1127
+ * An immutable Color instance initialized to CSS color #00008B
1128
+ * <span class="colorSwath" style="background: #00008B;"></span>
1129
+ *
1130
+ * @constant
1131
+ * @type {Color}
1132
+ */
1133
+ Color.DARKBLUE = Object.freeze(Color.fromCssColorString("#00008B"));
1134
+
1135
+ /**
1136
+ * An immutable Color instance initialized to CSS color #008B8B
1137
+ * <span class="colorSwath" style="background: #008B8B;"></span>
1138
+ *
1139
+ * @constant
1140
+ * @type {Color}
1141
+ */
1142
+ Color.DARKCYAN = Object.freeze(Color.fromCssColorString("#008B8B"));
1143
+
1144
+ /**
1145
+ * An immutable Color instance initialized to CSS color #B8860B
1146
+ * <span class="colorSwath" style="background: #B8860B;"></span>
1147
+ *
1148
+ * @constant
1149
+ * @type {Color}
1150
+ */
1151
+ Color.DARKGOLDENROD = Object.freeze(Color.fromCssColorString("#B8860B"));
1152
+
1153
+ /**
1154
+ * An immutable Color instance initialized to CSS color #A9A9A9
1155
+ * <span class="colorSwath" style="background: #A9A9A9;"></span>
1156
+ *
1157
+ * @constant
1158
+ * @type {Color}
1159
+ */
1160
+ Color.DARKGRAY = Object.freeze(Color.fromCssColorString("#A9A9A9"));
1161
+
1162
+ /**
1163
+ * An immutable Color instance initialized to CSS color #006400
1164
+ * <span class="colorSwath" style="background: #006400;"></span>
1165
+ *
1166
+ * @constant
1167
+ * @type {Color}
1168
+ */
1169
+ Color.DARKGREEN = Object.freeze(Color.fromCssColorString("#006400"));
1170
+
1171
+ /**
1172
+ * An immutable Color instance initialized to CSS color #A9A9A9
1173
+ * <span class="colorSwath" style="background: #A9A9A9;"></span>
1174
+ *
1175
+ * @constant
1176
+ * @type {Color}
1177
+ */
1178
+ Color.DARKGREY = Color.DARKGRAY;
1179
+
1180
+ /**
1181
+ * An immutable Color instance initialized to CSS color #BDB76B
1182
+ * <span class="colorSwath" style="background: #BDB76B;"></span>
1183
+ *
1184
+ * @constant
1185
+ * @type {Color}
1186
+ */
1187
+ Color.DARKKHAKI = Object.freeze(Color.fromCssColorString("#BDB76B"));
1188
+
1189
+ /**
1190
+ * An immutable Color instance initialized to CSS color #8B008B
1191
+ * <span class="colorSwath" style="background: #8B008B;"></span>
1192
+ *
1193
+ * @constant
1194
+ * @type {Color}
1195
+ */
1196
+ Color.DARKMAGENTA = Object.freeze(Color.fromCssColorString("#8B008B"));
1197
+
1198
+ /**
1199
+ * An immutable Color instance initialized to CSS color #556B2F
1200
+ * <span class="colorSwath" style="background: #556B2F;"></span>
1201
+ *
1202
+ * @constant
1203
+ * @type {Color}
1204
+ */
1205
+ Color.DARKOLIVEGREEN = Object.freeze(Color.fromCssColorString("#556B2F"));
1206
+
1207
+ /**
1208
+ * An immutable Color instance initialized to CSS color #FF8C00
1209
+ * <span class="colorSwath" style="background: #FF8C00;"></span>
1210
+ *
1211
+ * @constant
1212
+ * @type {Color}
1213
+ */
1214
+ Color.DARKORANGE = Object.freeze(Color.fromCssColorString("#FF8C00"));
1215
+
1216
+ /**
1217
+ * An immutable Color instance initialized to CSS color #9932CC
1218
+ * <span class="colorSwath" style="background: #9932CC;"></span>
1219
+ *
1220
+ * @constant
1221
+ * @type {Color}
1222
+ */
1223
+ Color.DARKORCHID = Object.freeze(Color.fromCssColorString("#9932CC"));
1224
+
1225
+ /**
1226
+ * An immutable Color instance initialized to CSS color #8B0000
1227
+ * <span class="colorSwath" style="background: #8B0000;"></span>
1228
+ *
1229
+ * @constant
1230
+ * @type {Color}
1231
+ */
1232
+ Color.DARKRED = Object.freeze(Color.fromCssColorString("#8B0000"));
1233
+
1234
+ /**
1235
+ * An immutable Color instance initialized to CSS color #E9967A
1236
+ * <span class="colorSwath" style="background: #E9967A;"></span>
1237
+ *
1238
+ * @constant
1239
+ * @type {Color}
1240
+ */
1241
+ Color.DARKSALMON = Object.freeze(Color.fromCssColorString("#E9967A"));
1242
+
1243
+ /**
1244
+ * An immutable Color instance initialized to CSS color #8FBC8F
1245
+ * <span class="colorSwath" style="background: #8FBC8F;"></span>
1246
+ *
1247
+ * @constant
1248
+ * @type {Color}
1249
+ */
1250
+ Color.DARKSEAGREEN = Object.freeze(Color.fromCssColorString("#8FBC8F"));
1251
+
1252
+ /**
1253
+ * An immutable Color instance initialized to CSS color #483D8B
1254
+ * <span class="colorSwath" style="background: #483D8B;"></span>
1255
+ *
1256
+ * @constant
1257
+ * @type {Color}
1258
+ */
1259
+ Color.DARKSLATEBLUE = Object.freeze(Color.fromCssColorString("#483D8B"));
1260
+
1261
+ /**
1262
+ * An immutable Color instance initialized to CSS color #2F4F4F
1263
+ * <span class="colorSwath" style="background: #2F4F4F;"></span>
1264
+ *
1265
+ * @constant
1266
+ * @type {Color}
1267
+ */
1268
+ Color.DARKSLATEGRAY = Object.freeze(Color.fromCssColorString("#2F4F4F"));
1269
+
1270
+ /**
1271
+ * An immutable Color instance initialized to CSS color #2F4F4F
1272
+ * <span class="colorSwath" style="background: #2F4F4F;"></span>
1273
+ *
1274
+ * @constant
1275
+ * @type {Color}
1276
+ */
1277
+ Color.DARKSLATEGREY = Color.DARKSLATEGRAY;
1278
+
1279
+ /**
1280
+ * An immutable Color instance initialized to CSS color #00CED1
1281
+ * <span class="colorSwath" style="background: #00CED1;"></span>
1282
+ *
1283
+ * @constant
1284
+ * @type {Color}
1285
+ */
1286
+ Color.DARKTURQUOISE = Object.freeze(Color.fromCssColorString("#00CED1"));
1287
+
1288
+ /**
1289
+ * An immutable Color instance initialized to CSS color #9400D3
1290
+ * <span class="colorSwath" style="background: #9400D3;"></span>
1291
+ *
1292
+ * @constant
1293
+ * @type {Color}
1294
+ */
1295
+ Color.DARKVIOLET = Object.freeze(Color.fromCssColorString("#9400D3"));
1296
+
1297
+ /**
1298
+ * An immutable Color instance initialized to CSS color #FF1493
1299
+ * <span class="colorSwath" style="background: #FF1493;"></span>
1300
+ *
1301
+ * @constant
1302
+ * @type {Color}
1303
+ */
1304
+ Color.DEEPPINK = Object.freeze(Color.fromCssColorString("#FF1493"));
1305
+
1306
+ /**
1307
+ * An immutable Color instance initialized to CSS color #00BFFF
1308
+ * <span class="colorSwath" style="background: #00BFFF;"></span>
1309
+ *
1310
+ * @constant
1311
+ * @type {Color}
1312
+ */
1313
+ Color.DEEPSKYBLUE = Object.freeze(Color.fromCssColorString("#00BFFF"));
1314
+
1315
+ /**
1316
+ * An immutable Color instance initialized to CSS color #696969
1317
+ * <span class="colorSwath" style="background: #696969;"></span>
1318
+ *
1319
+ * @constant
1320
+ * @type {Color}
1321
+ */
1322
+ Color.DIMGRAY = Object.freeze(Color.fromCssColorString("#696969"));
1323
+
1324
+ /**
1325
+ * An immutable Color instance initialized to CSS color #696969
1326
+ * <span class="colorSwath" style="background: #696969;"></span>
1327
+ *
1328
+ * @constant
1329
+ * @type {Color}
1330
+ */
1331
+ Color.DIMGREY = Color.DIMGRAY;
1332
+
1333
+ /**
1334
+ * An immutable Color instance initialized to CSS color #1E90FF
1335
+ * <span class="colorSwath" style="background: #1E90FF;"></span>
1336
+ *
1337
+ * @constant
1338
+ * @type {Color}
1339
+ */
1340
+ Color.DODGERBLUE = Object.freeze(Color.fromCssColorString("#1E90FF"));
1341
+
1342
+ /**
1343
+ * An immutable Color instance initialized to CSS color #B22222
1344
+ * <span class="colorSwath" style="background: #B22222;"></span>
1345
+ *
1346
+ * @constant
1347
+ * @type {Color}
1348
+ */
1349
+ Color.FIREBRICK = Object.freeze(Color.fromCssColorString("#B22222"));
1350
+
1351
+ /**
1352
+ * An immutable Color instance initialized to CSS color #FFFAF0
1353
+ * <span class="colorSwath" style="background: #FFFAF0;"></span>
1354
+ *
1355
+ * @constant
1356
+ * @type {Color}
1357
+ */
1358
+ Color.FLORALWHITE = Object.freeze(Color.fromCssColorString("#FFFAF0"));
1359
+
1360
+ /**
1361
+ * An immutable Color instance initialized to CSS color #228B22
1362
+ * <span class="colorSwath" style="background: #228B22;"></span>
1363
+ *
1364
+ * @constant
1365
+ * @type {Color}
1366
+ */
1367
+ Color.FORESTGREEN = Object.freeze(Color.fromCssColorString("#228B22"));
1368
+
1369
+ /**
1370
+ * An immutable Color instance initialized to CSS color #FF00FF
1371
+ * <span class="colorSwath" style="background: #FF00FF;"></span>
1372
+ *
1373
+ * @constant
1374
+ * @type {Color}
1375
+ */
1376
+ Color.FUCHSIA = Object.freeze(Color.fromCssColorString("#FF00FF"));
1377
+
1378
+ /**
1379
+ * An immutable Color instance initialized to CSS color #DCDCDC
1380
+ * <span class="colorSwath" style="background: #DCDCDC;"></span>
1381
+ *
1382
+ * @constant
1383
+ * @type {Color}
1384
+ */
1385
+ Color.GAINSBORO = Object.freeze(Color.fromCssColorString("#DCDCDC"));
1386
+
1387
+ /**
1388
+ * An immutable Color instance initialized to CSS color #F8F8FF
1389
+ * <span class="colorSwath" style="background: #F8F8FF;"></span>
1390
+ *
1391
+ * @constant
1392
+ * @type {Color}
1393
+ */
1394
+ Color.GHOSTWHITE = Object.freeze(Color.fromCssColorString("#F8F8FF"));
1395
+
1396
+ /**
1397
+ * An immutable Color instance initialized to CSS color #FFD700
1398
+ * <span class="colorSwath" style="background: #FFD700;"></span>
1399
+ *
1400
+ * @constant
1401
+ * @type {Color}
1402
+ */
1403
+ Color.GOLD = Object.freeze(Color.fromCssColorString("#FFD700"));
1404
+
1405
+ /**
1406
+ * An immutable Color instance initialized to CSS color #DAA520
1407
+ * <span class="colorSwath" style="background: #DAA520;"></span>
1408
+ *
1409
+ * @constant
1410
+ * @type {Color}
1411
+ */
1412
+ Color.GOLDENROD = Object.freeze(Color.fromCssColorString("#DAA520"));
1413
+
1414
+ /**
1415
+ * An immutable Color instance initialized to CSS color #808080
1416
+ * <span class="colorSwath" style="background: #808080;"></span>
1417
+ *
1418
+ * @constant
1419
+ * @type {Color}
1420
+ */
1421
+ Color.GRAY = Object.freeze(Color.fromCssColorString("#808080"));
1422
+
1423
+ /**
1424
+ * An immutable Color instance initialized to CSS color #008000
1425
+ * <span class="colorSwath" style="background: #008000;"></span>
1426
+ *
1427
+ * @constant
1428
+ * @type {Color}
1429
+ */
1430
+ Color.GREEN = Object.freeze(Color.fromCssColorString("#008000"));
1431
+
1432
+ /**
1433
+ * An immutable Color instance initialized to CSS color #ADFF2F
1434
+ * <span class="colorSwath" style="background: #ADFF2F;"></span>
1435
+ *
1436
+ * @constant
1437
+ * @type {Color}
1438
+ */
1439
+ Color.GREENYELLOW = Object.freeze(Color.fromCssColorString("#ADFF2F"));
1440
+
1441
+ /**
1442
+ * An immutable Color instance initialized to CSS color #808080
1443
+ * <span class="colorSwath" style="background: #808080;"></span>
1444
+ *
1445
+ * @constant
1446
+ * @type {Color}
1447
+ */
1448
+ Color.GREY = Color.GRAY;
1449
+
1450
+ /**
1451
+ * An immutable Color instance initialized to CSS color #F0FFF0
1452
+ * <span class="colorSwath" style="background: #F0FFF0;"></span>
1453
+ *
1454
+ * @constant
1455
+ * @type {Color}
1456
+ */
1457
+ Color.HONEYDEW = Object.freeze(Color.fromCssColorString("#F0FFF0"));
1458
+
1459
+ /**
1460
+ * An immutable Color instance initialized to CSS color #FF69B4
1461
+ * <span class="colorSwath" style="background: #FF69B4;"></span>
1462
+ *
1463
+ * @constant
1464
+ * @type {Color}
1465
+ */
1466
+ Color.HOTPINK = Object.freeze(Color.fromCssColorString("#FF69B4"));
1467
+
1468
+ /**
1469
+ * An immutable Color instance initialized to CSS color #CD5C5C
1470
+ * <span class="colorSwath" style="background: #CD5C5C;"></span>
1471
+ *
1472
+ * @constant
1473
+ * @type {Color}
1474
+ */
1475
+ Color.INDIANRED = Object.freeze(Color.fromCssColorString("#CD5C5C"));
1476
+
1477
+ /**
1478
+ * An immutable Color instance initialized to CSS color #4B0082
1479
+ * <span class="colorSwath" style="background: #4B0082;"></span>
1480
+ *
1481
+ * @constant
1482
+ * @type {Color}
1483
+ */
1484
+ Color.INDIGO = Object.freeze(Color.fromCssColorString("#4B0082"));
1485
+
1486
+ /**
1487
+ * An immutable Color instance initialized to CSS color #FFFFF0
1488
+ * <span class="colorSwath" style="background: #FFFFF0;"></span>
1489
+ *
1490
+ * @constant
1491
+ * @type {Color}
1492
+ */
1493
+ Color.IVORY = Object.freeze(Color.fromCssColorString("#FFFFF0"));
1494
+
1495
+ /**
1496
+ * An immutable Color instance initialized to CSS color #F0E68C
1497
+ * <span class="colorSwath" style="background: #F0E68C;"></span>
1498
+ *
1499
+ * @constant
1500
+ * @type {Color}
1501
+ */
1502
+ Color.KHAKI = Object.freeze(Color.fromCssColorString("#F0E68C"));
1503
+
1504
+ /**
1505
+ * An immutable Color instance initialized to CSS color #E6E6FA
1506
+ * <span class="colorSwath" style="background: #E6E6FA;"></span>
1507
+ *
1508
+ * @constant
1509
+ * @type {Color}
1510
+ */
1511
+ Color.LAVENDER = Object.freeze(Color.fromCssColorString("#E6E6FA"));
1512
+
1513
+ /**
1514
+ * An immutable Color instance initialized to CSS color #FFF0F5
1515
+ * <span class="colorSwath" style="background: #FFF0F5;"></span>
1516
+ *
1517
+ * @constant
1518
+ * @type {Color}
1519
+ */
1520
+ Color.LAVENDAR_BLUSH = Object.freeze(Color.fromCssColorString("#FFF0F5"));
1521
+
1522
+ /**
1523
+ * An immutable Color instance initialized to CSS color #7CFC00
1524
+ * <span class="colorSwath" style="background: #7CFC00;"></span>
1525
+ *
1526
+ * @constant
1527
+ * @type {Color}
1528
+ */
1529
+ Color.LAWNGREEN = Object.freeze(Color.fromCssColorString("#7CFC00"));
1530
+
1531
+ /**
1532
+ * An immutable Color instance initialized to CSS color #FFFACD
1533
+ * <span class="colorSwath" style="background: #FFFACD;"></span>
1534
+ *
1535
+ * @constant
1536
+ * @type {Color}
1537
+ */
1538
+ Color.LEMONCHIFFON = Object.freeze(Color.fromCssColorString("#FFFACD"));
1539
+
1540
+ /**
1541
+ * An immutable Color instance initialized to CSS color #ADD8E6
1542
+ * <span class="colorSwath" style="background: #ADD8E6;"></span>
1543
+ *
1544
+ * @constant
1545
+ * @type {Color}
1546
+ */
1547
+ Color.LIGHTBLUE = Object.freeze(Color.fromCssColorString("#ADD8E6"));
1548
+
1549
+ /**
1550
+ * An immutable Color instance initialized to CSS color #F08080
1551
+ * <span class="colorSwath" style="background: #F08080;"></span>
1552
+ *
1553
+ * @constant
1554
+ * @type {Color}
1555
+ */
1556
+ Color.LIGHTCORAL = Object.freeze(Color.fromCssColorString("#F08080"));
1557
+
1558
+ /**
1559
+ * An immutable Color instance initialized to CSS color #E0FFFF
1560
+ * <span class="colorSwath" style="background: #E0FFFF;"></span>
1561
+ *
1562
+ * @constant
1563
+ * @type {Color}
1564
+ */
1565
+ Color.LIGHTCYAN = Object.freeze(Color.fromCssColorString("#E0FFFF"));
1566
+
1567
+ /**
1568
+ * An immutable Color instance initialized to CSS color #FAFAD2
1569
+ * <span class="colorSwath" style="background: #FAFAD2;"></span>
1570
+ *
1571
+ * @constant
1572
+ * @type {Color}
1573
+ */
1574
+ Color.LIGHTGOLDENRODYELLOW = Object.freeze(Color.fromCssColorString("#FAFAD2"));
1575
+
1576
+ /**
1577
+ * An immutable Color instance initialized to CSS color #D3D3D3
1578
+ * <span class="colorSwath" style="background: #D3D3D3;"></span>
1579
+ *
1580
+ * @constant
1581
+ * @type {Color}
1582
+ */
1583
+ Color.LIGHTGRAY = Object.freeze(Color.fromCssColorString("#D3D3D3"));
1584
+
1585
+ /**
1586
+ * An immutable Color instance initialized to CSS color #90EE90
1587
+ * <span class="colorSwath" style="background: #90EE90;"></span>
1588
+ *
1589
+ * @constant
1590
+ * @type {Color}
1591
+ */
1592
+ Color.LIGHTGREEN = Object.freeze(Color.fromCssColorString("#90EE90"));
1593
+
1594
+ /**
1595
+ * An immutable Color instance initialized to CSS color #D3D3D3
1596
+ * <span class="colorSwath" style="background: #D3D3D3;"></span>
1597
+ *
1598
+ * @constant
1599
+ * @type {Color}
1600
+ */
1601
+ Color.LIGHTGREY = Color.LIGHTGRAY;
1602
+
1603
+ /**
1604
+ * An immutable Color instance initialized to CSS color #FFB6C1
1605
+ * <span class="colorSwath" style="background: #FFB6C1;"></span>
1606
+ *
1607
+ * @constant
1608
+ * @type {Color}
1609
+ */
1610
+ Color.LIGHTPINK = Object.freeze(Color.fromCssColorString("#FFB6C1"));
1611
+
1612
+ /**
1613
+ * An immutable Color instance initialized to CSS color #20B2AA
1614
+ * <span class="colorSwath" style="background: #20B2AA;"></span>
1615
+ *
1616
+ * @constant
1617
+ * @type {Color}
1618
+ */
1619
+ Color.LIGHTSEAGREEN = Object.freeze(Color.fromCssColorString("#20B2AA"));
1620
+
1621
+ /**
1622
+ * An immutable Color instance initialized to CSS color #87CEFA
1623
+ * <span class="colorSwath" style="background: #87CEFA;"></span>
1624
+ *
1625
+ * @constant
1626
+ * @type {Color}
1627
+ */
1628
+ Color.LIGHTSKYBLUE = Object.freeze(Color.fromCssColorString("#87CEFA"));
1629
+
1630
+ /**
1631
+ * An immutable Color instance initialized to CSS color #778899
1632
+ * <span class="colorSwath" style="background: #778899;"></span>
1633
+ *
1634
+ * @constant
1635
+ * @type {Color}
1636
+ */
1637
+ Color.LIGHTSLATEGRAY = Object.freeze(Color.fromCssColorString("#778899"));
1638
+
1639
+ /**
1640
+ * An immutable Color instance initialized to CSS color #778899
1641
+ * <span class="colorSwath" style="background: #778899;"></span>
1642
+ *
1643
+ * @constant
1644
+ * @type {Color}
1645
+ */
1646
+ Color.LIGHTSLATEGREY = Color.LIGHTSLATEGRAY;
1647
+
1648
+ /**
1649
+ * An immutable Color instance initialized to CSS color #B0C4DE
1650
+ * <span class="colorSwath" style="background: #B0C4DE;"></span>
1651
+ *
1652
+ * @constant
1653
+ * @type {Color}
1654
+ */
1655
+ Color.LIGHTSTEELBLUE = Object.freeze(Color.fromCssColorString("#B0C4DE"));
1656
+
1657
+ /**
1658
+ * An immutable Color instance initialized to CSS color #FFFFE0
1659
+ * <span class="colorSwath" style="background: #FFFFE0;"></span>
1660
+ *
1661
+ * @constant
1662
+ * @type {Color}
1663
+ */
1664
+ Color.LIGHTYELLOW = Object.freeze(Color.fromCssColorString("#FFFFE0"));
1665
+
1666
+ /**
1667
+ * An immutable Color instance initialized to CSS color #00FF00
1668
+ * <span class="colorSwath" style="background: #00FF00;"></span>
1669
+ *
1670
+ * @constant
1671
+ * @type {Color}
1672
+ */
1673
+ Color.LIME = Object.freeze(Color.fromCssColorString("#00FF00"));
1674
+
1675
+ /**
1676
+ * An immutable Color instance initialized to CSS color #32CD32
1677
+ * <span class="colorSwath" style="background: #32CD32;"></span>
1678
+ *
1679
+ * @constant
1680
+ * @type {Color}
1681
+ */
1682
+ Color.LIMEGREEN = Object.freeze(Color.fromCssColorString("#32CD32"));
1683
+
1684
+ /**
1685
+ * An immutable Color instance initialized to CSS color #FAF0E6
1686
+ * <span class="colorSwath" style="background: #FAF0E6;"></span>
1687
+ *
1688
+ * @constant
1689
+ * @type {Color}
1690
+ */
1691
+ Color.LINEN = Object.freeze(Color.fromCssColorString("#FAF0E6"));
1692
+
1693
+ /**
1694
+ * An immutable Color instance initialized to CSS color #FF00FF
1695
+ * <span class="colorSwath" style="background: #FF00FF;"></span>
1696
+ *
1697
+ * @constant
1698
+ * @type {Color}
1699
+ */
1700
+ Color.MAGENTA = Object.freeze(Color.fromCssColorString("#FF00FF"));
1701
+
1702
+ /**
1703
+ * An immutable Color instance initialized to CSS color #800000
1704
+ * <span class="colorSwath" style="background: #800000;"></span>
1705
+ *
1706
+ * @constant
1707
+ * @type {Color}
1708
+ */
1709
+ Color.MAROON = Object.freeze(Color.fromCssColorString("#800000"));
1710
+
1711
+ /**
1712
+ * An immutable Color instance initialized to CSS color #66CDAA
1713
+ * <span class="colorSwath" style="background: #66CDAA;"></span>
1714
+ *
1715
+ * @constant
1716
+ * @type {Color}
1717
+ */
1718
+ Color.MEDIUMAQUAMARINE = Object.freeze(Color.fromCssColorString("#66CDAA"));
1719
+
1720
+ /**
1721
+ * An immutable Color instance initialized to CSS color #0000CD
1722
+ * <span class="colorSwath" style="background: #0000CD;"></span>
1723
+ *
1724
+ * @constant
1725
+ * @type {Color}
1726
+ */
1727
+ Color.MEDIUMBLUE = Object.freeze(Color.fromCssColorString("#0000CD"));
1728
+
1729
+ /**
1730
+ * An immutable Color instance initialized to CSS color #BA55D3
1731
+ * <span class="colorSwath" style="background: #BA55D3;"></span>
1732
+ *
1733
+ * @constant
1734
+ * @type {Color}
1735
+ */
1736
+ Color.MEDIUMORCHID = Object.freeze(Color.fromCssColorString("#BA55D3"));
1737
+
1738
+ /**
1739
+ * An immutable Color instance initialized to CSS color #9370DB
1740
+ * <span class="colorSwath" style="background: #9370DB;"></span>
1741
+ *
1742
+ * @constant
1743
+ * @type {Color}
1744
+ */
1745
+ Color.MEDIUMPURPLE = Object.freeze(Color.fromCssColorString("#9370DB"));
1746
+
1747
+ /**
1748
+ * An immutable Color instance initialized to CSS color #3CB371
1749
+ * <span class="colorSwath" style="background: #3CB371;"></span>
1750
+ *
1751
+ * @constant
1752
+ * @type {Color}
1753
+ */
1754
+ Color.MEDIUMSEAGREEN = Object.freeze(Color.fromCssColorString("#3CB371"));
1755
+
1756
+ /**
1757
+ * An immutable Color instance initialized to CSS color #7B68EE
1758
+ * <span class="colorSwath" style="background: #7B68EE;"></span>
1759
+ *
1760
+ * @constant
1761
+ * @type {Color}
1762
+ */
1763
+ Color.MEDIUMSLATEBLUE = Object.freeze(Color.fromCssColorString("#7B68EE"));
1764
+
1765
+ /**
1766
+ * An immutable Color instance initialized to CSS color #00FA9A
1767
+ * <span class="colorSwath" style="background: #00FA9A;"></span>
1768
+ *
1769
+ * @constant
1770
+ * @type {Color}
1771
+ */
1772
+ Color.MEDIUMSPRINGGREEN = Object.freeze(Color.fromCssColorString("#00FA9A"));
1773
+
1774
+ /**
1775
+ * An immutable Color instance initialized to CSS color #48D1CC
1776
+ * <span class="colorSwath" style="background: #48D1CC;"></span>
1777
+ *
1778
+ * @constant
1779
+ * @type {Color}
1780
+ */
1781
+ Color.MEDIUMTURQUOISE = Object.freeze(Color.fromCssColorString("#48D1CC"));
1782
+
1783
+ /**
1784
+ * An immutable Color instance initialized to CSS color #C71585
1785
+ * <span class="colorSwath" style="background: #C71585;"></span>
1786
+ *
1787
+ * @constant
1788
+ * @type {Color}
1789
+ */
1790
+ Color.MEDIUMVIOLETRED = Object.freeze(Color.fromCssColorString("#C71585"));
1791
+
1792
+ /**
1793
+ * An immutable Color instance initialized to CSS color #191970
1794
+ * <span class="colorSwath" style="background: #191970;"></span>
1795
+ *
1796
+ * @constant
1797
+ * @type {Color}
1798
+ */
1799
+ Color.MIDNIGHTBLUE = Object.freeze(Color.fromCssColorString("#191970"));
1800
+
1801
+ /**
1802
+ * An immutable Color instance initialized to CSS color #F5FFFA
1803
+ * <span class="colorSwath" style="background: #F5FFFA;"></span>
1804
+ *
1805
+ * @constant
1806
+ * @type {Color}
1807
+ */
1808
+ Color.MINTCREAM = Object.freeze(Color.fromCssColorString("#F5FFFA"));
1809
+
1810
+ /**
1811
+ * An immutable Color instance initialized to CSS color #FFE4E1
1812
+ * <span class="colorSwath" style="background: #FFE4E1;"></span>
1813
+ *
1814
+ * @constant
1815
+ * @type {Color}
1816
+ */
1817
+ Color.MISTYROSE = Object.freeze(Color.fromCssColorString("#FFE4E1"));
1818
+
1819
+ /**
1820
+ * An immutable Color instance initialized to CSS color #FFE4B5
1821
+ * <span class="colorSwath" style="background: #FFE4B5;"></span>
1822
+ *
1823
+ * @constant
1824
+ * @type {Color}
1825
+ */
1826
+ Color.MOCCASIN = Object.freeze(Color.fromCssColorString("#FFE4B5"));
1827
+
1828
+ /**
1829
+ * An immutable Color instance initialized to CSS color #FFDEAD
1830
+ * <span class="colorSwath" style="background: #FFDEAD;"></span>
1831
+ *
1832
+ * @constant
1833
+ * @type {Color}
1834
+ */
1835
+ Color.NAVAJOWHITE = Object.freeze(Color.fromCssColorString("#FFDEAD"));
1836
+
1837
+ /**
1838
+ * An immutable Color instance initialized to CSS color #000080
1839
+ * <span class="colorSwath" style="background: #000080;"></span>
1840
+ *
1841
+ * @constant
1842
+ * @type {Color}
1843
+ */
1844
+ Color.NAVY = Object.freeze(Color.fromCssColorString("#000080"));
1845
+
1846
+ /**
1847
+ * An immutable Color instance initialized to CSS color #FDF5E6
1848
+ * <span class="colorSwath" style="background: #FDF5E6;"></span>
1849
+ *
1850
+ * @constant
1851
+ * @type {Color}
1852
+ */
1853
+ Color.OLDLACE = Object.freeze(Color.fromCssColorString("#FDF5E6"));
1854
+
1855
+ /**
1856
+ * An immutable Color instance initialized to CSS color #808000
1857
+ * <span class="colorSwath" style="background: #808000;"></span>
1858
+ *
1859
+ * @constant
1860
+ * @type {Color}
1861
+ */
1862
+ Color.OLIVE = Object.freeze(Color.fromCssColorString("#808000"));
1863
+
1864
+ /**
1865
+ * An immutable Color instance initialized to CSS color #6B8E23
1866
+ * <span class="colorSwath" style="background: #6B8E23;"></span>
1867
+ *
1868
+ * @constant
1869
+ * @type {Color}
1870
+ */
1871
+ Color.OLIVEDRAB = Object.freeze(Color.fromCssColorString("#6B8E23"));
1872
+
1873
+ /**
1874
+ * An immutable Color instance initialized to CSS color #FFA500
1875
+ * <span class="colorSwath" style="background: #FFA500;"></span>
1876
+ *
1877
+ * @constant
1878
+ * @type {Color}
1879
+ */
1880
+ Color.ORANGE = Object.freeze(Color.fromCssColorString("#FFA500"));
1881
+
1882
+ /**
1883
+ * An immutable Color instance initialized to CSS color #FF4500
1884
+ * <span class="colorSwath" style="background: #FF4500;"></span>
1885
+ *
1886
+ * @constant
1887
+ * @type {Color}
1888
+ */
1889
+ Color.ORANGERED = Object.freeze(Color.fromCssColorString("#FF4500"));
1890
+
1891
+ /**
1892
+ * An immutable Color instance initialized to CSS color #DA70D6
1893
+ * <span class="colorSwath" style="background: #DA70D6;"></span>
1894
+ *
1895
+ * @constant
1896
+ * @type {Color}
1897
+ */
1898
+ Color.ORCHID = Object.freeze(Color.fromCssColorString("#DA70D6"));
1899
+
1900
+ /**
1901
+ * An immutable Color instance initialized to CSS color #EEE8AA
1902
+ * <span class="colorSwath" style="background: #EEE8AA;"></span>
1903
+ *
1904
+ * @constant
1905
+ * @type {Color}
1906
+ */
1907
+ Color.PALEGOLDENROD = Object.freeze(Color.fromCssColorString("#EEE8AA"));
1908
+
1909
+ /**
1910
+ * An immutable Color instance initialized to CSS color #98FB98
1911
+ * <span class="colorSwath" style="background: #98FB98;"></span>
1912
+ *
1913
+ * @constant
1914
+ * @type {Color}
1915
+ */
1916
+ Color.PALEGREEN = Object.freeze(Color.fromCssColorString("#98FB98"));
1917
+
1918
+ /**
1919
+ * An immutable Color instance initialized to CSS color #AFEEEE
1920
+ * <span class="colorSwath" style="background: #AFEEEE;"></span>
1921
+ *
1922
+ * @constant
1923
+ * @type {Color}
1924
+ */
1925
+ Color.PALETURQUOISE = Object.freeze(Color.fromCssColorString("#AFEEEE"));
1926
+
1927
+ /**
1928
+ * An immutable Color instance initialized to CSS color #DB7093
1929
+ * <span class="colorSwath" style="background: #DB7093;"></span>
1930
+ *
1931
+ * @constant
1932
+ * @type {Color}
1933
+ */
1934
+ Color.PALEVIOLETRED = Object.freeze(Color.fromCssColorString("#DB7093"));
1935
+
1936
+ /**
1937
+ * An immutable Color instance initialized to CSS color #FFEFD5
1938
+ * <span class="colorSwath" style="background: #FFEFD5;"></span>
1939
+ *
1940
+ * @constant
1941
+ * @type {Color}
1942
+ */
1943
+ Color.PAPAYAWHIP = Object.freeze(Color.fromCssColorString("#FFEFD5"));
1944
+
1945
+ /**
1946
+ * An immutable Color instance initialized to CSS color #FFDAB9
1947
+ * <span class="colorSwath" style="background: #FFDAB9;"></span>
1948
+ *
1949
+ * @constant
1950
+ * @type {Color}
1951
+ */
1952
+ Color.PEACHPUFF = Object.freeze(Color.fromCssColorString("#FFDAB9"));
1953
+
1954
+ /**
1955
+ * An immutable Color instance initialized to CSS color #CD853F
1956
+ * <span class="colorSwath" style="background: #CD853F;"></span>
1957
+ *
1958
+ * @constant
1959
+ * @type {Color}
1960
+ */
1961
+ Color.PERU = Object.freeze(Color.fromCssColorString("#CD853F"));
1962
+
1963
+ /**
1964
+ * An immutable Color instance initialized to CSS color #FFC0CB
1965
+ * <span class="colorSwath" style="background: #FFC0CB;"></span>
1966
+ *
1967
+ * @constant
1968
+ * @type {Color}
1969
+ */
1970
+ Color.PINK = Object.freeze(Color.fromCssColorString("#FFC0CB"));
1971
+
1972
+ /**
1973
+ * An immutable Color instance initialized to CSS color #DDA0DD
1974
+ * <span class="colorSwath" style="background: #DDA0DD;"></span>
1975
+ *
1976
+ * @constant
1977
+ * @type {Color}
1978
+ */
1979
+ Color.PLUM = Object.freeze(Color.fromCssColorString("#DDA0DD"));
1980
+
1981
+ /**
1982
+ * An immutable Color instance initialized to CSS color #B0E0E6
1983
+ * <span class="colorSwath" style="background: #B0E0E6;"></span>
1984
+ *
1985
+ * @constant
1986
+ * @type {Color}
1987
+ */
1988
+ Color.POWDERBLUE = Object.freeze(Color.fromCssColorString("#B0E0E6"));
1989
+
1990
+ /**
1991
+ * An immutable Color instance initialized to CSS color #800080
1992
+ * <span class="colorSwath" style="background: #800080;"></span>
1993
+ *
1994
+ * @constant
1995
+ * @type {Color}
1996
+ */
1997
+ Color.PURPLE = Object.freeze(Color.fromCssColorString("#800080"));
1998
+
1999
+ /**
2000
+ * An immutable Color instance initialized to CSS color #FF0000
2001
+ * <span class="colorSwath" style="background: #FF0000;"></span>
2002
+ *
2003
+ * @constant
2004
+ * @type {Color}
2005
+ */
2006
+ Color.RED = Object.freeze(Color.fromCssColorString("#FF0000"));
2007
+
2008
+ /**
2009
+ * An immutable Color instance initialized to CSS color #BC8F8F
2010
+ * <span class="colorSwath" style="background: #BC8F8F;"></span>
2011
+ *
2012
+ * @constant
2013
+ * @type {Color}
2014
+ */
2015
+ Color.ROSYBROWN = Object.freeze(Color.fromCssColorString("#BC8F8F"));
2016
+
2017
+ /**
2018
+ * An immutable Color instance initialized to CSS color #4169E1
2019
+ * <span class="colorSwath" style="background: #4169E1;"></span>
2020
+ *
2021
+ * @constant
2022
+ * @type {Color}
2023
+ */
2024
+ Color.ROYALBLUE = Object.freeze(Color.fromCssColorString("#4169E1"));
2025
+
2026
+ /**
2027
+ * An immutable Color instance initialized to CSS color #8B4513
2028
+ * <span class="colorSwath" style="background: #8B4513;"></span>
2029
+ *
2030
+ * @constant
2031
+ * @type {Color}
2032
+ */
2033
+ Color.SADDLEBROWN = Object.freeze(Color.fromCssColorString("#8B4513"));
2034
+
2035
+ /**
2036
+ * An immutable Color instance initialized to CSS color #FA8072
2037
+ * <span class="colorSwath" style="background: #FA8072;"></span>
2038
+ *
2039
+ * @constant
2040
+ * @type {Color}
2041
+ */
2042
+ Color.SALMON = Object.freeze(Color.fromCssColorString("#FA8072"));
2043
+
2044
+ /**
2045
+ * An immutable Color instance initialized to CSS color #F4A460
2046
+ * <span class="colorSwath" style="background: #F4A460;"></span>
2047
+ *
2048
+ * @constant
2049
+ * @type {Color}
2050
+ */
2051
+ Color.SANDYBROWN = Object.freeze(Color.fromCssColorString("#F4A460"));
2052
+
2053
+ /**
2054
+ * An immutable Color instance initialized to CSS color #2E8B57
2055
+ * <span class="colorSwath" style="background: #2E8B57;"></span>
2056
+ *
2057
+ * @constant
2058
+ * @type {Color}
2059
+ */
2060
+ Color.SEAGREEN = Object.freeze(Color.fromCssColorString("#2E8B57"));
2061
+
2062
+ /**
2063
+ * An immutable Color instance initialized to CSS color #FFF5EE
2064
+ * <span class="colorSwath" style="background: #FFF5EE;"></span>
2065
+ *
2066
+ * @constant
2067
+ * @type {Color}
2068
+ */
2069
+ Color.SEASHELL = Object.freeze(Color.fromCssColorString("#FFF5EE"));
2070
+
2071
+ /**
2072
+ * An immutable Color instance initialized to CSS color #A0522D
2073
+ * <span class="colorSwath" style="background: #A0522D;"></span>
2074
+ *
2075
+ * @constant
2076
+ * @type {Color}
2077
+ */
2078
+ Color.SIENNA = Object.freeze(Color.fromCssColorString("#A0522D"));
2079
+
2080
+ /**
2081
+ * An immutable Color instance initialized to CSS color #C0C0C0
2082
+ * <span class="colorSwath" style="background: #C0C0C0;"></span>
2083
+ *
2084
+ * @constant
2085
+ * @type {Color}
2086
+ */
2087
+ Color.SILVER = Object.freeze(Color.fromCssColorString("#C0C0C0"));
2088
+
2089
+ /**
2090
+ * An immutable Color instance initialized to CSS color #87CEEB
2091
+ * <span class="colorSwath" style="background: #87CEEB;"></span>
2092
+ *
2093
+ * @constant
2094
+ * @type {Color}
2095
+ */
2096
+ Color.SKYBLUE = Object.freeze(Color.fromCssColorString("#87CEEB"));
2097
+
2098
+ /**
2099
+ * An immutable Color instance initialized to CSS color #6A5ACD
2100
+ * <span class="colorSwath" style="background: #6A5ACD;"></span>
2101
+ *
2102
+ * @constant
2103
+ * @type {Color}
2104
+ */
2105
+ Color.SLATEBLUE = Object.freeze(Color.fromCssColorString("#6A5ACD"));
2106
+
2107
+ /**
2108
+ * An immutable Color instance initialized to CSS color #708090
2109
+ * <span class="colorSwath" style="background: #708090;"></span>
2110
+ *
2111
+ * @constant
2112
+ * @type {Color}
2113
+ */
2114
+ Color.SLATEGRAY = Object.freeze(Color.fromCssColorString("#708090"));
2115
+
2116
+ /**
2117
+ * An immutable Color instance initialized to CSS color #708090
2118
+ * <span class="colorSwath" style="background: #708090;"></span>
2119
+ *
2120
+ * @constant
2121
+ * @type {Color}
2122
+ */
2123
+ Color.SLATEGREY = Color.SLATEGRAY;
2124
+
2125
+ /**
2126
+ * An immutable Color instance initialized to CSS color #FFFAFA
2127
+ * <span class="colorSwath" style="background: #FFFAFA;"></span>
2128
+ *
2129
+ * @constant
2130
+ * @type {Color}
2131
+ */
2132
+ Color.SNOW = Object.freeze(Color.fromCssColorString("#FFFAFA"));
2133
+
2134
+ /**
2135
+ * An immutable Color instance initialized to CSS color #00FF7F
2136
+ * <span class="colorSwath" style="background: #00FF7F;"></span>
2137
+ *
2138
+ * @constant
2139
+ * @type {Color}
2140
+ */
2141
+ Color.SPRINGGREEN = Object.freeze(Color.fromCssColorString("#00FF7F"));
2142
+
2143
+ /**
2144
+ * An immutable Color instance initialized to CSS color #4682B4
2145
+ * <span class="colorSwath" style="background: #4682B4;"></span>
2146
+ *
2147
+ * @constant
2148
+ * @type {Color}
2149
+ */
2150
+ Color.STEELBLUE = Object.freeze(Color.fromCssColorString("#4682B4"));
2151
+
2152
+ /**
2153
+ * An immutable Color instance initialized to CSS color #D2B48C
2154
+ * <span class="colorSwath" style="background: #D2B48C;"></span>
2155
+ *
2156
+ * @constant
2157
+ * @type {Color}
2158
+ */
2159
+ Color.TAN = Object.freeze(Color.fromCssColorString("#D2B48C"));
2160
+
2161
+ /**
2162
+ * An immutable Color instance initialized to CSS color #008080
2163
+ * <span class="colorSwath" style="background: #008080;"></span>
2164
+ *
2165
+ * @constant
2166
+ * @type {Color}
2167
+ */
2168
+ Color.TEAL = Object.freeze(Color.fromCssColorString("#008080"));
2169
+
2170
+ /**
2171
+ * An immutable Color instance initialized to CSS color #D8BFD8
2172
+ * <span class="colorSwath" style="background: #D8BFD8;"></span>
2173
+ *
2174
+ * @constant
2175
+ * @type {Color}
2176
+ */
2177
+ Color.THISTLE = Object.freeze(Color.fromCssColorString("#D8BFD8"));
2178
+
2179
+ /**
2180
+ * An immutable Color instance initialized to CSS color #FF6347
2181
+ * <span class="colorSwath" style="background: #FF6347;"></span>
2182
+ *
2183
+ * @constant
2184
+ * @type {Color}
2185
+ */
2186
+ Color.TOMATO = Object.freeze(Color.fromCssColorString("#FF6347"));
2187
+
2188
+ /**
2189
+ * An immutable Color instance initialized to CSS color #40E0D0
2190
+ * <span class="colorSwath" style="background: #40E0D0;"></span>
2191
+ *
2192
+ * @constant
2193
+ * @type {Color}
2194
+ */
2195
+ Color.TURQUOISE = Object.freeze(Color.fromCssColorString("#40E0D0"));
2196
+
2197
+ /**
2198
+ * An immutable Color instance initialized to CSS color #EE82EE
2199
+ * <span class="colorSwath" style="background: #EE82EE;"></span>
2200
+ *
2201
+ * @constant
2202
+ * @type {Color}
2203
+ */
2204
+ Color.VIOLET = Object.freeze(Color.fromCssColorString("#EE82EE"));
2205
+
2206
+ /**
2207
+ * An immutable Color instance initialized to CSS color #F5DEB3
2208
+ * <span class="colorSwath" style="background: #F5DEB3;"></span>
2209
+ *
2210
+ * @constant
2211
+ * @type {Color}
2212
+ */
2213
+ Color.WHEAT = Object.freeze(Color.fromCssColorString("#F5DEB3"));
2214
+
2215
+ /**
2216
+ * An immutable Color instance initialized to CSS color #FFFFFF
2217
+ * <span class="colorSwath" style="background: #FFFFFF;"></span>
2218
+ *
2219
+ * @constant
2220
+ * @type {Color}
2221
+ */
2222
+ Color.WHITE = Object.freeze(Color.fromCssColorString("#FFFFFF"));
2223
+
2224
+ /**
2225
+ * An immutable Color instance initialized to CSS color #F5F5F5
2226
+ * <span class="colorSwath" style="background: #F5F5F5;"></span>
2227
+ *
2228
+ * @constant
2229
+ * @type {Color}
2230
+ */
2231
+ Color.WHITESMOKE = Object.freeze(Color.fromCssColorString("#F5F5F5"));
2232
+
2233
+ /**
2234
+ * An immutable Color instance initialized to CSS color #FFFF00
2235
+ * <span class="colorSwath" style="background: #FFFF00;"></span>
2236
+ *
2237
+ * @constant
2238
+ * @type {Color}
2239
+ */
2240
+ Color.YELLOW = Object.freeze(Color.fromCssColorString("#FFFF00"));
2241
+
2242
+ /**
2243
+ * An immutable Color instance initialized to CSS color #9ACD32
2244
+ * <span class="colorSwath" style="background: #9ACD32;"></span>
2245
+ *
2246
+ * @constant
2247
+ * @type {Color}
2248
+ */
2249
+ Color.YELLOWGREEN = Object.freeze(Color.fromCssColorString("#9ACD32"));
2250
+
2251
+ /**
2252
+ * An immutable Color instance initialized to CSS transparent.
2253
+ * <span class="colorSwath" style="background: transparent;"></span>
2254
+ *
2255
+ * @constant
2256
+ * @type {Color}
2257
+ */
2258
+ Color.TRANSPARENT = Object.freeze(new Color(0, 0, 0, 0));
2259
+
2260
+ exports.Color = Color;
2261
+
2262
+ }));