@next2d/player 1.14.19 → 1.14.21

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 (386) hide show
  1. package/index.js +3 -3
  2. package/package.json +31 -6
  3. package/interface/AjaxEventImpl.d.ts +0 -5
  4. package/interface/AjaxEventImpl.js +0 -1
  5. package/interface/AjaxOptionImpl.d.ts +0 -13
  6. package/interface/AjaxOptionImpl.js +0 -1
  7. package/interface/AttachmentImpl.d.ts +0 -11
  8. package/interface/AttachmentImpl.js +0 -1
  9. package/interface/BitmapDataChannelImpl.d.ts +0 -1
  10. package/interface/BitmapDataChannelImpl.js +0 -1
  11. package/interface/BitmapDrawObjectImpl.d.ts +0 -6
  12. package/interface/BitmapDrawObjectImpl.js +0 -1
  13. package/interface/BitmapFilterTypeImpl.d.ts +0 -1
  14. package/interface/BitmapFilterTypeImpl.js +0 -1
  15. package/interface/BlendModeImpl.d.ts +0 -1
  16. package/interface/BlendModeImpl.js +0 -1
  17. package/interface/BoundsImpl.d.ts +0 -6
  18. package/interface/BoundsImpl.js +0 -1
  19. package/interface/Character.d.ts +0 -2
  20. package/interface/Character.js +0 -1
  21. package/interface/CharacterImpl.d.ts +0 -2
  22. package/interface/CharacterImpl.js +0 -1
  23. package/interface/ClipObjectImpl.d.ts +0 -14
  24. package/interface/ClipObjectImpl.js +0 -1
  25. package/interface/ColorStopImpl.d.ts +0 -7
  26. package/interface/ColorStopImpl.js +0 -1
  27. package/interface/DictionaryTagImpl.d.ts +0 -7
  28. package/interface/DictionaryTagImpl.js +0 -1
  29. package/interface/DisplacementMapFilterModeImpl.d.ts +0 -1
  30. package/interface/DisplacementMapFilterModeImpl.js +0 -1
  31. package/interface/DisplayImpl.d.ts +0 -28
  32. package/interface/DisplayImpl.js +0 -1
  33. package/interface/DisplayObjectImpl.d.ts +0 -2
  34. package/interface/DisplayObjectImpl.js +0 -1
  35. package/interface/DragRulesImpl.d.ts +0 -7
  36. package/interface/DragRulesImpl.js +0 -1
  37. package/interface/DropTargetImpl.d.ts +0 -2
  38. package/interface/DropTargetImpl.js +0 -1
  39. package/interface/EventDispatcherImpl.d.ts +0 -2
  40. package/interface/EventDispatcherImpl.js +0 -1
  41. package/interface/EventListenerImpl.d.ts +0 -6
  42. package/interface/EventListenerImpl.js +0 -1
  43. package/interface/EventsImpl.d.ts +0 -20
  44. package/interface/EventsImpl.js +0 -1
  45. package/interface/FillMeshImpl.d.ts +0 -5
  46. package/interface/FillMeshImpl.js +0 -1
  47. package/interface/FilterArrayImpl.d.ts +0 -10
  48. package/interface/FilterArrayImpl.js +0 -1
  49. package/interface/FilterQualityImpl.d.ts +0 -1
  50. package/interface/FilterQualityImpl.js +0 -1
  51. package/interface/FiltersImpl.d.ts +0 -20
  52. package/interface/FiltersImpl.js +0 -1
  53. package/interface/GeomImpl.d.ts +0 -12
  54. package/interface/GeomImpl.js +0 -1
  55. package/interface/GradientTypeImpl.d.ts +0 -3
  56. package/interface/GradientTypeImpl.js +0 -1
  57. package/interface/GraphicsParentImpl.d.ts +0 -2
  58. package/interface/GraphicsParentImpl.js +0 -1
  59. package/interface/GridImpl.d.ts +0 -6
  60. package/interface/GridImpl.js +0 -1
  61. package/interface/ImageTypeImpl.d.ts +0 -1
  62. package/interface/ImageTypeImpl.js +0 -1
  63. package/interface/IndexRangeImpl.d.ts +0 -4
  64. package/interface/IndexRangeImpl.js +0 -1
  65. package/interface/LoaderInfoDataImpl.d.ts +0 -7
  66. package/interface/LoaderInfoDataImpl.js +0 -1
  67. package/interface/LoopConfigImpl.d.ts +0 -8
  68. package/interface/LoopConfigImpl.js +0 -1
  69. package/interface/LoopTypeImpl.d.ts +0 -1
  70. package/interface/LoopTypeImpl.js +0 -1
  71. package/interface/MediaImpl.d.ts +0 -10
  72. package/interface/MediaImpl.js +0 -1
  73. package/interface/MovieClipActionObjectImpl.d.ts +0 -5
  74. package/interface/MovieClipActionObjectImpl.js +0 -1
  75. package/interface/MovieClipCharacterImpl.d.ts +0 -18
  76. package/interface/MovieClipCharacterImpl.js +0 -1
  77. package/interface/MovieClipLabelObjectImpl.d.ts +0 -4
  78. package/interface/MovieClipLabelObjectImpl.js +0 -1
  79. package/interface/MovieClipSoundObjectImpl.d.ts +0 -5
  80. package/interface/MovieClipSoundObjectImpl.js +0 -1
  81. package/interface/NetImpl.d.ts +0 -6
  82. package/interface/NetImpl.js +0 -1
  83. package/interface/NoCodeDataImpl.d.ts +0 -7
  84. package/interface/NoCodeDataImpl.js +0 -1
  85. package/interface/NoCodeDataZlibImpl.d.ts +0 -4
  86. package/interface/NoCodeDataZlibImpl.js +0 -1
  87. package/interface/ParentImpl.d.ts +0 -2
  88. package/interface/ParentImpl.js +0 -1
  89. package/interface/PlaceObjectImpl.d.ts +0 -12
  90. package/interface/PlaceObjectImpl.js +0 -1
  91. package/interface/PlayerHitObjectImpl.d.ts +0 -7
  92. package/interface/PlayerHitObjectImpl.js +0 -1
  93. package/interface/PlayerModeImpl.d.ts +0 -1
  94. package/interface/PlayerModeImpl.js +0 -1
  95. package/interface/PlayerOptionsImpl.d.ts +0 -8
  96. package/interface/PlayerOptionsImpl.js +0 -1
  97. package/interface/PointImpl.d.ts +0 -4
  98. package/interface/PointImpl.js +0 -1
  99. package/interface/PreObjectImpl.d.ts +0 -23
  100. package/interface/PreObjectImpl.js +0 -1
  101. package/interface/PropertyBitmapDataMessageImpl.d.ts +0 -8
  102. package/interface/PropertyBitmapDataMessageImpl.js +0 -1
  103. package/interface/PropertyContainerMessageImpl.d.ts +0 -6
  104. package/interface/PropertyContainerMessageImpl.js +0 -1
  105. package/interface/PropertyMessageImpl.d.ts +0 -41
  106. package/interface/PropertyMessageImpl.js +0 -1
  107. package/interface/PropertyMessageMapImpl.d.ts +0 -2
  108. package/interface/PropertyMessageMapImpl.js +0 -1
  109. package/interface/PropertyShapeMessageImpl.d.ts +0 -6
  110. package/interface/PropertyShapeMessageImpl.js +0 -1
  111. package/interface/PropertyTextMessageImpl.d.ts +0 -25
  112. package/interface/PropertyTextMessageImpl.js +0 -1
  113. package/interface/PropertyVideoMessageImpl.d.ts +0 -5
  114. package/interface/PropertyVideoMessageImpl.js +0 -1
  115. package/interface/RGBAImpl.d.ts +0 -6
  116. package/interface/RGBAImpl.js +0 -1
  117. package/interface/ShapeCharacterImpl.d.ts +0 -14
  118. package/interface/ShapeCharacterImpl.js +0 -1
  119. package/interface/SoundCharacterImpl.d.ts +0 -5
  120. package/interface/SoundCharacterImpl.js +0 -1
  121. package/interface/SoundTagImpl.d.ts +0 -6
  122. package/interface/SoundTagImpl.js +0 -1
  123. package/interface/SpriteImpl.d.ts +0 -2
  124. package/interface/SpriteImpl.js +0 -1
  125. package/interface/StageDataImpl.d.ts +0 -6
  126. package/interface/StageDataImpl.js +0 -1
  127. package/interface/StageQualityImpl.d.ts +0 -1
  128. package/interface/StageQualityImpl.js +0 -1
  129. package/interface/StrokeMethImpl.d.ts +0 -4
  130. package/interface/StrokeMethImpl.js +0 -1
  131. package/interface/StrokeTypeImpl.d.ts +0 -2
  132. package/interface/StrokeTypeImpl.js +0 -1
  133. package/interface/SurfaceFilterImpl.d.ts +0 -6
  134. package/interface/SurfaceFilterImpl.js +0 -1
  135. package/interface/TextBreakObjectImpl.d.ts +0 -9
  136. package/interface/TextBreakObjectImpl.js +0 -1
  137. package/interface/TextCharacterImpl.d.ts +0 -27
  138. package/interface/TextCharacterImpl.js +0 -1
  139. package/interface/TextDataImpl.d.ts +0 -2
  140. package/interface/TextDataImpl.js +0 -1
  141. package/interface/TextFieldAutoSizeImpl.d.ts +0 -1
  142. package/interface/TextFieldAutoSizeImpl.js +0 -1
  143. package/interface/TextFieldTypeImpl.d.ts +0 -1
  144. package/interface/TextFieldTypeImpl.js +0 -1
  145. package/interface/TextFormatAlignImpl.d.ts +0 -1
  146. package/interface/TextFormatAlignImpl.js +0 -1
  147. package/interface/TextFormatVerticalAlignImpl.d.ts +0 -1
  148. package/interface/TextFormatVerticalAlignImpl.js +0 -1
  149. package/interface/TextImageObjectImpl.d.ts +0 -11
  150. package/interface/TextImageObjectImpl.js +0 -1
  151. package/interface/TextImpl.d.ts +0 -6
  152. package/interface/TextImpl.js +0 -1
  153. package/interface/TextObjectImpl.d.ts +0 -7
  154. package/interface/TextObjectImpl.js +0 -1
  155. package/interface/TextObjectModeImpl.d.ts +0 -1
  156. package/interface/TextObjectModeImpl.js +0 -1
  157. package/interface/TextStringObjectImpl.d.ts +0 -7
  158. package/interface/TextStringObjectImpl.js +0 -1
  159. package/interface/UIImpl.d.ts +0 -8
  160. package/interface/UIImpl.js +0 -1
  161. package/interface/URLLoaderDataFormatImpl.d.ts +0 -1
  162. package/interface/URLLoaderDataFormatImpl.js +0 -1
  163. package/interface/URLRequestMethodImpl.d.ts +0 -1
  164. package/interface/URLRequestMethodImpl.js +0 -1
  165. package/interface/UniformDataImpl.d.ts +0 -5
  166. package/interface/UniformDataImpl.js +0 -1
  167. package/interface/UnzipQueueImpl.d.ts +0 -6
  168. package/interface/UnzipQueueImpl.js +0 -1
  169. package/interface/VerticesImpl.d.ts +0 -1
  170. package/interface/VerticesImpl.js +0 -1
  171. package/interface/VideoCharacterImpl.d.ts +0 -12
  172. package/interface/VideoCharacterImpl.js +0 -1
  173. package/next2d/display/BitmapData.d.ts +0 -143
  174. package/next2d/display/BitmapData.js +0 -387
  175. package/next2d/display/BlendMode.d.ts +0 -204
  176. package/next2d/display/BlendMode.js +0 -240
  177. package/next2d/display/DisplayObject.d.ts +0 -565
  178. package/next2d/display/DisplayObject.js +0 -1670
  179. package/next2d/display/DisplayObjectContainer.d.ts +0 -351
  180. package/next2d/display/DisplayObjectContainer.js +0 -1776
  181. package/next2d/display/FrameLabel.d.ts +0 -98
  182. package/next2d/display/FrameLabel.js +0 -120
  183. package/next2d/display/Graphics.d.ts +0 -577
  184. package/next2d/display/Graphics.js +0 -2161
  185. package/next2d/display/GraphicsBitmapFill.d.ts +0 -49
  186. package/next2d/display/GraphicsBitmapFill.js +0 -86
  187. package/next2d/display/GraphicsGradientFill.d.ts +0 -66
  188. package/next2d/display/GraphicsGradientFill.js +0 -157
  189. package/next2d/display/InteractiveObject.d.ts +0 -32
  190. package/next2d/display/InteractiveObject.js +0 -43
  191. package/next2d/display/Loader.d.ts +0 -131
  192. package/next2d/display/Loader.js +0 -321
  193. package/next2d/display/LoaderInfo.d.ts +0 -122
  194. package/next2d/display/LoaderInfo.js +0 -184
  195. package/next2d/display/LoopConfig.d.ts +0 -108
  196. package/next2d/display/LoopConfig.js +0 -156
  197. package/next2d/display/LoopType.d.ts +0 -104
  198. package/next2d/display/LoopType.js +0 -122
  199. package/next2d/display/MovieClip.d.ts +0 -314
  200. package/next2d/display/MovieClip.js +0 -941
  201. package/next2d/display/Shape.d.ts +0 -169
  202. package/next2d/display/Shape.js +0 -509
  203. package/next2d/display/Sprite.d.ts +0 -175
  204. package/next2d/display/Sprite.js +0 -280
  205. package/next2d/display/Stage.d.ts +0 -164
  206. package/next2d/display/Stage.js +0 -251
  207. package/next2d/events/Event.d.ts +0 -424
  208. package/next2d/events/Event.js +0 -560
  209. package/next2d/events/EventDispatcher.d.ts +0 -138
  210. package/next2d/events/EventDispatcher.js +0 -623
  211. package/next2d/events/EventPhase.d.ts +0 -80
  212. package/next2d/events/EventPhase.js +0 -94
  213. package/next2d/events/FocusEvent.d.ts +0 -89
  214. package/next2d/events/FocusEvent.js +0 -103
  215. package/next2d/events/HTTPStatusEvent.d.ts +0 -107
  216. package/next2d/events/HTTPStatusEvent.js +0 -139
  217. package/next2d/events/IOErrorEvent.d.ts +0 -82
  218. package/next2d/events/IOErrorEvent.js +0 -101
  219. package/next2d/events/MouseEvent.d.ts +0 -163
  220. package/next2d/events/MouseEvent.js +0 -207
  221. package/next2d/events/ProgressEvent.d.ts +0 -97
  222. package/next2d/events/ProgressEvent.js +0 -123
  223. package/next2d/events/VideoEvent.d.ts +0 -145
  224. package/next2d/events/VideoEvent.js +0 -181
  225. package/next2d/filters/BevelFilter.d.ts +0 -254
  226. package/next2d/filters/BevelFilter.js +0 -491
  227. package/next2d/filters/BitmapFilter.d.ts +0 -75
  228. package/next2d/filters/BitmapFilter.js +0 -95
  229. package/next2d/filters/BlurFilter.d.ts +0 -150
  230. package/next2d/filters/BlurFilter.js +0 -370
  231. package/next2d/filters/ColorMatrixFilter.d.ts +0 -116
  232. package/next2d/filters/ColorMatrixFilter.js +0 -179
  233. package/next2d/filters/ConvolutionFilter.d.ts +0 -210
  234. package/next2d/filters/ConvolutionFilter.js +0 -366
  235. package/next2d/filters/DisplacementMapFilter.d.ts +0 -212
  236. package/next2d/filters/DisplacementMapFilter.js +0 -372
  237. package/next2d/filters/DropShadowFilter.d.ts +0 -240
  238. package/next2d/filters/DropShadowFilter.js +0 -461
  239. package/next2d/filters/GlowFilter.d.ts +0 -204
  240. package/next2d/filters/GlowFilter.js +0 -356
  241. package/next2d/filters/GradientBevelFilter.d.ts +0 -243
  242. package/next2d/filters/GradientBevelFilter.js +0 -474
  243. package/next2d/filters/GradientGlowFilter.d.ts +0 -243
  244. package/next2d/filters/GradientGlowFilter.js +0 -464
  245. package/next2d/geom/ColorTransform.d.ts +0 -201
  246. package/next2d/geom/ColorTransform.js +0 -278
  247. package/next2d/geom/Matrix.d.ts +0 -299
  248. package/next2d/geom/Matrix.js +0 -454
  249. package/next2d/geom/Point.d.ts +0 -213
  250. package/next2d/geom/Point.js +0 -274
  251. package/next2d/geom/Rectangle.d.ts +0 -364
  252. package/next2d/geom/Rectangle.js +0 -513
  253. package/next2d/geom/Transform.d.ts +0 -213
  254. package/next2d/geom/Transform.js +0 -492
  255. package/next2d/media/Sound.d.ts +0 -208
  256. package/next2d/media/Sound.js +0 -504
  257. package/next2d/media/SoundMixer.d.ts +0 -68
  258. package/next2d/media/SoundMixer.js +0 -115
  259. package/next2d/media/SoundTransform.d.ts +0 -80
  260. package/next2d/media/SoundTransform.js +0 -111
  261. package/next2d/media/Video.d.ts +0 -331
  262. package/next2d/media/Video.js +0 -856
  263. package/next2d/net/URLRequest.d.ts +0 -143
  264. package/next2d/net/URLRequest.js +0 -232
  265. package/next2d/net/URLRequestHeader.d.ts +0 -82
  266. package/next2d/net/URLRequestHeader.js +0 -105
  267. package/next2d/text/TextField.d.ts +0 -644
  268. package/next2d/text/TextField.js +0 -2662
  269. package/next2d/text/TextFormat.d.ts +0 -250
  270. package/next2d/text/TextFormat.js +0 -460
  271. package/next2d/ui/Easing.d.ts +0 -359
  272. package/next2d/ui/Easing.js +0 -481
  273. package/next2d/ui/Job.d.ts +0 -155
  274. package/next2d/ui/Job.js +0 -333
  275. package/next2d/ui/Tween.d.ts +0 -62
  276. package/next2d/ui/Tween.js +0 -72
  277. package/packages/Display.d.ts +0 -3
  278. package/packages/Display.js +0 -36
  279. package/packages/Events.d.ts +0 -3
  280. package/packages/Events.js +0 -28
  281. package/packages/Filters.d.ts +0 -3
  282. package/packages/Filters.js +0 -28
  283. package/packages/Geom.d.ts +0 -3
  284. package/packages/Geom.js +0 -20
  285. package/packages/Media.d.ts +0 -3
  286. package/packages/Media.js +0 -18
  287. package/packages/Net.d.ts +0 -3
  288. package/packages/Net.js +0 -14
  289. package/packages/Text.d.ts +0 -3
  290. package/packages/Text.js +0 -14
  291. package/packages/UI.d.ts +0 -3
  292. package/packages/UI.js +0 -16
  293. package/player/Next2D.d.ts +0 -70
  294. package/player/Next2D.js +0 -192
  295. package/player/Player.d.ts +0 -334
  296. package/player/Player.js +0 -1863
  297. package/util/CacheStore.d.ts +0 -115
  298. package/util/CacheStore.js +0 -276
  299. package/util/Global.d.ts +0 -23
  300. package/util/Global.js +0 -67
  301. package/util/RenderUtil.d.ts +0 -472
  302. package/util/RenderUtil.js +0 -686
  303. package/util/Shortcut.d.ts +0 -28
  304. package/util/Shortcut.js +0 -28
  305. package/util/Util.d.ts +0 -334
  306. package/util/Util.js +0 -844
  307. package/webgl/BezierConverter.d.ts +0 -59
  308. package/webgl/BezierConverter.js +0 -106
  309. package/webgl/CanvasGradientToWebGL.d.ts +0 -94
  310. package/webgl/CanvasGradientToWebGL.js +0 -181
  311. package/webgl/CanvasPatternToWebGL.d.ts +0 -39
  312. package/webgl/CanvasPatternToWebGL.js +0 -66
  313. package/webgl/CanvasToWebGLContext.d.ts +0 -596
  314. package/webgl/CanvasToWebGLContext.js +0 -1421
  315. package/webgl/CanvasToWebGLContextBlend.d.ts +0 -97
  316. package/webgl/CanvasToWebGLContextBlend.js +0 -299
  317. package/webgl/CanvasToWebGLContextGrid.d.ts +0 -74
  318. package/webgl/CanvasToWebGLContextGrid.js +0 -283
  319. package/webgl/CanvasToWebGLContextMask.d.ts +0 -113
  320. package/webgl/CanvasToWebGLContextMask.js +0 -436
  321. package/webgl/CanvasToWebGLContextPath.d.ts +0 -111
  322. package/webgl/CanvasToWebGLContextPath.js +0 -210
  323. package/webgl/CanvasToWebGLContextStyle.d.ts +0 -77
  324. package/webgl/CanvasToWebGLContextStyle.js +0 -139
  325. package/webgl/ColorBufferPool.d.ts +0 -58
  326. package/webgl/ColorBufferPool.js +0 -134
  327. package/webgl/FrameBufferManager.d.ts +0 -135
  328. package/webgl/FrameBufferManager.js +0 -358
  329. package/webgl/StencilBufferPool.d.ts +0 -56
  330. package/webgl/StencilBufferPool.js +0 -142
  331. package/webgl/TextureManager.d.ts +0 -130
  332. package/webgl/TextureManager.js +0 -296
  333. package/webgl/VertexArrayObjectManager.d.ts +0 -95
  334. package/webgl/VertexArrayObjectManager.js +0 -277
  335. package/webgl/WebGLFillMeshGenerator.d.ts +0 -31
  336. package/webgl/WebGLFillMeshGenerator.js +0 -101
  337. package/webgl/WebGLStrokeMeshGenerator.d.ts +0 -182
  338. package/webgl/WebGLStrokeMeshGenerator.js +0 -504
  339. package/webgl/shader/CanvasToWebGLShader.d.ts +0 -85
  340. package/webgl/shader/CanvasToWebGLShader.js +0 -192
  341. package/webgl/shader/CanvasToWebGLShaderList.d.ts +0 -70
  342. package/webgl/shader/CanvasToWebGLShaderList.js +0 -109
  343. package/webgl/shader/GradientLUTGenerator.d.ts +0 -36
  344. package/webgl/shader/GradientLUTGenerator.js +0 -123
  345. package/webgl/shader/WebGLShaderUniform.d.ts +0 -52
  346. package/webgl/shader/WebGLShaderUniform.js +0 -165
  347. package/webgl/shader/fragment/FragmentShaderLibrary.d.ts +0 -18
  348. package/webgl/shader/fragment/FragmentShaderLibrary.js +0 -35
  349. package/webgl/shader/fragment/FragmentShaderSource.d.ts +0 -29
  350. package/webgl/shader/fragment/FragmentShaderSource.js +0 -99
  351. package/webgl/shader/fragment/FragmentShaderSourceBlend.d.ts +0 -67
  352. package/webgl/shader/fragment/FragmentShaderSourceBlend.js +0 -319
  353. package/webgl/shader/fragment/FragmentShaderSourceGradient.d.ts +0 -44
  354. package/webgl/shader/fragment/FragmentShaderSourceGradient.js +0 -114
  355. package/webgl/shader/fragment/FragmentShaderSourceGradientLUT.d.ts +0 -14
  356. package/webgl/shader/fragment/FragmentShaderSourceGradientLUT.js +0 -58
  357. package/webgl/shader/fragment/FragmentShaderSourceTexture.d.ts +0 -12
  358. package/webgl/shader/fragment/FragmentShaderSourceTexture.js +0 -36
  359. package/webgl/shader/fragment/filter/FragmentShaderSourceBlurFilter.d.ts +0 -12
  360. package/webgl/shader/fragment/filter/FragmentShaderSourceBlurFilter.js +0 -42
  361. package/webgl/shader/fragment/filter/FragmentShaderSourceColorMatrixFilter.d.ts +0 -11
  362. package/webgl/shader/fragment/filter/FragmentShaderSourceColorMatrixFilter.js +0 -35
  363. package/webgl/shader/fragment/filter/FragmentShaderSourceConvolutionFilter.d.ts +0 -16
  364. package/webgl/shader/fragment/filter/FragmentShaderSourceConvolutionFilter.js +0 -80
  365. package/webgl/shader/fragment/filter/FragmentShaderSourceDisplacementMapFilter.d.ts +0 -15
  366. package/webgl/shader/fragment/filter/FragmentShaderSourceDisplacementMapFilter.js +0 -106
  367. package/webgl/shader/fragment/filter/FragmentShaderSourceFilter.d.ts +0 -112
  368. package/webgl/shader/fragment/filter/FragmentShaderSourceFilter.js +0 -275
  369. package/webgl/shader/variants/BlendShaderVariantCollection.d.ts +0 -99
  370. package/webgl/shader/variants/BlendShaderVariantCollection.js +0 -239
  371. package/webgl/shader/variants/FilterShaderVariantCollection.d.ts +0 -150
  372. package/webgl/shader/variants/FilterShaderVariantCollection.js +0 -395
  373. package/webgl/shader/variants/GradientLUTShaderVariantCollection.d.ts +0 -49
  374. package/webgl/shader/variants/GradientLUTShaderVariantCollection.js +0 -107
  375. package/webgl/shader/variants/GradientShapeShaderVariantCollection.d.ts +0 -61
  376. package/webgl/shader/variants/GradientShapeShaderVariantCollection.js +0 -196
  377. package/webgl/shader/variants/ShapeShaderVariantCollection.d.ts +0 -117
  378. package/webgl/shader/variants/ShapeShaderVariantCollection.js +0 -427
  379. package/webgl/shader/vertex/VertexShaderLibrary.d.ts +0 -18
  380. package/webgl/shader/vertex/VertexShaderLibrary.js +0 -75
  381. package/webgl/shader/vertex/VertexShaderSource.d.ts +0 -23
  382. package/webgl/shader/vertex/VertexShaderSource.js +0 -92
  383. package/webgl/shader/vertex/VertexShaderSourceFill.d.ts +0 -45
  384. package/webgl/shader/vertex/VertexShaderSourceFill.js +0 -112
  385. package/webgl/shader/vertex/VertexShaderSourceStroke.d.ts +0 -27
  386. package/webgl/shader/vertex/VertexShaderSourceStroke.js +0 -149
