@next2d/player 1.14.18 → 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/DisplayObject.d.ts +10 -10
- package/{dist/player/next2d → next2d}/display/DisplayObject.js +14 -13
- package/{dist/player/next2d → next2d}/display/DisplayObjectContainer.d.ts +7 -7
- package/{dist/player/next2d → next2d}/display/DisplayObjectContainer.js +25 -0
- package/{dist/player/next2d → next2d}/display/Graphics.d.ts +9 -9
- package/{dist/player/next2d → next2d}/display/GraphicsGradientFill.d.ts +2 -2
- package/{dist/player/next2d → next2d}/display/Loader.d.ts +2 -2
- package/{dist/player/next2d → next2d}/display/LoaderInfo.d.ts +3 -3
- package/{dist/player/next2d → next2d}/display/MovieClip.d.ts +5 -5
- package/{dist/player/next2d → next2d}/display/Shape.d.ts +7 -7
- package/{dist/player/next2d → next2d}/display/Sprite.d.ts +5 -5
- package/{dist/player/next2d → next2d}/display/Stage.d.ts +1 -1
- package/{dist/player/next2d → next2d}/events/Event.d.ts +5 -5
- package/{dist/player/next2d → next2d}/events/EventDispatcher.d.ts +1 -1
- package/{dist/player/next2d → next2d}/filters/BevelFilter.d.ts +3 -3
- package/{dist/player/next2d → next2d}/filters/BlurFilter.d.ts +2 -2
- package/{dist/player/next2d → next2d}/filters/ColorMatrixFilter.d.ts +1 -1
- package/{dist/player/next2d → next2d}/filters/ConvolutionFilter.d.ts +1 -1
- package/{dist/player/next2d → next2d}/filters/DisplacementMapFilter.d.ts +3 -3
- package/{dist/player/next2d → next2d}/filters/DropShadowFilter.d.ts +2 -2
- package/{dist/player/next2d → next2d}/filters/GlowFilter.d.ts +2 -2
- package/{dist/player/next2d → next2d}/filters/GradientBevelFilter.d.ts +3 -3
- package/{dist/player/next2d → next2d}/filters/GradientGlowFilter.d.ts +3 -3
- package/{dist/player/next2d → next2d}/geom/Transform.d.ts +5 -5
- package/{dist/player/next2d → next2d}/media/Sound.d.ts +3 -3
- package/{dist/player/next2d → next2d}/media/Video.d.ts +7 -7
- package/{dist/player/next2d → next2d}/net/URLRequest.d.ts +2 -2
- package/{dist/player/next2d → next2d}/text/TextField.d.ts +11 -11
- package/{dist/player/next2d → next2d}/text/TextFormat.d.ts +1 -1
- package/package.json +4 -10
- 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}/Player.d.ts +6 -6
- package/{dist/player/player → player}/Player.js +1 -1
- package/{dist/player/util → util}/CacheStore.d.ts +1 -1
- 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 -1
- package/{dist/webgl → webgl}/CanvasGradientToWebGL.js +1 -1
- package/{dist/webgl → webgl}/CanvasToWebGLContext.js +1 -1
- package/{dist/webgl → webgl}/CanvasToWebGLContextBlend.js +1 -1
- package/{dist/webgl → webgl}/CanvasToWebGLContextGrid.d.ts +1 -1
- package/{dist/webgl → webgl}/CanvasToWebGLContextGrid.js +1 -1
- package/{dist/webgl → webgl}/CanvasToWebGLContextMask.js +1 -1
- package/{dist/webgl → webgl}/CanvasToWebGLContextPath.js +1 -1
- package/{dist/webgl → webgl}/CanvasToWebGLContextStyle.js +1 -1
- package/{dist/webgl → webgl}/ColorBufferPool.js +1 -1
- package/{dist/webgl → webgl}/StencilBufferPool.js +1 -1
- package/{dist/webgl → webgl}/VertexArrayObjectManager.js +1 -1
- package/{dist/webgl → webgl}/WebGLFillMeshGenerator.js +1 -1
- package/{dist/webgl → webgl}/WebGLStrokeMeshGenerator.js +1 -1
- package/{dist/webgl → webgl}/shader/CanvasToWebGLShader.js +1 -1
- package/{dist/webgl → webgl}/shader/GradientLUTGenerator.js +1 -1
- package/{dist/webgl → webgl}/shader/WebGLShaderUniform.js +1 -1
- 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 -1
- package/{dist/webgl → webgl}/shader/variants/FilterShaderVariantCollection.js +1 -1
- package/{dist/webgl → webgl}/shader/variants/GradientLUTShaderVariantCollection.js +1 -1
- package/{dist/webgl → webgl}/shader/variants/GradientShapeShaderVariantCollection.js +1 -1
- package/{dist/webgl → webgl}/shader/variants/ShapeShaderVariantCollection.js +1 -1
- 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/BitmapData.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/FrameLabel.js +0 -0
- /package/{dist/player/next2d → next2d}/display/Graphics.js +0 -0
- /package/{dist/player/next2d → next2d}/display/GraphicsBitmapFill.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/GraphicsBitmapFill.js +0 -0
- /package/{dist/player/next2d → next2d}/display/GraphicsGradientFill.js +0 -0
- /package/{dist/player/next2d → next2d}/display/InteractiveObject.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/InteractiveObject.js +0 -0
- /package/{dist/player/next2d → next2d}/display/Loader.js +0 -0
- /package/{dist/player/next2d → next2d}/display/LoaderInfo.js +0 -0
- /package/{dist/player/next2d → next2d}/display/LoopConfig.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/display/LoopConfig.js +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}/display/MovieClip.js +0 -0
- /package/{dist/player/next2d → next2d}/display/Shape.js +0 -0
- /package/{dist/player/next2d → next2d}/display/Sprite.js +0 -0
- /package/{dist/player/next2d → next2d}/display/Stage.js +0 -0
- /package/{dist/player/next2d → next2d}/events/Event.js +0 -0
- /package/{dist/player/next2d → next2d}/events/EventDispatcher.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/HTTPStatusEvent.js +0 -0
- /package/{dist/player/next2d → next2d}/events/IOErrorEvent.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/events/IOErrorEvent.js +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/ProgressEvent.js +0 -0
- /package/{dist/player/next2d → next2d}/events/VideoEvent.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/events/VideoEvent.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/BevelFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/BitmapFilter.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/filters/BitmapFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/BlurFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/ColorMatrixFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/ConvolutionFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/DisplacementMapFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/DropShadowFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/GlowFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/GradientBevelFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/filters/GradientGlowFilter.js +0 -0
- /package/{dist/player/next2d → next2d}/geom/ColorTransform.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/geom/ColorTransform.js +0 -0
- /package/{dist/player/next2d → next2d}/geom/Matrix.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/geom/Matrix.js +0 -0
- /package/{dist/player/next2d → next2d}/geom/Point.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/geom/Point.js +0 -0
- /package/{dist/player/next2d → next2d}/geom/Rectangle.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/geom/Rectangle.js +0 -0
- /package/{dist/player/next2d → next2d}/geom/Transform.js +0 -0
- /package/{dist/player/next2d → next2d}/media/Sound.js +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}/media/SoundTransform.js +0 -0
- /package/{dist/player/next2d → next2d}/media/Video.js +0 -0
- /package/{dist/player/next2d → next2d}/net/URLRequest.js +0 -0
- /package/{dist/player/next2d → next2d}/net/URLRequestHeader.d.ts +0 -0
- /package/{dist/player/next2d → next2d}/net/URLRequestHeader.js +0 -0
- /package/{dist/player/next2d → next2d}/text/TextField.js +0 -0
- /package/{dist/player/next2d → next2d}/text/TextFormat.js +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/Job.js +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/player → player}/Next2D.js +0 -0
- /package/{dist/player/util → util}/CacheStore.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}/CanvasPatternToWebGL.js +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}/FrameBufferManager.js +0 -0
- /package/{dist/webgl → webgl}/StencilBufferPool.d.ts +0 -0
- /package/{dist/webgl → webgl}/TextureManager.d.ts +0 -0
- /package/{dist/webgl → webgl}/TextureManager.js +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/CanvasToWebGLShaderList.js +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
|
/**
|
|
@@ -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
|
*/
|
|
@@ -1227,23 +1227,19 @@ export class DisplayObject extends EventDispatcher {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
/**
|
|
1230
|
-
* @return {
|
|
1230
|
+
* @return {void}
|
|
1231
1231
|
* @method
|
|
1232
1232
|
* @private
|
|
1233
1233
|
*/
|
|
1234
1234
|
_$doChanged() {
|
|
1235
|
-
if ($rendererWorker && this._$created) {
|
|
1236
|
-
$rendererWorker.postMessage({
|
|
1237
|
-
"command": "doChanged",
|
|
1238
|
-
"instanceId": this._$instanceId
|
|
1239
|
-
});
|
|
1240
|
-
}
|
|
1241
1235
|
this._$posted = false;
|
|
1242
1236
|
this._$isNext = true;
|
|
1243
1237
|
this._$updated = true;
|
|
1244
1238
|
const parent = this._$parent;
|
|
1245
1239
|
if (parent) {
|
|
1246
|
-
parent._$
|
|
1240
|
+
if (!parent._$updated) {
|
|
1241
|
+
parent._$doChanged();
|
|
1242
|
+
}
|
|
1247
1243
|
}
|
|
1248
1244
|
}
|
|
1249
1245
|
/**
|
|
@@ -1573,12 +1569,17 @@ export class DisplayObject extends EventDispatcher {
|
|
|
1573
1569
|
"command": "setProperty",
|
|
1574
1570
|
"instanceId": this._$instanceId,
|
|
1575
1571
|
"parentId": this._$parent ? this._$parent._$instanceId : -1,
|
|
1576
|
-
"visible": this._$visible
|
|
1577
|
-
"isMask": this._$isMask,
|
|
1578
|
-
"clipDepth": this._$clipDepth,
|
|
1579
|
-
"depth": this._$placeId,
|
|
1580
|
-
"maskId": -1
|
|
1572
|
+
"visible": this._$visible
|
|
1581
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
|
+
}
|
|
1582
1583
|
const mask = this._$mask;
|
|
1583
1584
|
if (mask) {
|
|
1584
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 を含みません。
|
|
@@ -768,6 +768,31 @@ export class DisplayObjectContainer extends InteractiveObject {
|
|
|
768
768
|
*/
|
|
769
769
|
_$remove(child, do_event = true) {
|
|
770
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
|
+
}
|
|
771
796
|
// remove
|
|
772
797
|
const children = this._$needsChildren
|
|
773
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
|
* 塗りと線のスタイルの設定をリセットします。
|
|
@@ -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.
|
|
@@ -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,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 オブジェクトは、すべての表示オブジェクトで使用できます。
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Sprite } from "./Sprite";
|
|
2
2
|
import { FrameLabel } from "./FrameLabel";
|
|
3
3
|
import { Sound } from "../media/Sound";
|
|
4
|
-
import type { LoopConfigImpl } from "
|
|
5
|
-
import type { ParentImpl } from "
|
|
6
|
-
import type { MovieClipCharacterImpl } from "
|
|
7
|
-
import type { DictionaryTagImpl } from "
|
|
8
|
-
import type { Character } from "
|
|
4
|
+
import type { LoopConfigImpl } from "../../interface/LoopConfigImpl";
|
|
5
|
+
import type { ParentImpl } from "../../interface/ParentImpl";
|
|
6
|
+
import type { MovieClipCharacterImpl } from "../../interface/MovieClipCharacterImpl";
|
|
7
|
+
import type { DictionaryTagImpl } from "../../interface/DictionaryTagImpl";
|
|
8
|
+
import type { Character } from "../../interface/Character";
|
|
9
9
|
/**
|
|
10
10
|
* MovieClip クラスは、Sprite、DisplayObjectContainer、InteractiveObject、DisplayObject
|
|
11
11
|
* および EventDispatcher クラスを継承します。
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DisplayObject } from "./DisplayObject";
|
|
2
2
|
import { Graphics } from "./Graphics";
|
|
3
3
|
import type { LoaderInfo } from "./LoaderInfo";
|
|
4
|
-
import type { BoundsImpl } from "
|
|
5
|
-
import type { ShapeCharacterImpl } from "
|
|
6
|
-
import type { ParentImpl } from "
|
|
7
|
-
import type { DictionaryTagImpl } from "
|
|
8
|
-
import type { CanvasToWebGLContext } from "
|
|
9
|
-
import type { PlayerHitObjectImpl } from "
|
|
10
|
-
import type { Character } from "
|
|
4
|
+
import type { BoundsImpl } from "../../interface/BoundsImpl";
|
|
5
|
+
import type { ShapeCharacterImpl } from "../../interface/ShapeCharacterImpl";
|
|
6
|
+
import type { ParentImpl } from "../../interface/ParentImpl";
|
|
7
|
+
import type { DictionaryTagImpl } from "../../interface/DictionaryTagImpl";
|
|
8
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
9
|
+
import type { PlayerHitObjectImpl } from "../../interface/PlayerHitObjectImpl";
|
|
10
|
+
import type { Character } from "../../interface/Character";
|
|
11
11
|
/**
|
|
12
12
|
* Shape クラスには、Graphics クラスからメソッドにアクセスできる graphics プロパティがあります。
|
|
13
13
|
*
|
|
@@ -3,11 +3,11 @@ import { Graphics } from "./Graphics";
|
|
|
3
3
|
import { SoundTransform } from "../media/SoundTransform";
|
|
4
4
|
import type { Rectangle } from "../geom/Rectangle";
|
|
5
5
|
import type { Point } from "../geom/Point";
|
|
6
|
-
import type { SpriteImpl } from "
|
|
7
|
-
import type { DropTargetImpl } from "
|
|
8
|
-
import type { DictionaryTagImpl } from "
|
|
9
|
-
import type { ParentImpl } from "
|
|
10
|
-
import type { MovieClipCharacterImpl } from "
|
|
6
|
+
import type { SpriteImpl } from "../../interface/SpriteImpl";
|
|
7
|
+
import type { DropTargetImpl } from "../../interface/DropTargetImpl";
|
|
8
|
+
import type { DictionaryTagImpl } from "../../interface/DictionaryTagImpl";
|
|
9
|
+
import type { ParentImpl } from "../../interface/ParentImpl";
|
|
10
|
+
import type { MovieClipCharacterImpl } from "../../interface/MovieClipCharacterImpl";
|
|
11
11
|
/**
|
|
12
12
|
* Sprite クラスは、表示リストの基本的要素です。
|
|
13
13
|
* グラフィックを表示でき、子を持つこともできる表示リストノードです。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DisplayObjectContainer } from "./DisplayObjectContainer";
|
|
2
2
|
import type { Player } from "../../player/Player";
|
|
3
|
-
import type { DisplayObjectImpl } from "
|
|
3
|
+
import type { DisplayObjectImpl } from "../../interface/DisplayObjectImpl";
|
|
4
4
|
/**
|
|
5
5
|
* Stage クラスはメイン描画領域を表します。
|
|
6
6
|
* The Stage class represents the main drawing area.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { EventDispatcherImpl } from "../../interface/EventDispatcherImpl";
|
|
2
2
|
/**
|
|
3
3
|
* Event クラスのメソッドは、イベントリスナー関数で使用してイベントオブジェクトの動作に影響を与えることができます。
|
|
4
4
|
* 一部のイベントにはデフォルトの動作が関連付けられています。
|
|
@@ -350,8 +350,8 @@ export declare class Event {
|
|
|
350
350
|
* @member {EventDispatcher|null}
|
|
351
351
|
* @public
|
|
352
352
|
*/
|
|
353
|
-
get currentTarget():
|
|
354
|
-
set currentTarget(current_target:
|
|
353
|
+
get currentTarget(): EventDispatcherImpl<any>;
|
|
354
|
+
set currentTarget(current_target: EventDispatcherImpl<any>);
|
|
355
355
|
/**
|
|
356
356
|
* @description イベントフローの現在の段階です。
|
|
357
357
|
* The current phase in the event flow.
|
|
@@ -377,8 +377,8 @@ export declare class Event {
|
|
|
377
377
|
* @member {EventDispatcher|null}
|
|
378
378
|
* @public
|
|
379
379
|
*/
|
|
380
|
-
get target(): any
|
|
381
|
-
set target(target: any);
|
|
380
|
+
get target(): EventDispatcherImpl<any>;
|
|
381
|
+
set target(target: EventDispatcherImpl<any>);
|
|
382
382
|
/**
|
|
383
383
|
* @description イベントのタイプです。
|
|
384
384
|
* The type of event.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BitmapFilter } from "./BitmapFilter";
|
|
2
|
-
import type { BitmapFilterTypeImpl } from "
|
|
2
|
+
import type { BitmapFilterTypeImpl } from "../../interface/BitmapFilterTypeImpl";
|
|
3
3
|
import type { Rectangle } from "../geom/Rectangle";
|
|
4
|
-
import type { CanvasToWebGLContext } from "
|
|
5
|
-
import type { FilterQualityImpl } from "
|
|
4
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
5
|
+
import type { FilterQualityImpl } from "../../interface/FilterQualityImpl";
|
|
6
6
|
/**
|
|
7
7
|
* BevelFilter クラスを使用すると、表示オブジェクトにベベル効果を追加できます。
|
|
8
8
|
* ボタンなどのオブジェクトにベベル効果を適用すると 3 次元的に表現されます。
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BitmapFilter } from "./BitmapFilter";
|
|
2
2
|
import { Rectangle } from "../geom/Rectangle";
|
|
3
|
-
import type { FilterQualityImpl } from "
|
|
4
|
-
import type { CanvasToWebGLContext } from "
|
|
3
|
+
import type { FilterQualityImpl } from "../../interface/FilterQualityImpl";
|
|
4
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
5
5
|
/**
|
|
6
6
|
* BlurFilter クラスを使用すると、表示オブジェクトにぼかし効果を適用できます。
|
|
7
7
|
* ぼかし効果は、イメージの細部をぼかします。ソフトフォーカスがかかっているように見えるぼかしから、
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BitmapFilter } from "./BitmapFilter";
|
|
2
2
|
import type { Rectangle } from "../geom/Rectangle";
|
|
3
|
-
import type { CanvasToWebGLContext } from "
|
|
3
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
4
4
|
/**
|
|
5
5
|
* ColorMatrixFilter クラスを使用すると、表示オブジェクトにぼかし効果を適用できます。
|
|
6
6
|
* ぼかし効果は、イメージの細部をぼかします。ソフトフォーカスがかかっているように見えるぼかしから、
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BitmapFilter } from "./BitmapFilter";
|
|
2
2
|
import type { Rectangle } from "../geom/Rectangle";
|
|
3
|
-
import type { CanvasToWebGLContext } from "
|
|
3
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
4
4
|
/**
|
|
5
5
|
* ConvolutionFilter クラスを使用すると、マトリックス畳み込みフィルター効果を適用できます。
|
|
6
6
|
* 畳み込みでは、入力イメージ内のピクセルを、隣接するピクセルと組み合わせて、イメージを作成します。
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BitmapFilter } from "./BitmapFilter";
|
|
2
2
|
import type { BitmapData } from "../display/BitmapData";
|
|
3
|
-
import type { DisplacementMapFilterModeImpl } from "
|
|
3
|
+
import type { DisplacementMapFilterModeImpl } from "../../interface/DisplacementMapFilterModeImpl";
|
|
4
4
|
import type { Point } from "../geom/Point";
|
|
5
5
|
import type { Rectangle } from "../geom/Rectangle";
|
|
6
|
-
import type { CanvasToWebGLContext } from "
|
|
7
|
-
import type { BitmapDataChannelImpl } from "
|
|
6
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
7
|
+
import type { BitmapDataChannelImpl } from "../../interface/BitmapDataChannelImpl";
|
|
8
8
|
/**
|
|
9
9
|
* DisplacementMapFilter クラスは、指定された BitmapData オブジェクト(置き換えマップイメージと言います)
|
|
10
10
|
* のピクセル値を使用して、オブジェクトの置き換え(変位)を実行します。
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BitmapFilter } from "./BitmapFilter";
|
|
2
|
-
import type { FilterQualityImpl } from "
|
|
2
|
+
import type { FilterQualityImpl } from "../../interface/FilterQualityImpl";
|
|
3
3
|
import type { Rectangle } from "../geom/Rectangle";
|
|
4
|
-
import type { CanvasToWebGLContext } from "
|
|
4
|
+
import type { CanvasToWebGLContext } from "../../webgl/CanvasToWebGLContext";
|
|
5
5
|
/**
|
|
6
6
|
* DropShadowFilter クラスは、ドロップシャドウを表示オブジェクトに追加します。
|
|
7
7
|
* シャドウアルゴリズムは、ぼかしフィルターで使用するのと同じボックスフィルターに基づいています。
|