@next2d/player 1.14.17 → 1.14.19
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.
- package/{dist/player/index.js → index.js} +1 -1
- package/{dist/interface → interface}/AjaxOptionImpl.d.ts +1 -1
- package/interface/DisplayImpl.d.ts +28 -0
- package/interface/DisplayObjectImpl.d.ts +2 -0
- package/{dist/interface → interface}/DragRulesImpl.d.ts +1 -1
- package/{dist/interface → interface}/DropTargetImpl.d.ts +1 -1
- package/interface/EventDispatcherImpl.d.ts +2 -0
- package/interface/EventsImpl.d.ts +20 -0
- package/interface/FilterArrayImpl.d.ts +10 -0
- package/interface/FiltersImpl.d.ts +20 -0
- package/interface/GeomImpl.d.ts +12 -0
- package/interface/GraphicsParentImpl.d.ts +2 -0
- package/interface/MediaImpl.d.ts +10 -0
- package/interface/NetImpl.d.ts +6 -0
- package/interface/ParentImpl.d.ts +2 -0
- package/interface/SpriteImpl.d.ts +2 -0
- package/{dist/interface → interface}/TextBreakObjectImpl.d.ts +1 -1
- package/interface/TextImpl.d.ts +6 -0
- package/{dist/interface → interface}/TextObjectImpl.d.ts +1 -1
- package/interface/UIImpl.d.ts +8 -0
- package/{dist/interface → interface}/UnzipQueueImpl.d.ts +1 -1
- package/{dist/player/next2d → next2d}/display/BitmapData.d.ts +1 -1
- package/{dist/player/next2d → next2d}/display/BitmapData.js +0 -7
- package/{dist/player/next2d → next2d}/display/DisplayObject.d.ts +10 -10
- package/{dist/player/next2d → next2d}/display/DisplayObject.js +14 -47
- package/{dist/player/next2d → next2d}/display/DisplayObjectContainer.d.ts +7 -7
- package/{dist/player/next2d → next2d}/display/DisplayObjectContainer.js +25 -9
- package/{dist/player/next2d → next2d}/display/FrameLabel.js +0 -2
- package/{dist/player/next2d → next2d}/display/Graphics.d.ts +9 -9
- package/{dist/player/next2d → next2d}/display/Graphics.js +0 -32
- package/{dist/player/next2d → next2d}/display/GraphicsBitmapFill.js +0 -4
- package/{dist/player/next2d → next2d}/display/GraphicsGradientFill.d.ts +2 -2
- package/{dist/player/next2d → next2d}/display/GraphicsGradientFill.js +0 -9
- package/{dist/player/next2d → next2d}/display/InteractiveObject.js +0 -1
- package/{dist/player/next2d → next2d}/display/Loader.d.ts +2 -2
- package/{dist/player/next2d → next2d}/display/Loader.js +11 -2
- package/{dist/player/next2d → next2d}/display/LoaderInfo.d.ts +3 -3
- package/{dist/player/next2d → next2d}/display/LoaderInfo.js +0 -7
- package/{dist/player/next2d → next2d}/display/LoopConfig.js +0 -4
- package/{dist/player/next2d → next2d}/display/MovieClip.d.ts +5 -5
- package/{dist/player/next2d → next2d}/display/MovieClip.js +0 -16
- package/{dist/player/next2d → next2d}/display/Shape.d.ts +7 -7
- package/{dist/player/next2d → next2d}/display/Shape.js +0 -4
- package/{dist/player/next2d → next2d}/display/Sprite.d.ts +5 -5
- package/{dist/player/next2d → next2d}/display/Sprite.js +0 -5
- package/{dist/player/next2d → next2d}/display/Stage.d.ts +1 -1
- package/{dist/player/next2d → next2d}/display/Stage.js +0 -4
- package/{dist/player/next2d → next2d}/events/Event.d.ts +5 -5
- package/{dist/player/next2d → next2d}/events/Event.js +0 -9
- package/{dist/player/next2d → next2d}/events/EventDispatcher.d.ts +1 -1
- package/{dist/player/next2d → next2d}/events/EventDispatcher.js +0 -1
- package/{dist/player/next2d → next2d}/events/HTTPStatusEvent.js +0 -3
- package/{dist/player/next2d → next2d}/events/IOErrorEvent.js +0 -1
- package/{dist/player/next2d → next2d}/events/ProgressEvent.js +0 -2
- package/{dist/player/next2d → next2d}/events/VideoEvent.js +0 -2
- package/{dist/player/next2d → next2d}/filters/BevelFilter.d.ts +3 -3
- package/{dist/player/next2d → next2d}/filters/BevelFilter.js +0 -10
- package/{dist/player/next2d → next2d}/filters/BitmapFilter.js +0 -1
- package/{dist/player/next2d → next2d}/filters/BlurFilter.d.ts +2 -2
- package/{dist/player/next2d → next2d}/filters/BlurFilter.js +0 -3
- package/{dist/player/next2d → next2d}/filters/ColorMatrixFilter.d.ts +1 -1
- package/{dist/player/next2d → next2d}/filters/ColorMatrixFilter.js +0 -1
- package/{dist/player/next2d → next2d}/filters/ConvolutionFilter.d.ts +1 -1
- package/{dist/player/next2d → next2d}/filters/ConvolutionFilter.js +0 -9
- package/{dist/player/next2d → next2d}/filters/DisplacementMapFilter.d.ts +3 -3
- package/{dist/player/next2d → next2d}/filters/DisplacementMapFilter.js +0 -9
- package/{dist/player/next2d → next2d}/filters/DropShadowFilter.d.ts +2 -2
- package/{dist/player/next2d → next2d}/filters/DropShadowFilter.js +0 -9
- package/{dist/player/next2d → next2d}/filters/GlowFilter.d.ts +2 -2
- package/{dist/player/next2d → next2d}/filters/GlowFilter.js +0 -6
- package/{dist/player/next2d → next2d}/filters/GradientBevelFilter.d.ts +3 -3
- package/{dist/player/next2d → next2d}/filters/GradientBevelFilter.js +0 -9
- package/{dist/player/next2d → next2d}/filters/GradientGlowFilter.d.ts +3 -3
- package/{dist/player/next2d → next2d}/filters/GradientGlowFilter.js +0 -9
- package/{dist/player/next2d → next2d}/geom/ColorTransform.js +0 -1
- package/{dist/player/next2d → next2d}/geom/Matrix.js +0 -1
- package/{dist/player/next2d → next2d}/geom/Point.js +0 -2
- package/{dist/player/next2d → next2d}/geom/Rectangle.js +0 -4
- package/{dist/player/next2d → next2d}/geom/Transform.d.ts +5 -5
- package/{dist/player/next2d → next2d}/geom/Transform.js +0 -5
- package/{dist/player/next2d → next2d}/media/Sound.d.ts +3 -3
- package/{dist/player/next2d → next2d}/media/Sound.js +0 -11
- package/{dist/player/next2d → next2d}/media/SoundTransform.js +0 -2
- package/{dist/player/next2d → next2d}/media/Video.d.ts +7 -7
- package/{dist/player/next2d → next2d}/media/Video.js +0 -12
- package/{dist/player/next2d → next2d}/net/URLRequest.d.ts +2 -2
- package/{dist/player/next2d → next2d}/net/URLRequest.js +0 -7
- package/{dist/player/next2d → next2d}/net/URLRequestHeader.js +0 -2
- package/{dist/player/next2d → next2d}/text/TextField.d.ts +11 -11
- package/{dist/player/next2d → next2d}/text/TextField.js +0 -43
- package/{dist/player/next2d → next2d}/text/TextFormat.d.ts +1 -1
- package/{dist/player/next2d → next2d}/text/TextFormat.js +0 -13
- package/{dist/player/next2d → next2d}/ui/Job.js +0 -11
- package/package.json +8 -12
- package/packages/Display.d.ts +3 -0
- package/packages/Events.d.ts +3 -0
- package/packages/Filters.d.ts +3 -0
- package/packages/Geom.d.ts +3 -0
- package/packages/Media.d.ts +3 -0
- package/packages/Net.d.ts +3 -0
- package/packages/Text.d.ts +3 -0
- package/packages/UI.d.ts +3 -0
- package/{dist/player/player → player}/Next2D.d.ts +9 -9
- package/{dist/player/player → player}/Next2D.js +0 -10
- package/{dist/player/player → player}/Player.d.ts +6 -6
- package/{dist/player/player → player}/Player.js +1 -50
- package/{dist/player/util → util}/CacheStore.d.ts +1 -1
- package/{dist/player/util → util}/CacheStore.js +0 -4
- package/{dist/player/util → util}/RenderUtil.d.ts +3 -3
- package/{dist/player/util → util}/Util.d.ts +7 -7
- package/util/Util.js +844 -0
- package/{dist/webgl → webgl}/BezierConverter.js +1 -2
- package/{dist/webgl → webgl}/CanvasGradientToWebGL.js +1 -7
- package/{dist/webgl → webgl}/CanvasPatternToWebGL.js +0 -4
- package/{dist/webgl → webgl}/CanvasToWebGLContext.js +1 -33
- package/{dist/webgl → webgl}/CanvasToWebGLContextBlend.js +1 -5
- package/{dist/webgl → webgl}/CanvasToWebGLContextGrid.d.ts +1 -1
- package/{dist/webgl → webgl}/CanvasToWebGLContextGrid.js +1 -32
- package/{dist/webgl → webgl}/CanvasToWebGLContextMask.js +1 -8
- package/{dist/webgl → webgl}/CanvasToWebGLContextPath.js +1 -4
- package/{dist/webgl → webgl}/CanvasToWebGLContextStyle.js +1 -7
- package/{dist/webgl → webgl}/ColorBufferPool.js +1 -4
- package/{dist/webgl → webgl}/FrameBufferManager.js +0 -9
- package/{dist/webgl → webgl}/StencilBufferPool.js +1 -6
- package/{dist/webgl → webgl}/TextureManager.js +0 -7
- package/{dist/webgl → webgl}/VertexArrayObjectManager.js +1 -13
- package/{dist/webgl → webgl}/WebGLFillMeshGenerator.js +2 -5
- package/{dist/webgl → webgl}/WebGLStrokeMeshGenerator.js +13 -19
- package/{dist/webgl → webgl}/shader/CanvasToWebGLShader.js +1 -5
- package/{dist/webgl → webgl}/shader/CanvasToWebGLShaderList.js +0 -6
- package/{dist/webgl → webgl}/shader/GradientLUTGenerator.js +1 -7
- package/{dist/webgl → webgl}/shader/WebGLShaderUniform.js +1 -4
- package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSourceGradientLUT.js +1 -1
- package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceConvolutionFilter.js +1 -1
- package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceFilter.js +1 -1
- package/{dist/webgl → webgl}/shader/variants/BlendShaderVariantCollection.js +1 -4
- package/{dist/webgl → webgl}/shader/variants/FilterShaderVariantCollection.js +1 -4
- package/{dist/webgl → webgl}/shader/variants/GradientLUTShaderVariantCollection.js +1 -4
- package/{dist/webgl → webgl}/shader/variants/GradientShapeShaderVariantCollection.js +1 -4
- package/{dist/webgl → webgl}/shader/variants/ShapeShaderVariantCollection.js +1 -4
- package/dist/interface/DisplayImpl.d.ts +0 -28
- package/dist/interface/DisplayObjectImpl.d.ts +0 -2
- package/dist/interface/EventDispatcherImpl.d.ts +0 -2
- package/dist/interface/EventsImpl.d.ts +0 -20
- package/dist/interface/FilterArrayImpl.d.ts +0 -10
- package/dist/interface/FiltersImpl.d.ts +0 -20
- package/dist/interface/GeomImpl.d.ts +0 -12
- package/dist/interface/GraphicsParentImpl.d.ts +0 -2
- package/dist/interface/MediaImpl.d.ts +0 -10
- package/dist/interface/NetImpl.d.ts +0 -6
- package/dist/interface/ParentImpl.d.ts +0 -2
- package/dist/interface/SpriteImpl.d.ts +0 -2
- package/dist/interface/TextImpl.d.ts +0 -6
- package/dist/interface/UIImpl.d.ts +0 -8
- package/dist/player/packages/Display.d.ts +0 -3
- package/dist/player/packages/Events.d.ts +0 -3
- package/dist/player/packages/Filters.d.ts +0 -3
- package/dist/player/packages/Geom.d.ts +0 -3
- package/dist/player/packages/Media.d.ts +0 -3
- package/dist/player/packages/Net.d.ts +0 -3
- package/dist/player/packages/Text.d.ts +0 -3
- package/dist/player/packages/UI.d.ts +0 -3
- package/dist/player/util/Util.js +0 -844
- /package/{dist/player/index.d.ts → index.d.ts} +0 -0
- /package/{dist/interface → interface}/AjaxEventImpl.d.ts +0 -0
- /package/{dist/interface → interface}/AjaxEventImpl.js +0 -0
- /package/{dist/interface → interface}/AjaxOptionImpl.js +0 -0
- /package/{dist/interface → interface}/AttachmentImpl.d.ts +0 -0
- /package/{dist/interface → interface}/AttachmentImpl.js +0 -0
- /package/{dist/interface → interface}/BitmapDataChannelImpl.d.ts +0 -0
- /package/{dist/interface → interface}/BitmapDataChannelImpl.js +0 -0
- /package/{dist/interface → interface}/BitmapDrawObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/BitmapDrawObjectImpl.js +0 -0
- /package/{dist/interface → interface}/BitmapFilterTypeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/BitmapFilterTypeImpl.js +0 -0
- /package/{dist/interface → interface}/BlendModeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/BlendModeImpl.js +0 -0
- /package/{dist/interface → interface}/BoundsImpl.d.ts +0 -0
- /package/{dist/interface → interface}/BoundsImpl.js +0 -0
- /package/{dist/interface → interface}/Character.d.ts +0 -0
- /package/{dist/interface → interface}/Character.js +0 -0
- /package/{dist/interface → interface}/CharacterImpl.d.ts +0 -0
- /package/{dist/interface → interface}/CharacterImpl.js +0 -0
- /package/{dist/interface → interface}/ClipObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/ClipObjectImpl.js +0 -0
- /package/{dist/interface → interface}/ColorStopImpl.d.ts +0 -0
- /package/{dist/interface → interface}/ColorStopImpl.js +0 -0
- /package/{dist/interface → interface}/DictionaryTagImpl.d.ts +0 -0
- /package/{dist/interface → interface}/DictionaryTagImpl.js +0 -0
- /package/{dist/interface → interface}/DisplacementMapFilterModeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/DisplacementMapFilterModeImpl.js +0 -0
- /package/{dist/interface → interface}/DisplayImpl.js +0 -0
- /package/{dist/interface → interface}/DisplayObjectImpl.js +0 -0
- /package/{dist/interface → interface}/DragRulesImpl.js +0 -0
- /package/{dist/interface → interface}/DropTargetImpl.js +0 -0
- /package/{dist/interface → interface}/EventDispatcherImpl.js +0 -0
- /package/{dist/interface → interface}/EventListenerImpl.d.ts +0 -0
- /package/{dist/interface → interface}/EventListenerImpl.js +0 -0
- /package/{dist/interface → interface}/EventsImpl.js +0 -0
- /package/{dist/interface → interface}/FillMeshImpl.d.ts +0 -0
- /package/{dist/interface → interface}/FillMeshImpl.js +0 -0
- /package/{dist/interface → interface}/FilterArrayImpl.js +0 -0
- /package/{dist/interface → interface}/FilterQualityImpl.d.ts +0 -0
- /package/{dist/interface → interface}/FilterQualityImpl.js +0 -0
- /package/{dist/interface → interface}/FiltersImpl.js +0 -0
- /package/{dist/interface → interface}/GeomImpl.js +0 -0
- /package/{dist/interface → interface}/GradientTypeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/GradientTypeImpl.js +0 -0
- /package/{dist/interface → interface}/GraphicsParentImpl.js +0 -0
- /package/{dist/interface → interface}/GridImpl.d.ts +0 -0
- /package/{dist/interface → interface}/GridImpl.js +0 -0
- /package/{dist/interface → interface}/ImageTypeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/ImageTypeImpl.js +0 -0
- /package/{dist/interface → interface}/IndexRangeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/IndexRangeImpl.js +0 -0
- /package/{dist/interface → interface}/LoaderInfoDataImpl.d.ts +0 -0
- /package/{dist/interface → interface}/LoaderInfoDataImpl.js +0 -0
- /package/{dist/interface → interface}/LoopConfigImpl.d.ts +0 -0
- /package/{dist/interface → interface}/LoopConfigImpl.js +0 -0
- /package/{dist/interface → interface}/LoopTypeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/LoopTypeImpl.js +0 -0
- /package/{dist/interface → interface}/MediaImpl.js +0 -0
- /package/{dist/interface → interface}/MovieClipActionObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/MovieClipActionObjectImpl.js +0 -0
- /package/{dist/interface → interface}/MovieClipCharacterImpl.d.ts +0 -0
- /package/{dist/interface → interface}/MovieClipCharacterImpl.js +0 -0
- /package/{dist/interface → interface}/MovieClipLabelObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/MovieClipLabelObjectImpl.js +0 -0
- /package/{dist/interface → interface}/MovieClipSoundObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/MovieClipSoundObjectImpl.js +0 -0
- /package/{dist/interface → interface}/NetImpl.js +0 -0
- /package/{dist/interface → interface}/NoCodeDataImpl.d.ts +0 -0
- /package/{dist/interface → interface}/NoCodeDataImpl.js +0 -0
- /package/{dist/interface → interface}/NoCodeDataZlibImpl.d.ts +0 -0
- /package/{dist/interface → interface}/NoCodeDataZlibImpl.js +0 -0
- /package/{dist/interface → interface}/ParentImpl.js +0 -0
- /package/{dist/interface → interface}/PlaceObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PlaceObjectImpl.js +0 -0
- /package/{dist/interface → interface}/PlayerHitObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PlayerHitObjectImpl.js +0 -0
- /package/{dist/interface → interface}/PlayerModeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PlayerModeImpl.js +0 -0
- /package/{dist/interface → interface}/PlayerOptionsImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PlayerOptionsImpl.js +0 -0
- /package/{dist/interface → interface}/PointImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PointImpl.js +0 -0
- /package/{dist/interface → interface}/PreObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PreObjectImpl.js +0 -0
- /package/{dist/interface → interface}/PropertyBitmapDataMessageImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PropertyBitmapDataMessageImpl.js +0 -0
- /package/{dist/interface → interface}/PropertyContainerMessageImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PropertyContainerMessageImpl.js +0 -0
- /package/{dist/interface → interface}/PropertyMessageImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PropertyMessageImpl.js +0 -0
- /package/{dist/interface → interface}/PropertyMessageMapImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PropertyMessageMapImpl.js +0 -0
- /package/{dist/interface → interface}/PropertyShapeMessageImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PropertyShapeMessageImpl.js +0 -0
- /package/{dist/interface → interface}/PropertyTextMessageImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PropertyTextMessageImpl.js +0 -0
- /package/{dist/interface → interface}/PropertyVideoMessageImpl.d.ts +0 -0
- /package/{dist/interface → interface}/PropertyVideoMessageImpl.js +0 -0
- /package/{dist/interface → interface}/RGBAImpl.d.ts +0 -0
- /package/{dist/interface → interface}/RGBAImpl.js +0 -0
- /package/{dist/interface → interface}/ShapeCharacterImpl.d.ts +0 -0
- /package/{dist/interface → interface}/ShapeCharacterImpl.js +0 -0
- /package/{dist/interface → interface}/SoundCharacterImpl.d.ts +0 -0
- /package/{dist/interface → interface}/SoundCharacterImpl.js +0 -0
- /package/{dist/interface → interface}/SoundTagImpl.d.ts +0 -0
- /package/{dist/interface → interface}/SoundTagImpl.js +0 -0
- /package/{dist/interface → interface}/SpriteImpl.js +0 -0
- /package/{dist/interface → interface}/StageDataImpl.d.ts +0 -0
- /package/{dist/interface → interface}/StageDataImpl.js +0 -0
- /package/{dist/interface → interface}/StageQualityImpl.d.ts +0 -0
- /package/{dist/interface → interface}/StageQualityImpl.js +0 -0
- /package/{dist/interface → interface}/StrokeMethImpl.d.ts +0 -0
- /package/{dist/interface → interface}/StrokeMethImpl.js +0 -0
- /package/{dist/interface → interface}/StrokeTypeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/StrokeTypeImpl.js +0 -0
- /package/{dist/interface → interface}/SurfaceFilterImpl.d.ts +0 -0
- /package/{dist/interface → interface}/SurfaceFilterImpl.js +0 -0
- /package/{dist/interface → interface}/TextBreakObjectImpl.js +0 -0
- /package/{dist/interface → interface}/TextCharacterImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextCharacterImpl.js +0 -0
- /package/{dist/interface → interface}/TextDataImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextDataImpl.js +0 -0
- /package/{dist/interface → interface}/TextFieldAutoSizeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextFieldAutoSizeImpl.js +0 -0
- /package/{dist/interface → interface}/TextFieldTypeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextFieldTypeImpl.js +0 -0
- /package/{dist/interface → interface}/TextFormatAlignImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextFormatAlignImpl.js +0 -0
- /package/{dist/interface → interface}/TextFormatVerticalAlignImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextFormatVerticalAlignImpl.js +0 -0
- /package/{dist/interface → interface}/TextImageObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextImageObjectImpl.js +0 -0
- /package/{dist/interface → interface}/TextImpl.js +0 -0
- /package/{dist/interface → interface}/TextObjectImpl.js +0 -0
- /package/{dist/interface → interface}/TextObjectModeImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextObjectModeImpl.js +0 -0
- /package/{dist/interface → interface}/TextStringObjectImpl.d.ts +0 -0
- /package/{dist/interface → interface}/TextStringObjectImpl.js +0 -0
- /package/{dist/interface → interface}/UIImpl.js +0 -0
- /package/{dist/interface → interface}/URLLoaderDataFormatImpl.d.ts +0 -0
- /package/{dist/interface → interface}/URLLoaderDataFormatImpl.js +0 -0
- /package/{dist/interface → interface}/URLRequestMethodImpl.d.ts +0 -0
- /package/{dist/interface → interface}/URLRequestMethodImpl.js +0 -0
- /package/{dist/interface → interface}/UniformDataImpl.d.ts +0 -0
- /package/{dist/interface → interface}/UniformDataImpl.js +0 -0
- /package/{dist/interface → interface}/UnzipQueueImpl.js +0 -0
- /package/{dist/interface → interface}/VerticesImpl.d.ts +0 -0
- /package/{dist/interface → interface}/VerticesImpl.js +0 -0
- /package/{dist/interface → interface}/VideoCharacterImpl.d.ts +0 -0
- /package/{dist/interface → interface}/VideoCharacterImpl.js +0 -0
- /package/{dist/player/next2d → next2d}/display/BlendMode.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/BlendMode.js +0 -0
- /package/{dist/player/next2d → next2d}/display/FrameLabel.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/GraphicsBitmapFill.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/InteractiveObject.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/LoopConfig.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/LoopType.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/LoopType.js +0 -0
- /package/{dist/player/next2d → next2d}/events/EventPhase.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/events/EventPhase.js +0 -0
- /package/{dist/player/next2d → next2d}/events/FocusEvent.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/events/FocusEvent.js +0 -0
- /package/{dist/player/next2d → next2d}/events/HTTPStatusEvent.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/events/IOErrorEvent.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/events/MouseEvent.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/events/MouseEvent.js +0 -0
- /package/{dist/player/next2d → next2d}/events/ProgressEvent.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/events/VideoEvent.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/filters/BitmapFilter.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/geom/ColorTransform.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/geom/Matrix.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/geom/Point.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/geom/Rectangle.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/media/SoundMixer.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/media/SoundMixer.js +0 -0
- /package/{dist/player/next2d → next2d}/media/SoundTransform.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/net/URLRequestHeader.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/ui/Easing.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/ui/Easing.js +0 -0
- /package/{dist/player/next2d → next2d}/ui/Job.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/ui/Tween.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/ui/Tween.js +0 -0
- /package/{dist/player/packages → packages}/Display.js +0 -0
- /package/{dist/player/packages → packages}/Events.js +0 -0
- /package/{dist/player/packages → packages}/Filters.js +0 -0
- /package/{dist/player/packages → packages}/Geom.js +0 -0
- /package/{dist/player/packages → packages}/Media.js +0 -0
- /package/{dist/player/packages → packages}/Net.js +0 -0
- /package/{dist/player/packages → packages}/Text.js +0 -0
- /package/{dist/player/packages → packages}/UI.js +0 -0
- /package/{dist/player/util → util}/Global.d.ts +0 -0
- /package/{dist/player/util → util}/Global.js +0 -0
- /package/{dist/player/util → util}/RenderUtil.js +0 -0
- /package/{dist/player/util → util}/Shortcut.d.ts +0 -0
- /package/{dist/player/util → util}/Shortcut.js +0 -0
- /package/{dist/webgl → webgl}/BezierConverter.d.ts +0 -0
- /package/{dist/webgl → webgl}/CanvasGradientToWebGL.d.ts +0 -0
- /package/{dist/webgl → webgl}/CanvasPatternToWebGL.d.ts +0 -0
- /package/{dist/webgl → webgl}/CanvasToWebGLContext.d.ts +0 -0
- /package/{dist/webgl → webgl}/CanvasToWebGLContextBlend.d.ts +0 -0
- /package/{dist/webgl → webgl}/CanvasToWebGLContextMask.d.ts +0 -0
- /package/{dist/webgl → webgl}/CanvasToWebGLContextPath.d.ts +0 -0
- /package/{dist/webgl → webgl}/CanvasToWebGLContextStyle.d.ts +0 -0
- /package/{dist/webgl → webgl}/ColorBufferPool.d.ts +0 -0
- /package/{dist/webgl → webgl}/FrameBufferManager.d.ts +0 -0
- /package/{dist/webgl → webgl}/StencilBufferPool.d.ts +0 -0
- /package/{dist/webgl → webgl}/TextureManager.d.ts +0 -0
- /package/{dist/webgl → webgl}/VertexArrayObjectManager.d.ts +0 -0
- /package/{dist/webgl → webgl}/WebGLFillMeshGenerator.d.ts +0 -0
- /package/{dist/webgl → webgl}/WebGLStrokeMeshGenerator.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/CanvasToWebGLShader.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/CanvasToWebGLShaderList.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/GradientLUTGenerator.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/WebGLShaderUniform.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderLibrary.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderLibrary.js +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSource.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSource.js +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSourceBlend.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSourceBlend.js +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSourceGradient.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSourceGradient.js +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSourceGradientLUT.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSourceTexture.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/FragmentShaderSourceTexture.js +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceBlurFilter.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceBlurFilter.js +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceColorMatrixFilter.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceColorMatrixFilter.js +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceConvolutionFilter.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceDisplacementMapFilter.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceDisplacementMapFilter.js +0 -0
- /package/{dist/webgl → webgl}/shader/fragment/filter/FragmentShaderSourceFilter.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/variants/BlendShaderVariantCollection.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/variants/FilterShaderVariantCollection.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/variants/GradientLUTShaderVariantCollection.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/variants/GradientShapeShaderVariantCollection.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/variants/ShapeShaderVariantCollection.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/vertex/VertexShaderLibrary.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/vertex/VertexShaderLibrary.js +0 -0
- /package/{dist/webgl → webgl}/shader/vertex/VertexShaderSource.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/vertex/VertexShaderSource.js +0 -0
- /package/{dist/webgl → webgl}/shader/vertex/VertexShaderSourceFill.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/vertex/VertexShaderSourceFill.js +0 -0
- /package/{dist/webgl → webgl}/shader/vertex/VertexShaderSourceStroke.d.ts +0 -0
- /package/{dist/webgl → webgl}/shader/vertex/VertexShaderSourceStroke.js +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { $currentPlayer, $initialize, $isSafari, $rendererWorker } from "./util/Util";
|
|
3
3
|
import { Next2D } from "./player/Next2D";
|
|
4
4
|
if (!("next2d" in window)) {
|
|
5
|
-
console.log("%c Next2D Player %c 1.14.
|
|
5
|
+
console.log("%c Next2D Player %c 1.14.19 %c https://next2d.app", "color: #fff; background: #5f5f5f", "color: #fff; background: #4bc729", "");
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
window.next2d = new Next2D([new Promise((resolve) => {
|
|
8
8
|
if (document.readyState === "loading") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { URLRequestMethodImpl } from "./URLRequestMethodImpl";
|
|
2
2
|
import { URLLoaderDataFormatImpl } from "./URLLoaderDataFormatImpl";
|
|
3
|
-
import { URLRequestHeader } from "../
|
|
3
|
+
import { URLRequestHeader } from "../next2d/net/URLRequestHeader";
|
|
4
4
|
import { AjaxEventImpl } from "./AjaxEventImpl";
|
|
5
5
|
export interface AjaxOptionImpl {
|
|
6
6
|
url: string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { DisplayObject } from "../next2d/display/DisplayObject";
|
|
2
|
+
import type { InteractiveObject } from "../next2d/display/InteractiveObject";
|
|
3
|
+
import type { DisplayObjectContainer } from "../next2d/display/DisplayObjectContainer";
|
|
4
|
+
import type { BitmapData } from "../next2d/display/BitmapData";
|
|
5
|
+
import type { BlendMode } from "../next2d/display/BlendMode";
|
|
6
|
+
import type { FrameLabel } from "../next2d/display/FrameLabel";
|
|
7
|
+
import type { Graphics } from "../next2d/display/Graphics";
|
|
8
|
+
import type { Loader } from "../next2d/display/Loader";
|
|
9
|
+
import type { LoaderInfo } from "../next2d/display/LoaderInfo";
|
|
10
|
+
import type { MovieClip } from "../next2d/display/MovieClip";
|
|
11
|
+
import type { Shape } from "../next2d/display/Shape";
|
|
12
|
+
import type { Sprite } from "../next2d/display/Sprite";
|
|
13
|
+
import type { Stage } from "../next2d/display/Stage";
|
|
14
|
+
export interface DisplayImpl {
|
|
15
|
+
DisplayObject: typeof DisplayObject;
|
|
16
|
+
InteractiveObject: typeof InteractiveObject;
|
|
17
|
+
DisplayObjectContainer: typeof DisplayObjectContainer;
|
|
18
|
+
BitmapData: typeof BitmapData;
|
|
19
|
+
BlendMode: typeof BlendMode;
|
|
20
|
+
FrameLabel: typeof FrameLabel;
|
|
21
|
+
Graphics: typeof Graphics;
|
|
22
|
+
Loader: typeof Loader;
|
|
23
|
+
LoaderInfo: typeof LoaderInfo;
|
|
24
|
+
MovieClip: typeof MovieClip;
|
|
25
|
+
Shape: typeof Shape;
|
|
26
|
+
Sprite: typeof Sprite;
|
|
27
|
+
Stage: typeof Stage;
|
|
28
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DisplayObject } from "../
|
|
1
|
+
import { DisplayObject } from "../next2d/display/DisplayObject";
|
|
2
2
|
export type DropTargetImpl<T extends DisplayObject = DisplayObject> = T;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Event } from "../next2d/events/Event";
|
|
2
|
+
import { EventDispatcher } from "../next2d/events/EventDispatcher";
|
|
3
|
+
import { EventPhase } from "../next2d/events/EventPhase";
|
|
4
|
+
import { FocusEvent } from "../next2d/events/FocusEvent";
|
|
5
|
+
import { HTTPStatusEvent } from "../next2d/events/HTTPStatusEvent";
|
|
6
|
+
import { IOErrorEvent } from "../next2d/events/IOErrorEvent";
|
|
7
|
+
import { MouseEvent } from "../next2d/events/MouseEvent";
|
|
8
|
+
import { ProgressEvent } from "../next2d/events/ProgressEvent";
|
|
9
|
+
import { VideoEvent } from "../next2d/events/VideoEvent";
|
|
10
|
+
export interface EventsImpl {
|
|
11
|
+
Event: typeof Event;
|
|
12
|
+
EventDispatcher: typeof EventDispatcher;
|
|
13
|
+
EventPhase: typeof EventPhase;
|
|
14
|
+
FocusEvent: typeof FocusEvent;
|
|
15
|
+
HTTPStatusEvent: typeof HTTPStatusEvent;
|
|
16
|
+
IOErrorEvent: typeof IOErrorEvent;
|
|
17
|
+
MouseEvent: typeof MouseEvent;
|
|
18
|
+
ProgressEvent: typeof ProgressEvent;
|
|
19
|
+
VideoEvent: typeof VideoEvent;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BlurFilter } from "../next2d/filters/BlurFilter";
|
|
2
|
+
import { BevelFilter } from "../next2d/filters/BevelFilter";
|
|
3
|
+
import { ColorMatrixFilter } from "../next2d/filters/ColorMatrixFilter";
|
|
4
|
+
import { ConvolutionFilter } from "../next2d/filters/ConvolutionFilter";
|
|
5
|
+
import { DisplacementMapFilter } from "../next2d/filters/DisplacementMapFilter";
|
|
6
|
+
import { DropShadowFilter } from "../next2d/filters/DropShadowFilter";
|
|
7
|
+
import { GlowFilter } from "../next2d/filters/GlowFilter";
|
|
8
|
+
import { GradientBevelFilter } from "../next2d/filters/GradientBevelFilter";
|
|
9
|
+
import { GradientGlowFilter } from "../next2d/filters/GradientGlowFilter";
|
|
10
|
+
export type FilterArrayImpl = Array<BlurFilter | BevelFilter | ColorMatrixFilter | ConvolutionFilter | DisplacementMapFilter | DropShadowFilter | GlowFilter | GradientBevelFilter | GradientGlowFilter>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BevelFilter } from "../next2d/filters/BevelFilter";
|
|
2
|
+
import { BlurFilter } from "../next2d/filters/BlurFilter";
|
|
3
|
+
import { ColorMatrixFilter } from "../next2d/filters/ColorMatrixFilter";
|
|
4
|
+
import { ConvolutionFilter } from "../next2d/filters/ConvolutionFilter";
|
|
5
|
+
import { DisplacementMapFilter } from "../next2d/filters/DisplacementMapFilter";
|
|
6
|
+
import { DropShadowFilter } from "../next2d/filters/DropShadowFilter";
|
|
7
|
+
import { GlowFilter } from "../next2d/filters/GlowFilter";
|
|
8
|
+
import { GradientBevelFilter } from "../next2d/filters/GradientBevelFilter";
|
|
9
|
+
import { GradientGlowFilter } from "../next2d/filters/GradientGlowFilter";
|
|
10
|
+
export interface FiltersImpl {
|
|
11
|
+
BevelFilter: typeof BevelFilter;
|
|
12
|
+
BlurFilter: typeof BlurFilter;
|
|
13
|
+
ColorMatrixFilter: typeof ColorMatrixFilter;
|
|
14
|
+
ConvolutionFilter: typeof ConvolutionFilter;
|
|
15
|
+
DisplacementMapFilter: typeof DisplacementMapFilter;
|
|
16
|
+
DropShadowFilter: typeof DropShadowFilter;
|
|
17
|
+
GlowFilter: typeof GlowFilter;
|
|
18
|
+
GradientBevelFilter: typeof GradientBevelFilter;
|
|
19
|
+
GradientGlowFilter: typeof GradientGlowFilter;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ColorTransform } from "../next2d/geom/ColorTransform";
|
|
2
|
+
import { Matrix } from "../next2d/geom/Matrix";
|
|
3
|
+
import { Point } from "../next2d/geom/Point";
|
|
4
|
+
import { Rectangle } from "../next2d/geom/Rectangle";
|
|
5
|
+
import { Transform } from "../next2d/geom/Transform";
|
|
6
|
+
export interface GeomImpl {
|
|
7
|
+
ColorTransform: typeof ColorTransform;
|
|
8
|
+
Matrix: typeof Matrix;
|
|
9
|
+
Point: typeof Point;
|
|
10
|
+
Rectangle: typeof Rectangle;
|
|
11
|
+
Transform: typeof Transform;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Sound } from "../next2d/media/Sound";
|
|
2
|
+
import { SoundMixer } from "../next2d/media/SoundMixer";
|
|
3
|
+
import { SoundTransform } from "../next2d/media/SoundTransform";
|
|
4
|
+
import { Video } from "../next2d/media/Video";
|
|
5
|
+
export interface MediaImpl {
|
|
6
|
+
Sound: typeof Sound;
|
|
7
|
+
SoundMixer: typeof SoundMixer;
|
|
8
|
+
SoundTransform: typeof SoundTransform;
|
|
9
|
+
Video: typeof Video;
|
|
10
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TextObjectImpl } from "./TextObjectImpl";
|
|
2
2
|
import { TextObjectModeImpl } from "./TextObjectModeImpl";
|
|
3
|
-
import { TextFormat } from "../
|
|
3
|
+
import { TextFormat } from "../next2d/text/TextFormat";
|
|
4
4
|
export interface TextBreakObjectImpl extends TextObjectImpl {
|
|
5
5
|
mode: TextObjectModeImpl;
|
|
6
6
|
x: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DisplayObjectImpl } from "
|
|
1
|
+
import type { DisplayObjectImpl } from "../../interface/DisplayObjectImpl";
|
|
2
2
|
import type { Matrix } from "../geom/Matrix";
|
|
3
3
|
import type { ColorTransform } from "../geom/ColorTransform";
|
|
4
4
|
/**
|
|
@@ -15,13 +15,6 @@ import { $COLOR_ARRAY_IDENTITY, $getArray, $MATRIX_ARRAY_IDENTITY, $multiplicati
|
|
|
15
15
|
* @memberOf next2d.display
|
|
16
16
|
*/
|
|
17
17
|
export class BitmapData {
|
|
18
|
-
_$instanceId;
|
|
19
|
-
_$width;
|
|
20
|
-
_$height;
|
|
21
|
-
_$buffer;
|
|
22
|
-
_$image;
|
|
23
|
-
_$canvas;
|
|
24
|
-
_$pixelBuffer;
|
|
25
18
|
/**
|
|
26
19
|
* @param {number} [width=0]
|
|
27
20
|
* @param {number} [height=0]
|
|
@@ -5,15 +5,15 @@ import { Point } from "../geom/Point";
|
|
|
5
5
|
import type { Stage } from "./Stage";
|
|
6
6
|
import type { LoaderInfo } from "./LoaderInfo";
|
|
7
7
|
import type { Sprite } from "./Sprite";
|
|
8
|
-
import type { FilterArrayImpl } from "
|
|
9
|
-
import type { BlendModeImpl } from "
|
|
10
|
-
import type { ParentImpl } from "
|
|
11
|
-
import type { PlaceObjectImpl } from "
|
|
12
|
-
import type { BoundsImpl } from "
|
|
13
|
-
import type { DictionaryTagImpl } from "
|
|
14
|
-
import type { PropertyMessageMapImpl } from "
|
|
15
|
-
import type { CanvasToWebGLContext } from "
|
|
16
|
-
import type { DisplayObjectImpl } from "
|
|
8
|
+
import type { FilterArrayImpl } from "../../interface/FilterArrayImpl";
|
|
9
|
+
import type { BlendModeImpl } from "../../interface/BlendModeImpl";
|
|
10
|
+
import type { ParentImpl } from "../../interface/ParentImpl";
|
|
11
|
+
import type { PlaceObjectImpl } from "../../interface/PlaceObjectImpl";
|
|
12
|
+
import type { BoundsImpl } from "../../interface/BoundsImpl";
|
|
13
|
+
import type { DictionaryTagImpl } from "../../interface/DictionaryTagImpl";
|
|
14
|
+
import type { PropertyMessageMapImpl } from "../../interface/PropertyMessageMapImpl";
|
|
15
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
16
|
+
import type { DisplayObjectImpl } from "../../interface/DisplayObjectImpl";
|
|
17
17
|
/**
|
|
18
18
|
* DisplayObject クラスは、表示リストに含めることのできるすべてのオブジェクトに関する基本クラスです。
|
|
19
19
|
* DisplayObject クラス自体は、画面上でのコンテンツの描画のための API を含みません。
|
|
@@ -465,7 +465,7 @@ export declare class DisplayObject extends EventDispatcher {
|
|
|
465
465
|
*/
|
|
466
466
|
_$updateState(): void;
|
|
467
467
|
/**
|
|
468
|
-
* @return {
|
|
468
|
+
* @return {void}
|
|
469
469
|
* @method
|
|
470
470
|
* @private
|
|
471
471
|
*/
|
|
@@ -24,40 +24,6 @@ import { $clamp, $getArray, $boundsMatrix, $Math, $poolBoundsObject, $Infinity,
|
|
|
24
24
|
* @extends EventDispatcher
|
|
25
25
|
*/
|
|
26
26
|
export class DisplayObject extends EventDispatcher {
|
|
27
|
-
_$instanceId;
|
|
28
|
-
_$id;
|
|
29
|
-
_$stage;
|
|
30
|
-
_$parent;
|
|
31
|
-
_$scale9Grid;
|
|
32
|
-
_$characterId;
|
|
33
|
-
_$active;
|
|
34
|
-
_$isMask;
|
|
35
|
-
_$updated;
|
|
36
|
-
_$added;
|
|
37
|
-
_$addedStage;
|
|
38
|
-
_$filters;
|
|
39
|
-
_$blendMode;
|
|
40
|
-
_$transform;
|
|
41
|
-
_$hitObject;
|
|
42
|
-
_$isNext;
|
|
43
|
-
_$created;
|
|
44
|
-
_$posted;
|
|
45
|
-
_$clipDepth;
|
|
46
|
-
_$name;
|
|
47
|
-
_$mask;
|
|
48
|
-
_$visible;
|
|
49
|
-
_$root;
|
|
50
|
-
_$loaderInfo;
|
|
51
|
-
_$scaleX;
|
|
52
|
-
_$scaleY;
|
|
53
|
-
_$variables;
|
|
54
|
-
_$placeObject;
|
|
55
|
-
_$rotation;
|
|
56
|
-
_$changePlace;
|
|
57
|
-
_$currentPlaceId;
|
|
58
|
-
_$placeId;
|
|
59
|
-
_$startFrame;
|
|
60
|
-
_$endFrame;
|
|
61
27
|
/**
|
|
62
28
|
* @constructor
|
|
63
29
|
* @public
|
|
@@ -1261,23 +1227,19 @@ export class DisplayObject extends EventDispatcher {
|
|
|
1261
1227
|
}
|
|
1262
1228
|
}
|
|
1263
1229
|
/**
|
|
1264
|
-
* @return {
|
|
1230
|
+
* @return {void}
|
|
1265
1231
|
* @method
|
|
1266
1232
|
* @private
|
|
1267
1233
|
*/
|
|
1268
1234
|
_$doChanged() {
|
|
1269
|
-
if ($rendererWorker && this._$created) {
|
|
1270
|
-
$rendererWorker.postMessage({
|
|
1271
|
-
"command": "doChanged",
|
|
1272
|
-
"instanceId": this._$instanceId
|
|
1273
|
-
});
|
|
1274
|
-
}
|
|
1275
1235
|
this._$posted = false;
|
|
1276
1236
|
this._$isNext = true;
|
|
1277
1237
|
this._$updated = true;
|
|
1278
1238
|
const parent = this._$parent;
|
|
1279
1239
|
if (parent) {
|
|
1280
|
-
parent._$
|
|
1240
|
+
if (!parent._$updated) {
|
|
1241
|
+
parent._$doChanged();
|
|
1242
|
+
}
|
|
1281
1243
|
}
|
|
1282
1244
|
}
|
|
1283
1245
|
/**
|
|
@@ -1607,12 +1569,17 @@ export class DisplayObject extends EventDispatcher {
|
|
|
1607
1569
|
"command": "setProperty",
|
|
1608
1570
|
"instanceId": this._$instanceId,
|
|
1609
1571
|
"parentId": this._$parent ? this._$parent._$instanceId : -1,
|
|
1610
|
-
"visible": this._$visible
|
|
1611
|
-
"isMask": this._$isMask,
|
|
1612
|
-
"clipDepth": this._$clipDepth,
|
|
1613
|
-
"depth": this._$placeId,
|
|
1614
|
-
"maskId": -1
|
|
1572
|
+
"visible": this._$visible
|
|
1615
1573
|
};
|
|
1574
|
+
if (this._$placeId > -1) {
|
|
1575
|
+
message.depth = this._$placeId;
|
|
1576
|
+
}
|
|
1577
|
+
if (this._$clipDepth) {
|
|
1578
|
+
message.clipDepth = this._$clipDepth;
|
|
1579
|
+
}
|
|
1580
|
+
if (this._$isMask) {
|
|
1581
|
+
message.isMask = this._$isMask;
|
|
1582
|
+
}
|
|
1616
1583
|
const mask = this._$mask;
|
|
1617
1584
|
if (mask) {
|
|
1618
1585
|
message.maskId = mask._$instanceId;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { InteractiveObject } from "./InteractiveObject";
|
|
2
|
-
import type { DictionaryTagImpl } from "
|
|
3
|
-
import type { PlaceObjectImpl } from "
|
|
4
|
-
import type { DisplayObjectImpl } from "
|
|
5
|
-
import type { BoundsImpl } from "
|
|
6
|
-
import type { CanvasToWebGLContext } from "
|
|
7
|
-
import type { PreObjectImpl } from "
|
|
8
|
-
import type { PlayerHitObjectImpl } from "
|
|
2
|
+
import type { DictionaryTagImpl } from "../../interface/DictionaryTagImpl";
|
|
3
|
+
import type { PlaceObjectImpl } from "../../interface/PlaceObjectImpl";
|
|
4
|
+
import type { DisplayObjectImpl } from "../../interface/DisplayObjectImpl";
|
|
5
|
+
import type { BoundsImpl } from "../../interface/BoundsImpl";
|
|
6
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
7
|
+
import type { PreObjectImpl } from "../../interface/PreObjectImpl";
|
|
8
|
+
import type { PlayerHitObjectImpl } from "../../interface/PlayerHitObjectImpl";
|
|
9
9
|
/**
|
|
10
10
|
* DisplayObjectContainer クラスは、表示リストで表示オブジェクトコンテナとして機能するすべてのオブジェクトの基本クラスです。
|
|
11
11
|
* このクラス自体は、画面上でのコンテンツの描画のための API を含みません。
|
|
@@ -22,15 +22,6 @@ import { $boundsMatrix, $clamp, $getArray, $getBoundsObject, $getFloat32Array6,
|
|
|
22
22
|
* @extends InteractiveObject
|
|
23
23
|
*/
|
|
24
24
|
export class DisplayObjectContainer extends InteractiveObject {
|
|
25
|
-
_$placeMap;
|
|
26
|
-
_$placeObjects;
|
|
27
|
-
_$controller;
|
|
28
|
-
_$dictionary;
|
|
29
|
-
_$children;
|
|
30
|
-
_$needsChildren;
|
|
31
|
-
_$mouseChildren;
|
|
32
|
-
_$wait;
|
|
33
|
-
_$names;
|
|
34
25
|
/**
|
|
35
26
|
* @constructor
|
|
36
27
|
* @public
|
|
@@ -777,6 +768,31 @@ export class DisplayObjectContainer extends InteractiveObject {
|
|
|
777
768
|
*/
|
|
778
769
|
_$remove(child, do_event = true) {
|
|
779
770
|
child._$transform._$transform();
|
|
771
|
+
// remove all broadcast events
|
|
772
|
+
if (child.hasEventListener(Next2DEvent.ENTER_FRAME)) {
|
|
773
|
+
child.removeAllEventListener(Next2DEvent.ENTER_FRAME);
|
|
774
|
+
}
|
|
775
|
+
if (child.hasEventListener(Next2DEvent.EXIT_FRAME)) {
|
|
776
|
+
child.removeAllEventListener(Next2DEvent.EXIT_FRAME);
|
|
777
|
+
}
|
|
778
|
+
if (child.hasEventListener(Next2DEvent.FRAME_CONSTRUCTED)) {
|
|
779
|
+
child.removeAllEventListener(Next2DEvent.FRAME_CONSTRUCTED);
|
|
780
|
+
}
|
|
781
|
+
if (child.hasEventListener(Next2DEvent.RENDER)) {
|
|
782
|
+
child.removeAllEventListener(Next2DEvent.RENDER);
|
|
783
|
+
}
|
|
784
|
+
if (child.hasEventListener(Next2DEvent.ACTIVATE)) {
|
|
785
|
+
child.removeAllEventListener(Next2DEvent.ACTIVATE);
|
|
786
|
+
}
|
|
787
|
+
if (child.hasEventListener(Next2DEvent.DEACTIVATE)) {
|
|
788
|
+
child.removeAllEventListener(Next2DEvent.DEACTIVATE);
|
|
789
|
+
}
|
|
790
|
+
if (child.hasEventListener("keyDown")) {
|
|
791
|
+
child.removeAllEventListener("keyDown");
|
|
792
|
+
}
|
|
793
|
+
if (child.hasEventListener("keyUp")) {
|
|
794
|
+
child.removeAllEventListener("keyUp");
|
|
795
|
+
}
|
|
780
796
|
// remove
|
|
781
797
|
const children = this._$needsChildren
|
|
782
798
|
? this._$getChildren()
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BitmapData } from "./BitmapData";
|
|
2
|
-
import type { GraphicsParentImpl } from "
|
|
2
|
+
import type { GraphicsParentImpl } from "../../interface/GraphicsParentImpl";
|
|
3
3
|
import type { Matrix } from "../geom/Matrix";
|
|
4
|
-
import type { CapsStyle, JointStyle } from "
|
|
5
|
-
import type { FilterArrayImpl } from "
|
|
6
|
-
import type { BlendModeImpl } from "
|
|
7
|
-
import type { CanvasToWebGLContext } from "
|
|
8
|
-
import type { BoundsImpl } from "
|
|
9
|
-
import type { PlayerHitObjectImpl } from "
|
|
10
|
-
import { SpreadMethod, GradientType, InterpolationMethod } from "
|
|
4
|
+
import type { CapsStyle, JointStyle } from "../../interface/StrokeTypeImpl";
|
|
5
|
+
import type { FilterArrayImpl } from "../../interface/FilterArrayImpl";
|
|
6
|
+
import type { BlendModeImpl } from "../../interface/BlendModeImpl";
|
|
7
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
8
|
+
import type { BoundsImpl } from "../../interface/BoundsImpl";
|
|
9
|
+
import type { PlayerHitObjectImpl } from "../../interface/PlayerHitObjectImpl";
|
|
10
|
+
import { SpreadMethod, GradientType, InterpolationMethod } from "../../interface/GradientTypeImpl";
|
|
11
11
|
/**
|
|
12
12
|
* Graphics クラスには、ベクターシェイプの作成に使用できる一連のメソッドがあります。
|
|
13
13
|
* 描画をサポートする表示オブジェクトには、Sprite および Shape オブジェクトがあります。
|
|
@@ -268,7 +268,7 @@ export declare class Graphics {
|
|
|
268
268
|
* @method
|
|
269
269
|
* @public
|
|
270
270
|
*/
|
|
271
|
-
beginGradientFill(type: GradientType, colors: number[], alphas: number[], ratios: number[], matrix?: Matrix | null, spread_method?: SpreadMethod, interpolation_method?: InterpolationMethod, focal_point_ratio?: number): Graphics;
|
|
271
|
+
beginGradientFill(type: GradientType, colors: number[] | string[], alphas: number[], ratios: number[], matrix?: Matrix | null, spread_method?: SpreadMethod, interpolation_method?: InterpolationMethod, focal_point_ratio?: number): Graphics;
|
|
272
272
|
/**
|
|
273
273
|
* @description この Graphics オブジェクトに描画されているグラフィックをクリアし、
|
|
274
274
|
* 塗りと線のスタイルの設定をリセットします。
|
|
@@ -21,38 +21,6 @@ import { $Math, $Number, $getArray, $poolArray, $toColorInt, $intToRGBA, $clamp,
|
|
|
21
21
|
* @memberOf next2d.display
|
|
22
22
|
*/
|
|
23
23
|
export class Graphics {
|
|
24
|
-
_$displayObject;
|
|
25
|
-
_$maxAlpha;
|
|
26
|
-
_$pointerX;
|
|
27
|
-
_$pointerY;
|
|
28
|
-
_$canDraw;
|
|
29
|
-
_$fillType;
|
|
30
|
-
_$fillGradient;
|
|
31
|
-
_$fillBitmap;
|
|
32
|
-
_$fillStyleR;
|
|
33
|
-
_$fillStyleG;
|
|
34
|
-
_$fillStyleB;
|
|
35
|
-
_$fillStyleA;
|
|
36
|
-
_$doFill;
|
|
37
|
-
_$lineType;
|
|
38
|
-
_$lineGradient;
|
|
39
|
-
_$caps;
|
|
40
|
-
_$joints;
|
|
41
|
-
_$miterLimit;
|
|
42
|
-
_$lineWidth;
|
|
43
|
-
_$lineStyleR;
|
|
44
|
-
_$lineStyleG;
|
|
45
|
-
_$lineStyleB;
|
|
46
|
-
_$lineStyleA;
|
|
47
|
-
_$doLine;
|
|
48
|
-
_$xMin;
|
|
49
|
-
_$xMax;
|
|
50
|
-
_$yMin;
|
|
51
|
-
_$yMax;
|
|
52
|
-
_$buffer;
|
|
53
|
-
_$recode;
|
|
54
|
-
_$fills;
|
|
55
|
-
_$lines;
|
|
56
24
|
/**
|
|
57
25
|
* @param {DisplayObject} src
|
|
58
26
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Matrix } from "../geom/Matrix";
|
|
2
|
-
import type { ColorStopImpl } from "
|
|
3
|
-
import { GradientType, SpreadMethod, InterpolationMethod } from "
|
|
2
|
+
import type { ColorStopImpl } from "../../interface/ColorStopImpl";
|
|
3
|
+
import { GradientType, SpreadMethod, InterpolationMethod } from "../../interface/GradientTypeImpl";
|
|
4
4
|
/**
|
|
5
5
|
* グラデーション塗りを定義します。
|
|
6
6
|
* Defines a gradient fill.
|
|
@@ -8,15 +8,6 @@ import { $colorStringToInt, $getArray, $intToRGBA, $Math, $MATRIX_ARRAY_IDENTITY
|
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
10
10
|
export class GraphicsGradientFill {
|
|
11
|
-
_$type;
|
|
12
|
-
_$colors;
|
|
13
|
-
_$alphas;
|
|
14
|
-
_$ratios;
|
|
15
|
-
_$matrix;
|
|
16
|
-
_$spreadMethod;
|
|
17
|
-
_$interpolationMethod;
|
|
18
|
-
_$focalPointRatio;
|
|
19
|
-
_$colorStops;
|
|
20
11
|
/**
|
|
21
12
|
* @param {string} [type=GradientType.LINEAR]
|
|
22
13
|
* @param {array} [colors=null]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DisplayObjectContainer } from "./DisplayObjectContainer";
|
|
2
2
|
import { LoaderInfo } from "./LoaderInfo";
|
|
3
3
|
import type { URLRequest } from "../net/URLRequest";
|
|
4
|
-
import type { NoCodeDataImpl } from "
|
|
5
|
-
import type { ParentImpl } from "
|
|
4
|
+
import type { NoCodeDataImpl } from "../../interface/NoCodeDataImpl";
|
|
5
|
+
import type { ParentImpl } from "../../interface/ParentImpl";
|
|
6
6
|
/**
|
|
7
7
|
* Loader クラスは、JSON ファイルまたはイメージ(JPEG、PNG、または GIF)ファイルを読み込むために使用します。
|
|
8
8
|
* 読み込みを開始するには load() メソッドを使用します。
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
1
10
|
import { DisplayObjectContainer } from "./DisplayObjectContainer";
|
|
2
11
|
import { LoaderInfo } from "./LoaderInfo";
|
|
3
12
|
import { MovieClip } from "./MovieClip";
|
|
@@ -180,9 +189,9 @@ export class Loader extends DisplayObjectContainer {
|
|
|
180
189
|
$updateUnzipWorkerStatus(true);
|
|
181
190
|
const unzipWorker = $getUnzipWorker();
|
|
182
191
|
const buffer = new Uint8Array(json.buffer);
|
|
183
|
-
unzipWorker.onmessage =
|
|
192
|
+
unzipWorker.onmessage = (event) => __awaiter(this, void 0, void 0, function* () {
|
|
184
193
|
this._$unzipHandler(event);
|
|
185
|
-
};
|
|
194
|
+
});
|
|
186
195
|
unzipWorker.postMessage(buffer, [buffer.buffer]);
|
|
187
196
|
}
|
|
188
197
|
else {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventDispatcher } from "../events/EventDispatcher";
|
|
2
|
-
import type { URLLoaderDataFormatImpl } from "
|
|
3
|
-
import type { ParentImpl } from "
|
|
4
|
-
import type { LoaderInfoDataImpl } from "
|
|
2
|
+
import type { URLLoaderDataFormatImpl } from "../../interface/URLLoaderDataFormatImpl";
|
|
3
|
+
import type { ParentImpl } from "../../interface/ParentImpl";
|
|
4
|
+
import type { LoaderInfoDataImpl } from "../../interface/LoaderInfoDataImpl";
|
|
5
5
|
/**
|
|
6
6
|
* LoaderInfo クラスは、読み込まれる JSON ファイルやイメージファイル(JPEG、GIF、PNG ファイルなど)に関する情報を提供します。
|
|
7
7
|
* LoaderInfo オブジェクトは、すべての表示オブジェクトで使用できます。
|
|
@@ -15,13 +15,6 @@ import { $getLoaderInfoId } from "../../util/Global";
|
|
|
15
15
|
* @extends EventDispatcher
|
|
16
16
|
*/
|
|
17
17
|
export class LoaderInfo extends EventDispatcher {
|
|
18
|
-
_$id;
|
|
19
|
-
_$content;
|
|
20
|
-
_$data;
|
|
21
|
-
_$bytesLoaded;
|
|
22
|
-
_$bytesTotal;
|
|
23
|
-
_$url;
|
|
24
|
-
_$format;
|
|
25
18
|
/**
|
|
26
19
|
* @constructor
|
|
27
20
|
* @public
|