@@ -1,454 +0,0 @@
1
- import { Point } from "./Point";
2
- import { $getMatrix } from "../../util/Util";
3
- import { $getFloat32Array6, $clamp, $Math, $SHORT_INT_MIN, $SHORT_INT_MAX } from "../../util/RenderUtil";
4
- /**
5
- * Matrix クラスは、2 つの座標空間の間におけるポイントのマッピング方法を決定する変換マトリックスを表します。
6
- * Matrix オブジェクトのプロパティを設定し、Matrix オブジェクトを Transform オブジェクトの matrix プロパティに適用し、
7
- * 次に Transform オブジェクトを表示オブジェクトの transform プロパティとして適用することで、表示オブジェクトに対する各種グラフィック変換を実行できます。
8
- * これらの変換機能には、平行移動(x と y の位置変更)、回転、拡大 / 縮小、傾斜などが含まれます。
9
- *
10
- * The Matrix class represents a transformation matrix that determines how to map points from one coordinate space to another.
11
- * You can perform various graphical transformations on a display object by setting the properties of a Matrix object,
12
- * applying that Matrix object to the matrix property of a Transform object,
13
- * and then applying that Transform object as the transform property of the display object.
14
- * These transformation functions include translation (x and y repositioning), rotation, scaling, and skewing.
15
- *
16
- * @example <caption>Example usage of Matrix.</caption>
17
- * // new Matrix
18
- * const {Matrix} = next2d.geom;
19
- * const matrix = new Matrix();
20
- * // set new Matrix
21
- * const {MovieClip} = next2d.display;
22
- * const movieClip = new MovieClip();
23
- * movieClip.transform.matrix = matrix;
24
- *
25
- * @class
26
- * @memberOf next2d.geom
27
- */
28
- export class Matrix {
29
- /**
30
- * @param {number} [a=1]
31
- * @param {number} [b=0]
32
- * @param {number} [c=0]
33
- * @param {number} [d=1]
34
- * @param {number} [tx=0]
35
- * @param {number} [ty=0]
36
- *
37
- * @constructor
38
- * @public
39
- */
40
- constructor(a = 1, b = 0, c = 0, d = 1, tx = 0, ty = 0) {
41
- /**
42
- * @type {Float32Array}
43
- * @private
44
- */
45
- this._$matrix = $getFloat32Array6(1, 0, 0, 1, 0, 0);
46
- // setup
47
- this.a = a;
48
- this.b = b;
49
- this.c = c;
50
- this.d = d;
51
- this.tx = tx;
52
- this.ty = ty;
53
- }
54
- /**
55
- * 指定されたクラスのストリングを返します。
56
- * Returns the string representation of the specified class.
57
- *
58
- * @return {string}
59
- * @default [class Matrix]
60
- * @method
61
- * @static
62
- */
63
- static toString() {
64
- return "[class Matrix]";
65
- }
66
- /**
67
- * @description 指定されたクラスの空間名を返します。
68
- * Returns the space name of the specified class.
69
- *
70
- * @member {string}
71
- * @default next2d.geom.Matrix
72
- * @const
73
- * @static
74
- */
75
- static get namespace() {
76
- return "next2d.geom.Matrix";
77
- }
78
- /**
79
- * @description 指定されたオブジェクトのストリングを返します。
80
- * Returns the string representation of the specified object.
81
- *
82
- * @return {string}
83
- * @method
84
- * @public
85
- */
86
- toString() {
87
- return `(a=${this.a}, b=${this.b}, c=${this.c}, d=${this.d}, tx=${this.tx}, ty=${this.ty})`;
88
- }
89
- /**
90
- * @description 指定されたオブジェクトの空間名を返します。
91
- * Returns the space name of the specified object.
92
- *
93
- * @member {string}
94
- * @default next2d.geom.Matrix
95
- * @const
96
- * @public
97
- */
98
- get namespace() {
99
- return "next2d.geom.Matrix";
100
- }
101
- /**
102
- * @description イメージを拡大 / 縮小または回転するときに x 軸方向のピクセルの配置に影響を与える値です。
103
- * The value that affects the positioning
104
- * of pixels along the x axis when scaling or rotating an image.
105
- *
106
- * @member {number}
107
- * @default 1
108
- * @public
109
- */
110
- get a() {
111
- return this._$matrix[0];
112
- }
113
- set a(a) {
114
- this._$matrix[0] = $clamp(+a, $SHORT_INT_MIN, $SHORT_INT_MAX, 0);
115
- }
116
- /**
117
- * @description イメージを回転または傾斜させるときに y 軸方向のピクセルの配置に影響を与える値です。
118
- * The value that affects the positioning
119
- * of pixels along the y axis when rotating or skewing an image.
120
- *
121
- * @member {number}
122
- * @default 0
123
- * @public
124
- */
125
- get b() {
126
- return this._$matrix[1];
127
- }
128
- set b(b) {
129
- this._$matrix[1] = $clamp(+b, $SHORT_INT_MIN, $SHORT_INT_MAX, 0);
130
- }
131
- /**
132
- * @description イメージを回転または傾斜させるときに x 軸方向のピクセルの配置に影響を与える値です。
133
- * The value that affects the positioning
134
- * of pixels along the x axis when rotating or skewing an image.
135
- *
136
- * @member {number}
137
- * @default 0
138
- * @public
139
- */
140
- get c() {
141
- return this._$matrix[2];
142
- }
143
- set c(c) {
144
- this._$matrix[2] = $clamp(+c, $SHORT_INT_MIN, $SHORT_INT_MAX, 0);
145
- }
146
- /**
147
- * @description イメージを拡大 / 縮小または回転するときに y 軸方向のピクセルの配置に影響を与える値です。
148
- * The value that affects the positioning
149
- * of pixels along the y axis when scaling or rotating an image.
150
- *
151
- * @member {number}
152
- * @default 1
153
- * @public
154
- */
155
- get d() {
156
- return this._$matrix[3];
157
- }
158
- set d(d) {
159
- this._$matrix[3] = $clamp(+d, $SHORT_INT_MIN, $SHORT_INT_MAX, 0);
160
- }
161
- /**
162
- * @description x 軸方向に各ポイントを平行移動する距離です。
163
- * The distance by which to translate each point along the x axis.
164
- *
165
- * @member {number}
166
- * @default 0
167
- * @public
168
- */
169
- get tx() {
170
- return this._$matrix[4];
171
- }
172
- set tx(tx) {
173
- this._$matrix[4] = $clamp(+tx, $SHORT_INT_MIN, $SHORT_INT_MAX, 0);
174
- }
175
- /**
176
- * @description y 軸方向に各ポイントを平行移動する距離です。
177
- * The distance by which to translate each point along the y axis.
178
- *
179
- * @member {number}
180
- * @default 0
181
- * @public
182
- */
183
- get ty() {
184
- return this._$matrix[5];
185
- }
186
- set ty(ty) {
187
- this._$matrix[5] = $clamp(+ty, $SHORT_INT_MIN, $SHORT_INT_MAX, 0);
188
- }
189
- /**
190
- * @return {Matrix}
191
- * @method
192
- * @private
193
- */
194
- _$clone() {
195
- return this.clone();
196
- }
197
- /**
198
- * @description 新しい Matrix オブジェクトとして、このマトリックスのクローンを返します。
199
- * 含まれるオブジェクトはまったく同じコピーになります。
200
- * Returns a new Matrix object that is a clone of this matrix,
201
- * with an exact copy of the contained object.
202
- *
203
- * @return {Matrix}
204
- * @method
205
- * @public
206
- */
207
- clone() {
208
- return $getMatrix(this._$matrix[0], this._$matrix[1], this._$matrix[2], this._$matrix[3], this._$matrix[4], this._$matrix[5]);
209
- }
210
- /**
211
- * @description マトリックスを現在のマトリックスと連結して、
212
- * 2 つのマトリックスの図形効果を効果的に組み合わせます。
213
- * Concatenates a matrix with the current matrix,
214
- * effectively combining the geometric effects of the two.
215
- *
216
- * @param {Matrix} m
217
- * @return {void}
218
- * @method
219
- * @public
220
- */
221
- concat(m) {
222
- const matrix = this._$matrix;
223
- const target = m._$matrix;
224
- let a = matrix[0] * target[0];
225
- let b = 0.0;
226
- let c = 0.0;
227
- let d = matrix[3] * target[3];
228
- let tx = matrix[4] * target[0] + target[4];
229
- let ty = matrix[5] * target[3] + target[5];
230
- if (matrix[1] || matrix[2] || target[1] || target[2]) {
231
- a += matrix[1] * target[2];
232
- d += matrix[2] * target[1];
233
- b += matrix[0] * target[1] + matrix[1] * target[3];
234
- c += matrix[2] * target[0] + matrix[3] * target[2];
235
- tx += matrix[5] * target[2];
236
- ty += matrix[4] * target[1];
237
- }
238
- this.a = a;
239
- this.b = b;
240
- this.c = c;
241
- this.d = d;
242
- this.tx = tx;
243
- this.ty = ty;
244
- }
245
- /**
246
- * @description すべてのマトリックスデータを、ソース Matrix オブジェクトから、
247
- * 呼び出し元の Matrix オブジェクトにコピーします。
248
- *
249
- * @param {Matrix} source_matrix
250
- * @method
251
- * @return {void}
252
- */
253
- copyFrom(source_matrix) {
254
- this.a = source_matrix.a;
255
- this.b = source_matrix.b;
256
- this.c = source_matrix.c;
257
- this.d = source_matrix.d;
258
- this.tx = source_matrix.tx;
259
- this.ty = source_matrix.ty;
260
- }
261
- /**
262
- * @description 拡大 / 縮小、回転、平行移動に関するパラメーターなどがあります。
263
- * Includes parameters for scaling, rotation, and translation.
264
- *
265
- * @param {number} scale_x
266
- * @param {number} scale_y
267
- * @param {number} [rotation=0]
268
- * @param {number} [tx=0]
269
- * @param {number} [ty=0]
270
- * @return {void}
271
- * @method
272
- * @public
273
- */
274
- createBox(scale_x, scale_y, rotation = 0, tx = 0, ty = 0) {
275
- this.identity();
276
- this.rotate(rotation);
277
- this.scale(scale_x, scale_y);
278
- this.translate(tx, ty);
279
- }
280
- /**
281
- * @description Graphics クラスの beginGradientFill() メソッドで使用する特定のスタイルを作成します。
282
- * Creates the specific style of matrix expected
283
- * by the beginGradientFill() and lineGradientStyle() methods of the Graphics class.
284
- *
285
- * @param {number} width
286
- * @param {number} height
287
- * @param {number} [rotation=0]
288
- * @param {number} [tx=0]
289
- * @param {number} [ty=0]
290
- * @return {void}
291
- * @method
292
- * @public
293
- */
294
- createGradientBox(width, height, rotation = 0, tx = 0, ty = 0) {
295
- this.createBox(width / 1638.4, height / 1638.4, rotation, tx + width / 2, ty + height / 2);
296
- }
297
- /**
298
- * @description 変換前の座標空間内のポイントが指定されると、そのポイントの変換後の座標を返します。
299
- * Given a point in the pretransform coordinate space,
300
- * returns the coordinates of that point after the transformation occurs.
301
- *
302
- * @param {Point} point
303
- * @return {Point}
304
- * @method
305
- * @public
306
- */
307
- deltaTransformPoint(point) {
308
- return new Point(point.x * this._$matrix[0] + point.y * this._$matrix[2], point.x * this._$matrix[1] + point.y * this._$matrix[3]);
309
- }
310
- /**
311
- * @description 各行列プロパティを null 変換になる値に設定します。
312
- * Sets each matrix property to a value that causes a null transformation.
313
- *
314
- * @return {void}
315
- * @method
316
- * @public
317
- */
318
- identity() {
319
- this._$matrix[0] = 1;
320
- this._$matrix[1] = 0;
321
- this._$matrix[2] = 0;
322
- this._$matrix[3] = 1;
323
- this._$matrix[4] = 0;
324
- this._$matrix[5] = 0;
325
- }
326
- /**
327
- * @description 元のマトリックスの逆の変換を実行します。
328
- * Performs the opposite transformation of the original matrix.
329
- *
330
- * @return {void}
331
- * @method
332
- * @public
333
- */
334
- invert() {
335
- const a = this._$matrix[0];
336
- const b = this._$matrix[1];
337
- const c = this._$matrix[2];
338
- const d = this._$matrix[3];
339
- const tx = this._$matrix[4];
340
- const ty = this._$matrix[5];
341
- if (b === 0 && c === 0) {
342
- this.a = 1 / a;
343
- this.b = 0;
344
- this.c = 0;
345
- this.d = 1 / d;
346
- this.tx = -this.a * tx;
347
- this.ty = -this.d * ty;
348
- }
349
- else {
350
- const det = a * d - b * c;
351
- if (det) {
352
- const rdet = 1 / det;
353
- this.a = d * rdet;
354
- this.b = -b * rdet;
355
- this.c = -c * rdet;
356
- this.d = a * rdet;
357
- this.tx = -(this.a * tx + this.c * ty);
358
- this.ty = -(this.b * tx + this.d * ty);
359
- }
360
- }
361
- }
362
- /**
363
- * @description Matrix オブジェクトに回転変換を適用します。
364
- * Applies a rotation transformation to the Matrix object.
365
- *
366
- * @param {number} rotation
367
- * @return {void}
368
- * @method
369
- * @public
370
- */
371
- rotate(rotation) {
372
- const a = this._$matrix[0];
373
- const b = this._$matrix[1];
374
- const c = this._$matrix[2];
375
- const d = this._$matrix[3];
376
- const tx = this._$matrix[4];
377
- const ty = this._$matrix[5];
378
- this.a = a * $Math.cos(rotation) - b * $Math.sin(rotation);
379
- this.b = a * $Math.sin(rotation) + b * $Math.cos(rotation);
380
- this.c = c * $Math.cos(rotation) - d * $Math.sin(rotation);
381
- this.d = c * $Math.sin(rotation) + d * $Math.cos(rotation);
382
- this.tx = tx * $Math.cos(rotation) - ty * $Math.sin(rotation);
383
- this.ty = tx * $Math.sin(rotation) + ty * $Math.cos(rotation);
384
- }
385
- /**
386
- * @description 行列に拡大 / 縮小の変換を適用します。
387
- * Applies a scaling transformation to the matrix.
388
- *
389
- * @param {number} sx
390
- * @param {number} sy
391
- * @return {void}
392
- * @method
393
- * @public
394
- */
395
- scale(sx, sy) {
396
- this.a *= sx;
397
- this.c *= sx;
398
- this.tx *= sx;
399
- this.b *= sy;
400
- this.d *= sy;
401
- this.ty *= sy;
402
- }
403
- /**
404
- * @description Matrix のメンバーを指定の値に設定します。
405
- * Sets the members of Matrix to the specified values
406
- *
407
- * @param {number} a
408
- * @param {number} b
409
- * @param {number} c
410
- * @param {number} d
411
- * @param {number} tx
412
- * @param {number} ty
413
- * @return {void}
414
- * @method
415
- * @public
416
- */
417
- setTo(a, b, c, d, tx, ty) {
418
- this.a = a;
419
- this.b = b;
420
- this.c = c;
421
- this.d = d;
422
- this.tx = tx;
423
- this.ty = ty;
424
- }
425
- /**
426
- * @description Matrix オブジェクトで表現される図形変換を、指定されたポイントに適用した結果を返します。
427
- * Returns the result of applying the geometric transformation represented
428
- * by the Matrix object to the specified point.
429
- *
430
- * @param {Point} point
431
- * @return {Point}
432
- * @method
433
- * @public
434
- */
435
- transformPoint(point) {
436
- return new Point(point.x * this._$matrix[0] + point.y * this._$matrix[2] + this._$matrix[4], point.x * this._$matrix[1] + point.y * this._$matrix[3] + this._$matrix[5]);
437
- }
438
- /**
439
- * @description 行列を x 軸と y 軸に沿って、
440
- * dx パラメーターと dy パラメーターで指定された量だけ平行移動します。
441
- * Translates the matrix along the x and y axes,
442
- * as specified by the dx and dy parameters.
443
- *
444
- * @param {number} dx
445
- * @param {number} dy
446
- * @return {void}
447
- * @method
448
- * @public
449
- */
450
- translate(dx, dy) {
451
- this.tx += dx;
452
- this.ty += dy;
453
- }
454
- }
@@ -1,213 +0,0 @@
1
- /**
2
- * Point オブジェクトは 2 次元の座標系の位置を表します。
3
- * x は水平方向の軸を表し、y は垂直方向の軸を表します。
4
- *
5
- * The Point object represents a location in a two-dimensional coordinate system,
6
- * where x represents the horizontal axis and y represents the vertical axis.
7
- *
8
- * @example <caption>Example usage of Point.</caption>
9
- * // new Point
10
- * const {Point} = next2d.geom;
11
- * const point = new Point();
12
- *
13
- * @class
14
- * @memberOf next2d.geom
15
- */
16
- export declare class Point {
17
- private _$x;
18
- private _$y;
19
- /**
20
- * @param {number} [x=0]
21
- * @param {number} [y=0]
22
- *
23
- * @constructor
24
- * @public
25
- */
26
- constructor(x?: number, y?: number);
27
- /**
28
- * 指定されたクラスのストリングを返します。
29
- * Returns the string representation of the specified class.
30
- *
31
- * @return {string}
32
- * @default [class Point]
33
- * @method
34
- * @static
35
- */
36
- static toString(): string;
37
- /**
38
- * @description 指定されたクラスの空間名を返します。
39
- * Returns the space name of the specified class.
40
- *
41
- * @member {string}
42
- * @default next2d.geom.Point
43
- * @const
44
- * @static
45
- */
46
- static get namespace(): string;
47
- /**
48
- * @description 指定されたオブジェクトのストリングを返します。
49
- * Returns the string representation of the specified object.
50
- *
51
- * @return {string}
52
- * @method
53
- * @public
54
- */
55
- toString(): string;
56
- /**
57
- * @description 指定されたオブジェクトの空間名を返します。
58
- * Returns the space name of the specified object.
59
- *
60
- * @member {string}
61
- * @default next2d.geom.Point
62
- * @const
63
- * @public
64
- */
65
- get namespace(): string;
66
- /**
67
- * @description (0,0) からこのポイントまでの線のセグメントの長さです。
68
- * The length of the line segment from (0,0) to this point.
69
- *
70
- * @member {number}
71
- * @default 0
72
- * @readonly
73
- * @public
74
- */
75
- get length(): number;
76
- /**
77
- * @description ポイントの水平座標です。
78
- * The horizontal coordinate of the point.
79
- *
80
- * @member {number}
81
- * @default 0
82
- * @public
83
- */
84
- get x(): number;
85
- set x(x: number);
86
- /**
87
- * @description ポイントの垂直座標です。
88
- * The vertical coordinate of the point.
89
- *
90
- * @member {number}
91
- * @default 0
92
- * @public
93
- */
94
- get y(): number;
95
- set y(y: number);
96
- /**
97
- * @description このポイントの座標に他のポイントの座標を加算して、新しいポイントを作成します。
98
- * Adds the coordinates of another point
99
- * to the coordinates of this point to create a new point.
100
- *
101
- * @param {Point} v
102
- * @returns {Point}
103
- * @method
104
- * @public
105
- */
106
- add(v: Point): Point;
107
- /**
108
- * @description この Point オブジェクトのコピーを作成します。
109
- * Creates a copy of this Point object.
110
- *
111
- * @returns {Point}
112
- * @method
113
- * @public
114
- */
115
- clone(): Point;
116
- /**
117
- * @description すべてのポイントデータを、ソース Point オブジェクトから、
118
- * 呼び出し元の Point オブジェクトにコピーします。
119
- * Copies all of the point data from
120
- * the source Point object into the calling Point object.
121
- *
122
- * @param {Point} source_point
123
- * @returns void
124
- * @public
125
- */
126
- copyFrom(source_point: Point): void;
127
- /**
128
- * @description point1 と point2 との距離を返します。
129
- * Returns the distance between point1 and point2.
130
- *
131
- * @param {Point} point1
132
- * @param {Point} point2
133
- * @return {number}
134
- * @method
135
- * @static
136
- */
137
- static distance(point1: Point, point2: Point): number;
138
- /**
139
- * @description 2 つのポイントが等しいかどうかを判別します。
140
- * Determines whether two points are equal.
141
- *
142
- * @param {Point} to_compare
143
- * @return {boolean}
144
- * @method
145
- * @public
146
- */
147
- equals(to_compare: Point): boolean;
148
- /**
149
- * @description 2 つの指定されたポイント間にあるポイントを判別します。
150
- * Determines a point between two specified points.
151
- *
152
- * @param {Point} point1
153
- * @param {Point} point2
154
- * @param {number} f
155
- * @return {Point}
156
- * @static
157
- */
158
- static interpolate(point1: Point, point2: Point, f: number): Point;
159
- /**
160
- * @description (0,0) と現在のポイント間の線のセグメントを設定された長さに拡大 / 縮小します。
161
- * Scales the line segment between (0,0) and the current point to a set length.
162
- *
163
- * @param {number} thickness
164
- * @return {void}
165
- * @method
166
- * @public
167
- */
168
- normalize(thickness: number): void;
169
- /**
170
- * @description Point オブジェクトを指定された量だけオフセットします。
171
- * Offsets the Point object by the specified amount.
172
- *
173
- * @param {number} dx
174
- * @param {number} dy
175
- * @return {Point}
176
- * @method
177
- * @public
178
- */
179
- offset(dx: number, dy: number): void;
180
- /**
181
- * @description 極座標ペアを直交点座標に変換します。
182
- * Converts a pair of polar coordinates to a Cartesian point coordinate.
183
- *
184
- * @param {number} len
185
- * @param {number} angle
186
- * @return {Point}
187
- * @method
188
- * @static
189
- */
190
- static polar(len: number, angle: number): Point;
191
- /**
192
- * @description Point のメンバーを指定の値に設定します。
193
- * Sets the members of Point to the specified values
194
- *
195
- * @param {number} xa
196
- * @param {number} ya
197
- * @return {void}
198
- * @method
199
- * @public
200
- */
201
- setTo(xa: number, ya: number): void;
202
- /**
203
- * @description このポイントの座標から他のポイントの座標を減算して、新しいポイントを作成します。
204
- * Subtracts the coordinates of another point
205
- * from the coordinates of this point to create a new point.
206
- *
207
- * @param {Point} v
208
- * @return {Point}
209
- * @method
210
- * @public
211
- */
212
- subtract(v: Point): Point;
213
- }