@afterswf/playerglobal 0.0.0-stage → 0.2.460
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/.eslintrc +101 -0
- package/.gitattributes +1 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
- package/.prettierrc +8 -0
- package/LICENSE +201 -0
- package/README.md +1 -3
- package/bundle/awayfl-playerglobal.umd.js +2 -0
- package/bundle/awayfl-playerglobal.umd.js.map +1 -0
- package/copyVersionToIndex.js +24 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/lib/ILoader.d.ts +10 -0
- package/dist/lib/ILoader.d.ts.map +1 -0
- package/dist/lib/ILoader.js +1 -0
- package/dist/lib/PlayerGlobal.d.ts +28 -0
- package/dist/lib/PlayerGlobal.d.ts.map +1 -0
- package/dist/lib/PlayerGlobal.js +223 -0
- package/dist/lib/SecurityDomain.d.ts +195 -0
- package/dist/lib/SecurityDomain.d.ts.map +1 -0
- package/dist/lib/SecurityDomain.js +205 -0
- package/dist/lib/Settings.d.ts +5 -0
- package/dist/lib/Settings.d.ts.map +1 -0
- package/dist/lib/Settings.js +7 -0
- package/dist/lib/desktop/Clipboard.d.ts +251 -0
- package/dist/lib/desktop/Clipboard.d.ts.map +1 -0
- package/dist/lib/desktop/Clipboard.js +289 -0
- package/dist/lib/desktop/ClipboardFormats.d.ts +43 -0
- package/dist/lib/desktop/ClipboardFormats.d.ts.map +1 -0
- package/dist/lib/desktop/ClipboardFormats.js +45 -0
- package/dist/lib/display/Bitmap.d.ts +91 -0
- package/dist/lib/display/Bitmap.d.ts.map +1 -0
- package/dist/lib/display/Bitmap.js +168 -0
- package/dist/lib/display/BitmapData.d.ts +63 -0
- package/dist/lib/display/BitmapData.d.ts.map +1 -0
- package/dist/lib/display/BitmapData.js +315 -0
- package/dist/lib/display/BitmapDataChannel.d.ts +12 -0
- package/dist/lib/display/BitmapDataChannel.d.ts.map +1 -0
- package/dist/lib/display/BitmapDataChannel.js +21 -0
- package/dist/lib/display/DisplayObject.d.ts +986 -0
- package/dist/lib/display/DisplayObject.d.ts.map +1 -0
- package/dist/lib/display/DisplayObject.js +1553 -0
- package/dist/lib/display/DisplayObjectContainer.d.ts +327 -0
- package/dist/lib/display/DisplayObjectContainer.d.ts.map +1 -0
- package/dist/lib/display/DisplayObjectContainer.js +599 -0
- package/dist/lib/display/FrameLabel.d.ts +11 -0
- package/dist/lib/display/FrameLabel.d.ts.map +1 -0
- package/dist/lib/display/FrameLabel.js +34 -0
- package/dist/lib/display/Graphics.d.ts +94 -0
- package/dist/lib/display/Graphics.d.ts.map +1 -0
- package/dist/lib/display/Graphics.js +473 -0
- package/dist/lib/display/GraphicsBitmapFill.d.ts +13 -0
- package/dist/lib/display/GraphicsBitmapFill.d.ts.map +1 -0
- package/dist/lib/display/GraphicsBitmapFill.js +36 -0
- package/dist/lib/display/GraphicsEndFill.d.ts +7 -0
- package/dist/lib/display/GraphicsEndFill.d.ts.map +1 -0
- package/dist/lib/display/GraphicsEndFill.js +11 -0
- package/dist/lib/display/GraphicsGradientFill.d.ts +16 -0
- package/dist/lib/display/GraphicsGradientFill.d.ts.map +1 -0
- package/dist/lib/display/GraphicsGradientFill.js +28 -0
- package/dist/lib/display/GraphicsPath.d.ts +22 -0
- package/dist/lib/display/GraphicsPath.d.ts.map +1 -0
- package/dist/lib/display/GraphicsPath.js +63 -0
- package/dist/lib/display/GraphicsSolidFill.d.ts +9 -0
- package/dist/lib/display/GraphicsSolidFill.d.ts.map +1 -0
- package/dist/lib/display/GraphicsSolidFill.js +16 -0
- package/dist/lib/display/GraphicsStroke.d.ts +14 -0
- package/dist/lib/display/GraphicsStroke.d.ts.map +1 -0
- package/dist/lib/display/GraphicsStroke.js +26 -0
- package/dist/lib/display/GraphicsTrianglePath.d.ts +11 -0
- package/dist/lib/display/GraphicsTrianglePath.d.ts.map +1 -0
- package/dist/lib/display/GraphicsTrianglePath.js +20 -0
- package/dist/lib/display/IBitmapDataOwner.d.ts +6 -0
- package/dist/lib/display/IBitmapDataOwner.d.ts.map +1 -0
- package/dist/lib/display/IBitmapDataOwner.js +1 -0
- package/dist/lib/display/IBitmapDrawable.d.ts +10 -0
- package/dist/lib/display/IBitmapDrawable.d.ts.map +1 -0
- package/dist/lib/display/IBitmapDrawable.js +1 -0
- package/dist/lib/display/IGraphicsData.d.ts +13 -0
- package/dist/lib/display/IGraphicsData.d.ts.map +1 -0
- package/dist/lib/display/IGraphicsData.js +1 -0
- package/dist/lib/display/IVirtualSceneGraphItem.d.ts +9 -0
- package/dist/lib/display/IVirtualSceneGraphItem.d.ts.map +1 -0
- package/dist/lib/display/IVirtualSceneGraphItem.js +1 -0
- package/dist/lib/display/InteractiveObject.d.ts +502 -0
- package/dist/lib/display/InteractiveObject.d.ts.map +1 -0
- package/dist/lib/display/InteractiveObject.js +927 -0
- package/dist/lib/display/Loader.d.ts +492 -0
- package/dist/lib/display/Loader.d.ts.map +1 -0
- package/dist/lib/display/Loader.js +704 -0
- package/dist/lib/display/LoaderInfo.d.ts +480 -0
- package/dist/lib/display/LoaderInfo.d.ts.map +1 -0
- package/dist/lib/display/LoaderInfo.js +765 -0
- package/dist/lib/display/MovieClip.d.ts +201 -0
- package/dist/lib/display/MovieClip.d.ts.map +1 -0
- package/dist/lib/display/MovieClip.js +540 -0
- package/dist/lib/display/NativeMenu.d.ts +8 -0
- package/dist/lib/display/NativeMenu.d.ts.map +1 -0
- package/dist/lib/display/NativeMenu.js +13 -0
- package/dist/lib/display/NativeMenuItem.d.ts +11 -0
- package/dist/lib/display/NativeMenuItem.d.ts.map +1 -0
- package/dist/lib/display/NativeMenuItem.js +35 -0
- package/dist/lib/display/Scene.d.ts +23 -0
- package/dist/lib/display/Scene.d.ts.map +1 -0
- package/dist/lib/display/Scene.js +70 -0
- package/dist/lib/display/Shape.d.ts +38 -0
- package/dist/lib/display/Shape.d.ts.map +1 -0
- package/dist/lib/display/Shape.js +80 -0
- package/dist/lib/display/SimpleButton.d.ts +175 -0
- package/dist/lib/display/SimpleButton.d.ts.map +1 -0
- package/dist/lib/display/SimpleButton.js +522 -0
- package/dist/lib/display/Sprite.d.ts +204 -0
- package/dist/lib/display/Sprite.d.ts.map +1 -0
- package/dist/lib/display/Sprite.js +671 -0
- package/dist/lib/display/Stage.d.ts +723 -0
- package/dist/lib/display/Stage.d.ts.map +1 -0
- package/dist/lib/display/Stage.js +1298 -0
- package/dist/lib/errors/EOFError.d.ts +8 -0
- package/dist/lib/errors/EOFError.d.ts.map +1 -0
- package/dist/lib/errors/EOFError.js +18 -0
- package/dist/lib/errors/IOError.d.ts +8 -0
- package/dist/lib/errors/IOError.d.ts.map +1 -0
- package/dist/lib/errors/IOError.js +18 -0
- package/dist/lib/errors/IllegalOperationError.d.ts +8 -0
- package/dist/lib/errors/IllegalOperationError.d.ts.map +1 -0
- package/dist/lib/errors/IllegalOperationError.js +18 -0
- package/dist/lib/errors/InvalidSWFError.d.ts +8 -0
- package/dist/lib/errors/InvalidSWFError.d.ts.map +1 -0
- package/dist/lib/errors/InvalidSWFError.js +18 -0
- package/dist/lib/errors/MemoryError.d.ts +8 -0
- package/dist/lib/errors/MemoryError.d.ts.map +1 -0
- package/dist/lib/errors/MemoryError.js +18 -0
- package/dist/lib/errors/ScriptTimeoutError.d.ts +8 -0
- package/dist/lib/errors/ScriptTimeoutError.d.ts.map +1 -0
- package/dist/lib/errors/ScriptTimeoutError.js +18 -0
- package/dist/lib/errors/StackOverflowError.d.ts +8 -0
- package/dist/lib/errors/StackOverflowError.d.ts.map +1 -0
- package/dist/lib/errors/StackOverflowError.js +18 -0
- package/dist/lib/events/AccelerometerEvent.d.ts +13 -0
- package/dist/lib/events/AccelerometerEvent.d.ts.map +1 -0
- package/dist/lib/events/AccelerometerEvent.js +26 -0
- package/dist/lib/events/ActivityEvent.d.ts +10 -0
- package/dist/lib/events/ActivityEvent.d.ts.map +1 -0
- package/dist/lib/events/ActivityEvent.js +20 -0
- package/dist/lib/events/AsyncErrorEvent.d.ts +13 -0
- package/dist/lib/events/AsyncErrorEvent.d.ts.map +1 -0
- package/dist/lib/events/AsyncErrorEvent.js +31 -0
- package/dist/lib/events/ContextMenuEvent.d.ts +13 -0
- package/dist/lib/events/ContextMenuEvent.d.ts.map +1 -0
- package/dist/lib/events/ContextMenuEvent.js +24 -0
- package/dist/lib/events/DataEvent.d.ts +10 -0
- package/dist/lib/events/DataEvent.d.ts.map +1 -0
- package/dist/lib/events/DataEvent.js +19 -0
- package/dist/lib/events/ErrorEvent.d.ts +30 -0
- package/dist/lib/events/ErrorEvent.d.ts.map +1 -0
- package/dist/lib/events/ErrorEvent.js +53 -0
- package/dist/lib/events/Event.d.ts +87 -0
- package/dist/lib/events/Event.d.ts.map +1 -0
- package/dist/lib/events/Event.js +213 -0
- package/dist/lib/events/EventDispatcher.d.ts +57 -0
- package/dist/lib/events/EventDispatcher.d.ts.map +1 -0
- package/dist/lib/events/EventDispatcher.js +233 -0
- package/dist/lib/events/EventDispatcherBase.d.ts +61 -0
- package/dist/lib/events/EventDispatcherBase.d.ts.map +1 -0
- package/dist/lib/events/EventDispatcherBase.js +258 -0
- package/dist/lib/events/EventPhase.d.ts +26 -0
- package/dist/lib/events/EventPhase.d.ts.map +1 -0
- package/dist/lib/events/EventPhase.js +33 -0
- package/dist/lib/events/FocusEvent.d.ts +50 -0
- package/dist/lib/events/FocusEvent.d.ts.map +1 -0
- package/dist/lib/events/FocusEvent.js +102 -0
- package/dist/lib/events/FullScreenEvent.d.ts +12 -0
- package/dist/lib/events/FullScreenEvent.d.ts.map +1 -0
- package/dist/lib/events/FullScreenEvent.js +23 -0
- package/dist/lib/events/GameInputEvent.d.ts +27 -0
- package/dist/lib/events/GameInputEvent.d.ts.map +1 -0
- package/dist/lib/events/GameInputEvent.js +38 -0
- package/dist/lib/events/GeolocationEvent.d.ts +9 -0
- package/dist/lib/events/GeolocationEvent.d.ts.map +1 -0
- package/dist/lib/events/GeolocationEvent.js +25 -0
- package/dist/lib/events/GestureEvent.d.ts +33 -0
- package/dist/lib/events/GestureEvent.d.ts.map +1 -0
- package/dist/lib/events/GestureEvent.js +121 -0
- package/dist/lib/events/GesturePhase.d.ts +12 -0
- package/dist/lib/events/GesturePhase.d.ts.map +1 -0
- package/dist/lib/events/GesturePhase.js +18 -0
- package/dist/lib/events/HTTPStatusEvent.d.ts +40 -0
- package/dist/lib/events/HTTPStatusEvent.d.ts.map +1 -0
- package/dist/lib/events/HTTPStatusEvent.js +88 -0
- package/dist/lib/events/IEventMapper.d.ts +7 -0
- package/dist/lib/events/IEventMapper.d.ts.map +1 -0
- package/dist/lib/events/IEventMapper.js +1 -0
- package/dist/lib/events/IMEEvent.d.ts +11 -0
- package/dist/lib/events/IMEEvent.d.ts.map +1 -0
- package/dist/lib/events/IMEEvent.js +23 -0
- package/dist/lib/events/IOErrorEvent.d.ts +30 -0
- package/dist/lib/events/IOErrorEvent.d.ts.map +1 -0
- package/dist/lib/events/IOErrorEvent.js +46 -0
- package/dist/lib/events/KeyboardEvent.d.ts +46 -0
- package/dist/lib/events/KeyboardEvent.d.ts.map +1 -0
- package/dist/lib/events/KeyboardEvent.js +115 -0
- package/dist/lib/events/MouseEvent.d.ts +88 -0
- package/dist/lib/events/MouseEvent.d.ts.map +1 -0
- package/dist/lib/events/MouseEvent.js +267 -0
- package/dist/lib/events/NetDataEvent.d.ts +12 -0
- package/dist/lib/events/NetDataEvent.d.ts.map +1 -0
- package/dist/lib/events/NetDataEvent.js +22 -0
- package/dist/lib/events/NetStatusEvent.d.ts +29 -0
- package/dist/lib/events/NetStatusEvent.d.ts.map +1 -0
- package/dist/lib/events/NetStatusEvent.js +52 -0
- package/dist/lib/events/OutputProgressEvent.d.ts +11 -0
- package/dist/lib/events/OutputProgressEvent.d.ts.map +1 -0
- package/dist/lib/events/OutputProgressEvent.js +22 -0
- package/dist/lib/events/PressAndTapGestureEvent.d.ts +11 -0
- package/dist/lib/events/PressAndTapGestureEvent.d.ts.map +1 -0
- package/dist/lib/events/PressAndTapGestureEvent.js +28 -0
- package/dist/lib/events/ProgressEvent.d.ts +33 -0
- package/dist/lib/events/ProgressEvent.d.ts.map +1 -0
- package/dist/lib/events/ProgressEvent.js +65 -0
- package/dist/lib/events/SampleDataEvent.d.ts +108 -0
- package/dist/lib/events/SampleDataEvent.d.ts.map +1 -0
- package/dist/lib/events/SampleDataEvent.js +140 -0
- package/dist/lib/events/ShaderEvent.d.ts +11 -0
- package/dist/lib/events/ShaderEvent.d.ts.map +1 -0
- package/dist/lib/events/ShaderEvent.js +20 -0
- package/dist/lib/events/SoftKeyboardEvent.d.ts +12 -0
- package/dist/lib/events/SoftKeyboardEvent.d.ts.map +1 -0
- package/dist/lib/events/SoftKeyboardEvent.js +17 -0
- package/dist/lib/events/SoftKeyboardTrigger.d.ts +10 -0
- package/dist/lib/events/SoftKeyboardTrigger.d.ts.map +1 -0
- package/dist/lib/events/SoftKeyboardTrigger.js +16 -0
- package/dist/lib/events/StageVideoAvailabilityEvent.d.ts +10 -0
- package/dist/lib/events/StageVideoAvailabilityEvent.d.ts.map +1 -0
- package/dist/lib/events/StageVideoAvailabilityEvent.js +21 -0
- package/dist/lib/events/StageVideoEvent.d.ts +14 -0
- package/dist/lib/events/StageVideoEvent.d.ts.map +1 -0
- package/dist/lib/events/StageVideoEvent.js +26 -0
- package/dist/lib/events/StaticEvents.d.ts +4 -0
- package/dist/lib/events/StaticEvents.d.ts.map +1 -0
- package/dist/lib/events/StaticEvents.js +7 -0
- package/dist/lib/events/StatusEvent.d.ts +15 -0
- package/dist/lib/events/StatusEvent.d.ts.map +1 -0
- package/dist/lib/events/StatusEvent.js +46 -0
- package/dist/lib/events/SyncEvent.d.ts +10 -0
- package/dist/lib/events/SyncEvent.d.ts.map +1 -0
- package/dist/lib/events/SyncEvent.js +21 -0
- package/dist/lib/events/TextEvent.d.ts +31 -0
- package/dist/lib/events/TextEvent.d.ts.map +1 -0
- package/dist/lib/events/TextEvent.js +55 -0
- package/dist/lib/events/ThrottleEvent.d.ts +11 -0
- package/dist/lib/events/ThrottleEvent.d.ts.map +1 -0
- package/dist/lib/events/ThrottleEvent.js +23 -0
- package/dist/lib/events/ThrottleType.d.ts +11 -0
- package/dist/lib/events/ThrottleType.d.ts.map +1 -0
- package/dist/lib/events/ThrottleType.js +17 -0
- package/dist/lib/events/TimerEvent.d.ts +13 -0
- package/dist/lib/events/TimerEvent.d.ts.map +1 -0
- package/dist/lib/events/TimerEvent.js +26 -0
- package/dist/lib/events/TouchEvent.d.ts +430 -0
- package/dist/lib/events/TouchEvent.d.ts.map +1 -0
- package/dist/lib/events/TouchEvent.js +550 -0
- package/dist/lib/events/TransformGestureEvent.d.ts +12 -0
- package/dist/lib/events/TransformGestureEvent.d.ts.map +1 -0
- package/dist/lib/events/TransformGestureEvent.js +31 -0
- package/dist/lib/events/UncaughtErrorEvent.d.ts +9 -0
- package/dist/lib/events/UncaughtErrorEvent.d.ts.map +1 -0
- package/dist/lib/events/UncaughtErrorEvent.js +19 -0
- package/dist/lib/events/UncaughtErrorEvents.d.ts +23 -0
- package/dist/lib/events/UncaughtErrorEvents.d.ts.map +1 -0
- package/dist/lib/events/UncaughtErrorEvents.js +29 -0
- package/dist/lib/events/VideoEvent.d.ts +13 -0
- package/dist/lib/events/VideoEvent.d.ts.map +1 -0
- package/dist/lib/events/VideoEvent.js +24 -0
- package/dist/lib/external/ExternalInterface.d.ts +27 -0
- package/dist/lib/external/ExternalInterface.d.ts.map +1 -0
- package/dist/lib/external/ExternalInterface.js +298 -0
- package/dist/lib/factories/FlashSceneGraphFactory.d.ts +33 -0
- package/dist/lib/factories/FlashSceneGraphFactory.d.ts.map +1 -0
- package/dist/lib/factories/FlashSceneGraphFactory.js +175 -0
- package/dist/lib/filters/BevelFilter.d.ts +66 -0
- package/dist/lib/filters/BevelFilter.d.ts.map +1 -0
- package/dist/lib/filters/BevelFilter.js +207 -0
- package/dist/lib/filters/BitmapFilter.d.ts +27 -0
- package/dist/lib/filters/BitmapFilter.d.ts.map +1 -0
- package/dist/lib/filters/BitmapFilter.js +116 -0
- package/dist/lib/filters/BitmapFilterType.d.ts +26 -0
- package/dist/lib/filters/BitmapFilterType.d.ts.map +1 -0
- package/dist/lib/filters/BitmapFilterType.js +36 -0
- package/dist/lib/filters/BlurFilter.d.ts +23 -0
- package/dist/lib/filters/BlurFilter.d.ts.map +1 -0
- package/dist/lib/filters/BlurFilter.js +64 -0
- package/dist/lib/filters/ColorMatrixFilter.d.ts +39 -0
- package/dist/lib/filters/ColorMatrixFilter.d.ts.map +1 -0
- package/dist/lib/filters/ColorMatrixFilter.js +69 -0
- package/dist/lib/filters/ConvolutionFilter.d.ts +54 -0
- package/dist/lib/filters/ConvolutionFilter.d.ts.map +1 -0
- package/dist/lib/filters/ConvolutionFilter.js +180 -0
- package/dist/lib/filters/DisplacementMapFilter.d.ts +57 -0
- package/dist/lib/filters/DisplacementMapFilter.d.ts.map +1 -0
- package/dist/lib/filters/DisplacementMapFilter.js +159 -0
- package/dist/lib/filters/DropShadowFilter.d.ts +63 -0
- package/dist/lib/filters/DropShadowFilter.d.ts.map +1 -0
- package/dist/lib/filters/DropShadowFilter.js +185 -0
- package/dist/lib/filters/FilterBuilder.d.ts +6 -0
- package/dist/lib/filters/FilterBuilder.d.ts.map +1 -0
- package/dist/lib/filters/FilterBuilder.js +33 -0
- package/dist/lib/filters/GlowFilter.d.ts +53 -0
- package/dist/lib/filters/GlowFilter.d.ts.map +1 -0
- package/dist/lib/filters/GlowFilter.js +145 -0
- package/dist/lib/filters/GradientBevelFilter.d.ts +68 -0
- package/dist/lib/filters/GradientBevelFilter.d.ts.map +1 -0
- package/dist/lib/filters/GradientBevelFilter.js +228 -0
- package/dist/lib/filters/GradientGlowFilter.d.ts +59 -0
- package/dist/lib/filters/GradientGlowFilter.d.ts.map +1 -0
- package/dist/lib/filters/GradientGlowFilter.js +223 -0
- package/dist/lib/geom/ColorTransform.d.ts +91 -0
- package/dist/lib/geom/ColorTransform.d.ts.map +1 -0
- package/dist/lib/geom/ColorTransform.js +259 -0
- package/dist/lib/geom/Matrix.d.ts +288 -0
- package/dist/lib/geom/Matrix.d.ts.map +1 -0
- package/dist/lib/geom/Matrix.js +414 -0
- package/dist/lib/geom/Matrix3D.d.ts +45 -0
- package/dist/lib/geom/Matrix3D.d.ts.map +1 -0
- package/dist/lib/geom/Matrix3D.js +213 -0
- package/dist/lib/geom/PerspectiveProjection.d.ts +2 -0
- package/dist/lib/geom/PerspectiveProjection.d.ts.map +1 -0
- package/dist/lib/geom/PerspectiveProjection.js +1 -0
- package/dist/lib/geom/Point.d.ts +123 -0
- package/dist/lib/geom/Point.d.ts.map +1 -0
- package/dist/lib/geom/Point.js +196 -0
- package/dist/lib/geom/Rectangle.d.ts +310 -0
- package/dist/lib/geom/Rectangle.d.ts.map +1 -0
- package/dist/lib/geom/Rectangle.js +478 -0
- package/dist/lib/geom/Transform.d.ts +42 -0
- package/dist/lib/geom/Transform.d.ts.map +1 -0
- package/dist/lib/geom/Transform.js +112 -0
- package/dist/lib/geom/Vector3D.d.ts +324 -0
- package/dist/lib/geom/Vector3D.d.ts.map +1 -0
- package/dist/lib/geom/Vector3D.js +434 -0
- package/dist/lib/globalization/LocaleID.d.ts +38 -0
- package/dist/lib/globalization/LocaleID.d.ts.map +1 -0
- package/dist/lib/globalization/LocaleID.js +92 -0
- package/dist/lib/globalization/NumberFormatter.d.ts +391 -0
- package/dist/lib/globalization/NumberFormatter.d.ts.map +1 -0
- package/dist/lib/globalization/NumberFormatter.js +555 -0
- package/dist/lib/link.d.ts +2 -0
- package/dist/lib/link.d.ts.map +1 -0
- package/dist/lib/link.js +619 -0
- package/dist/lib/media/ID3Info.d.ts +60 -0
- package/dist/lib/media/ID3Info.d.ts.map +1 -0
- package/dist/lib/media/ID3Info.js +13 -0
- package/dist/lib/media/Sound.d.ts +353 -0
- package/dist/lib/media/Sound.d.ts.map +1 -0
- package/dist/lib/media/Sound.js +496 -0
- package/dist/lib/media/SoundChannel.d.ts +65 -0
- package/dist/lib/media/SoundChannel.d.ts.map +1 -0
- package/dist/lib/media/SoundChannel.js +152 -0
- package/dist/lib/media/SoundLoaderContext.d.ts +99 -0
- package/dist/lib/media/SoundLoaderContext.d.ts.map +1 -0
- package/dist/lib/media/SoundLoaderContext.js +21 -0
- package/dist/lib/media/SoundMixer.d.ts +49 -0
- package/dist/lib/media/SoundMixer.d.ts.map +1 -0
- package/dist/lib/media/SoundMixer.js +126 -0
- package/dist/lib/media/SoundTransform.d.ts +64 -0
- package/dist/lib/media/SoundTransform.d.ts.map +1 -0
- package/dist/lib/media/SoundTransform.js +146 -0
- package/dist/lib/net/FileFilter.d.ts +13 -0
- package/dist/lib/net/FileFilter.d.ts.map +1 -0
- package/dist/lib/net/FileFilter.js +40 -0
- package/dist/lib/net/FileReference.d.ts +49 -0
- package/dist/lib/net/FileReference.d.ts.map +1 -0
- package/dist/lib/net/FileReference.js +271 -0
- package/dist/lib/net/LocalConnection.d.ts +26 -0
- package/dist/lib/net/LocalConnection.d.ts.map +1 -0
- package/dist/lib/net/LocalConnection.js +251 -0
- package/dist/lib/net/NetConnection.d.ts +80 -0
- package/dist/lib/net/NetConnection.d.ts.map +1 -0
- package/dist/lib/net/NetConnection.js +447 -0
- package/dist/lib/net/Responder.d.ts +30 -0
- package/dist/lib/net/Responder.d.ts.map +1 -0
- package/dist/lib/net/Responder.js +49 -0
- package/dist/lib/net/SharedObject.d.ts +66 -0
- package/dist/lib/net/SharedObject.d.ts.map +1 -0
- package/dist/lib/net/SharedObject.js +323 -0
- package/dist/lib/net/Socket.d.ts +66 -0
- package/dist/lib/net/Socket.d.ts.map +1 -0
- package/dist/lib/net/Socket.js +248 -0
- package/dist/lib/net/URLLoader.d.ts +26 -0
- package/dist/lib/net/URLLoader.d.ts.map +1 -0
- package/dist/lib/net/URLLoader.js +116 -0
- package/dist/lib/net/URLLoaderDataFormat.d.ts +2 -0
- package/dist/lib/net/URLLoaderDataFormat.d.ts.map +1 -0
- package/dist/lib/net/URLLoaderDataFormat.js +1 -0
- package/dist/lib/net/URLRequest.d.ts +43 -0
- package/dist/lib/net/URLRequest.d.ts.map +1 -0
- package/dist/lib/net/URLRequest.js +141 -0
- package/dist/lib/net/URLVariables.d.ts +12 -0
- package/dist/lib/net/URLVariables.d.ts.map +1 -0
- package/dist/lib/net/URLVariables.js +67 -0
- package/dist/lib/system/ApplicationDomain.d.ts +104 -0
- package/dist/lib/system/ApplicationDomain.d.ts.map +1 -0
- package/dist/lib/system/ApplicationDomain.js +269 -0
- package/dist/lib/system/Capabilities.d.ts +58 -0
- package/dist/lib/system/Capabilities.d.ts.map +1 -0
- package/dist/lib/system/Capabilities.js +361 -0
- package/dist/lib/system/FSCommand.d.ts +5 -0
- package/dist/lib/system/FSCommand.d.ts.map +1 -0
- package/dist/lib/system/FSCommand.js +14 -0
- package/dist/lib/system/IME.d.ts +125 -0
- package/dist/lib/system/IME.d.ts.map +1 -0
- package/dist/lib/system/IME.js +163 -0
- package/dist/lib/system/LoaderContext.d.ts +421 -0
- package/dist/lib/system/LoaderContext.d.ts.map +1 -0
- package/dist/lib/system/LoaderContext.js +62 -0
- package/dist/lib/system/Security.d.ts +45 -0
- package/dist/lib/system/Security.d.ts.map +1 -0
- package/dist/lib/system/Security.js +107 -0
- package/dist/lib/system/SecurityDomain.d.ts +5 -0
- package/dist/lib/system/SecurityDomain.d.ts.map +1 -0
- package/dist/lib/system/SecurityDomain.js +18 -0
- package/dist/lib/system/System.d.ts +150 -0
- package/dist/lib/system/System.d.ts.map +1 -0
- package/dist/lib/system/System.js +238 -0
- package/dist/lib/system/TouchscreenType.d.ts +26 -0
- package/dist/lib/system/TouchscreenType.d.ts.map +1 -0
- package/dist/lib/system/TouchscreenType.js +35 -0
- package/dist/lib/text/CSMSettings.d.ts +11 -0
- package/dist/lib/text/CSMSettings.d.ts.map +1 -0
- package/dist/lib/text/CSMSettings.js +20 -0
- package/dist/lib/text/Font.d.ts +18 -0
- package/dist/lib/text/Font.d.ts.map +1 -0
- package/dist/lib/text/Font.js +70 -0
- package/dist/lib/text/FontType.d.ts +11 -0
- package/dist/lib/text/FontType.d.ts.map +1 -0
- package/dist/lib/text/FontType.js +17 -0
- package/dist/lib/text/StaticText.d.ts +13 -0
- package/dist/lib/text/StaticText.d.ts.map +1 -0
- package/dist/lib/text/StaticText.js +41 -0
- package/dist/lib/text/StyleSheet.d.ts +168 -0
- package/dist/lib/text/StyleSheet.d.ts.map +1 -0
- package/dist/lib/text/StyleSheet.js +198 -0
- package/dist/lib/text/TextColorType.d.ts +10 -0
- package/dist/lib/text/TextColorType.d.ts.map +1 -0
- package/dist/lib/text/TextColorType.js +15 -0
- package/dist/lib/text/TextDisplayMode.d.ts +11 -0
- package/dist/lib/text/TextDisplayMode.d.ts.map +1 -0
- package/dist/lib/text/TextDisplayMode.js +16 -0
- package/dist/lib/text/TextExtent.d.ts +11 -0
- package/dist/lib/text/TextExtent.d.ts.map +1 -0
- package/dist/lib/text/TextExtent.js +20 -0
- package/dist/lib/text/TextField.d.ts +911 -0
- package/dist/lib/text/TextField.d.ts.map +1 -0
- package/dist/lib/text/TextField.js +1398 -0
- package/dist/lib/text/TextFormat.d.ts +61 -0
- package/dist/lib/text/TextFormat.d.ts.map +1 -0
- package/dist/lib/text/TextFormat.js +266 -0
- package/dist/lib/text/TextFormatDisplay.d.ts +10 -0
- package/dist/lib/text/TextFormatDisplay.d.ts.map +1 -0
- package/dist/lib/text/TextFormatDisplay.js +19 -0
- package/dist/lib/text/TextLineMetrics.d.ts +57 -0
- package/dist/lib/text/TextLineMetrics.d.ts.map +1 -0
- package/dist/lib/text/TextLineMetrics.js +38 -0
- package/dist/lib/text/TextRenderer.d.ts +15 -0
- package/dist/lib/text/TextRenderer.d.ts.map +1 -0
- package/dist/lib/text/TextRenderer.js +71 -0
- package/dist/lib/text/TextRun.d.ts +19 -0
- package/dist/lib/text/TextRun.d.ts.map +1 -0
- package/dist/lib/text/TextRun.js +54 -0
- package/dist/lib/text/TextSnapshot.d.ts +15 -0
- package/dist/lib/text/TextSnapshot.d.ts.map +1 -0
- package/dist/lib/text/TextSnapshot.js +83 -0
- package/dist/lib/text/engine/BreakOpportunity.d.ts +11 -0
- package/dist/lib/text/engine/BreakOpportunity.d.ts.map +1 -0
- package/dist/lib/text/engine/BreakOpportunity.js +16 -0
- package/dist/lib/text/engine/CFFHinting.d.ts +9 -0
- package/dist/lib/text/engine/CFFHinting.d.ts.map +1 -0
- package/dist/lib/text/engine/CFFHinting.js +14 -0
- package/dist/lib/text/engine/ContentElement.d.ts +37 -0
- package/dist/lib/text/engine/ContentElement.d.ts.map +1 -0
- package/dist/lib/text/engine/ContentElement.js +123 -0
- package/dist/lib/text/engine/DigitCase.d.ts +10 -0
- package/dist/lib/text/engine/DigitCase.d.ts.map +1 -0
- package/dist/lib/text/engine/DigitCase.js +16 -0
- package/dist/lib/text/engine/DigitWidth.d.ts +10 -0
- package/dist/lib/text/engine/DigitWidth.d.ts.map +1 -0
- package/dist/lib/text/engine/DigitWidth.js +16 -0
- package/dist/lib/text/engine/EastAsianJustifier.d.ts +12 -0
- package/dist/lib/text/engine/EastAsianJustifier.d.ts.map +1 -0
- package/dist/lib/text/engine/EastAsianJustifier.js +50 -0
- package/dist/lib/text/engine/ElementFormat.d.ts +69 -0
- package/dist/lib/text/engine/ElementFormat.d.ts.map +1 -0
- package/dist/lib/text/engine/ElementFormat.js +291 -0
- package/dist/lib/text/engine/FontDescription.d.ts +31 -0
- package/dist/lib/text/engine/FontDescription.d.ts.map +1 -0
- package/dist/lib/text/engine/FontDescription.js +113 -0
- package/dist/lib/text/engine/FontLookup.d.ts +9 -0
- package/dist/lib/text/engine/FontLookup.d.ts.map +1 -0
- package/dist/lib/text/engine/FontLookup.js +15 -0
- package/dist/lib/text/engine/FontMetrics.d.ts +18 -0
- package/dist/lib/text/engine/FontMetrics.d.ts.map +1 -0
- package/dist/lib/text/engine/FontMetrics.js +24 -0
- package/dist/lib/text/engine/FontPosture.d.ts +9 -0
- package/dist/lib/text/engine/FontPosture.d.ts.map +1 -0
- package/dist/lib/text/engine/FontPosture.js +15 -0
- package/dist/lib/text/engine/FontWeight.d.ts +9 -0
- package/dist/lib/text/engine/FontWeight.d.ts.map +1 -0
- package/dist/lib/text/engine/FontWeight.js +15 -0
- package/dist/lib/text/engine/GraphicElement.d.ts +16 -0
- package/dist/lib/text/engine/GraphicElement.d.ts.map +1 -0
- package/dist/lib/text/engine/GraphicElement.js +72 -0
- package/dist/lib/text/engine/GroupElement.d.ts +23 -0
- package/dist/lib/text/engine/GroupElement.d.ts.map +1 -0
- package/dist/lib/text/engine/GroupElement.js +102 -0
- package/dist/lib/text/engine/JustificationStyle.d.ts +10 -0
- package/dist/lib/text/engine/JustificationStyle.d.ts.map +1 -0
- package/dist/lib/text/engine/JustificationStyle.js +16 -0
- package/dist/lib/text/engine/Kerning.d.ts +10 -0
- package/dist/lib/text/engine/Kerning.d.ts.map +1 -0
- package/dist/lib/text/engine/Kerning.js +16 -0
- package/dist/lib/text/engine/LigatureLevel.d.ts +12 -0
- package/dist/lib/text/engine/LigatureLevel.d.ts.map +1 -0
- package/dist/lib/text/engine/LigatureLevel.js +18 -0
- package/dist/lib/text/engine/LineJustification.d.ts +11 -0
- package/dist/lib/text/engine/LineJustification.d.ts.map +1 -0
- package/dist/lib/text/engine/LineJustification.js +17 -0
- package/dist/lib/text/engine/NativehacksForTLF.d.ts +22 -0
- package/dist/lib/text/engine/NativehacksForTLF.d.ts.map +1 -0
- package/dist/lib/text/engine/NativehacksForTLF.js +70 -0
- package/dist/lib/text/engine/RenderingMode.d.ts +9 -0
- package/dist/lib/text/engine/RenderingMode.d.ts.map +1 -0
- package/dist/lib/text/engine/RenderingMode.js +15 -0
- package/dist/lib/text/engine/SpaceJustifier.d.ts +20 -0
- package/dist/lib/text/engine/SpaceJustifier.d.ts.map +1 -0
- package/dist/lib/text/engine/SpaceJustifier.js +58 -0
- package/dist/lib/text/engine/TabAlignment.d.ts +11 -0
- package/dist/lib/text/engine/TabAlignment.d.ts.map +1 -0
- package/dist/lib/text/engine/TabAlignment.js +17 -0
- package/dist/lib/text/engine/TabStop.d.ts +13 -0
- package/dist/lib/text/engine/TabStop.d.ts.map +1 -0
- package/dist/lib/text/engine/TabStop.js +66 -0
- package/dist/lib/text/engine/TextBaseline.d.ts +14 -0
- package/dist/lib/text/engine/TextBaseline.d.ts.map +1 -0
- package/dist/lib/text/engine/TextBaseline.js +20 -0
- package/dist/lib/text/engine/TextBlock.d.ts +76 -0
- package/dist/lib/text/engine/TextBlock.d.ts.map +1 -0
- package/dist/lib/text/engine/TextBlock.js +500 -0
- package/dist/lib/text/engine/TextElement.d.ts +12 -0
- package/dist/lib/text/engine/TextElement.d.ts.map +1 -0
- package/dist/lib/text/engine/TextElement.js +45 -0
- package/dist/lib/text/engine/TextJustifier.d.ts +15 -0
- package/dist/lib/text/engine/TextJustifier.d.ts.map +1 -0
- package/dist/lib/text/engine/TextJustifier.js +46 -0
- package/dist/lib/text/engine/TextLine.d.ts +86 -0
- package/dist/lib/text/engine/TextLine.d.ts.map +1 -0
- package/dist/lib/text/engine/TextLine.js +381 -0
- package/dist/lib/text/engine/TextLineCreationResult.d.ts +11 -0
- package/dist/lib/text/engine/TextLineCreationResult.d.ts.map +1 -0
- package/dist/lib/text/engine/TextLineCreationResult.js +17 -0
- package/dist/lib/text/engine/TextLineMirrorRegion.d.ts +17 -0
- package/dist/lib/text/engine/TextLineMirrorRegion.d.ts.map +1 -0
- package/dist/lib/text/engine/TextLineMirrorRegion.js +75 -0
- package/dist/lib/text/engine/TextLineValidity.d.ts +11 -0
- package/dist/lib/text/engine/TextLineValidity.d.ts.map +1 -0
- package/dist/lib/text/engine/TextLineValidity.js +17 -0
- package/dist/lib/text/engine/TextRotation.d.ts +12 -0
- package/dist/lib/text/engine/TextRotation.d.ts.map +1 -0
- package/dist/lib/text/engine/TextRotation.js +18 -0
- package/dist/lib/text/engine/TypographicCase.d.ts +14 -0
- package/dist/lib/text/engine/TypographicCase.d.ts.map +1 -0
- package/dist/lib/text/engine/TypographicCase.js +20 -0
- package/dist/lib/text/ime/CompositionAttributeRange.d.ts +12 -0
- package/dist/lib/text/ime/CompositionAttributeRange.d.ts.map +1 -0
- package/dist/lib/text/ime/CompositionAttributeRange.js +20 -0
- package/dist/lib/ui/ContextMenu.d.ts +29 -0
- package/dist/lib/ui/ContextMenu.d.ts.map +1 -0
- package/dist/lib/ui/ContextMenu.js +128 -0
- package/dist/lib/ui/ContextMenuBuiltInItems.d.ts +31 -0
- package/dist/lib/ui/ContextMenuBuiltInItems.d.ts.map +1 -0
- package/dist/lib/ui/ContextMenuBuiltInItems.js +112 -0
- package/dist/lib/ui/ContextMenuClipboardItems.d.ts +24 -0
- package/dist/lib/ui/ContextMenuClipboardItems.d.ts.map +1 -0
- package/dist/lib/ui/ContextMenuClipboardItems.js +99 -0
- package/dist/lib/ui/ContextMenuItem.d.ts +19 -0
- package/dist/lib/ui/ContextMenuItem.d.ts.map +1 -0
- package/dist/lib/ui/ContextMenuItem.js +62 -0
- package/dist/lib/ui/GameInput.d.ts +12 -0
- package/dist/lib/ui/GameInput.d.ts.map +1 -0
- package/dist/lib/ui/GameInput.js +49 -0
- package/dist/lib/ui/GameInputControl.d.ts +17 -0
- package/dist/lib/ui/GameInputControl.d.ts.map +1 -0
- package/dist/lib/ui/GameInputControl.js +95 -0
- package/dist/lib/ui/GameInputControlType.d.ts +14 -0
- package/dist/lib/ui/GameInputControlType.d.ts.map +1 -0
- package/dist/lib/ui/GameInputControlType.js +23 -0
- package/dist/lib/ui/GameInputDevice.d.ts +21 -0
- package/dist/lib/ui/GameInputDevice.d.ts.map +1 -0
- package/dist/lib/ui/GameInputDevice.js +105 -0
- package/dist/lib/ui/GameInputFinger.d.ts +12 -0
- package/dist/lib/ui/GameInputFinger.d.ts.map +1 -0
- package/dist/lib/ui/GameInputFinger.js +21 -0
- package/dist/lib/ui/GameInputHand.d.ts +11 -0
- package/dist/lib/ui/GameInputHand.d.ts.map +1 -0
- package/dist/lib/ui/GameInputHand.js +20 -0
- package/dist/lib/ui/Keyboard.d.ts +36 -0
- package/dist/lib/ui/Keyboard.d.ts.map +1 -0
- package/dist/lib/ui/Keyboard.js +383 -0
- package/dist/lib/ui/Mouse.d.ts +14 -0
- package/dist/lib/ui/Mouse.d.ts.map +1 -0
- package/dist/lib/ui/Mouse.js +78 -0
- package/dist/lib/ui/MouseCursorData.d.ts +24 -0
- package/dist/lib/ui/MouseCursorData.d.ts.map +1 -0
- package/dist/lib/ui/MouseCursorData.js +55 -0
- package/dist/lib/ui/Multitouch.d.ts +78 -0
- package/dist/lib/ui/Multitouch.d.ts.map +1 -0
- package/dist/lib/ui/Multitouch.js +135 -0
- package/dist/lib/ui/MultitouchInputMode.d.ts +26 -0
- package/dist/lib/ui/MultitouchInputMode.d.ts.map +1 -0
- package/dist/lib/ui/MultitouchInputMode.js +29 -0
- package/dist/lib/utils/ByteArray.d.ts +2 -0
- package/dist/lib/utils/ByteArray.d.ts.map +1 -0
- package/dist/lib/utils/ByteArray.js +1 -0
- package/dist/lib/utils/CompressionAlgorithm.d.ts +7 -0
- package/dist/lib/utils/CompressionAlgorithm.d.ts.map +1 -0
- package/dist/lib/utils/CompressionAlgorithm.js +13 -0
- package/dist/lib/utils/IDataInput.d.ts +175 -0
- package/dist/lib/utils/IDataInput.d.ts.map +1 -0
- package/dist/lib/utils/IDataInput.js +1 -0
- package/dist/lib/utils/IDataOutput.d.ts +131 -0
- package/dist/lib/utils/IDataOutput.d.ts.map +1 -0
- package/dist/lib/utils/IDataOutput.js +1 -0
- package/dist/lib/utils/IExternalizable.d.ts +35 -0
- package/dist/lib/utils/IExternalizable.d.ts.map +1 -0
- package/dist/lib/utils/IExternalizable.js +1 -0
- package/dist/lib/utils/Timer.d.ts +28 -0
- package/dist/lib/utils/Timer.d.ts.map +1 -0
- package/dist/lib/utils/Timer.js +115 -0
- package/index.ts +21 -0
- package/lib/ILoader.ts +14 -0
- package/lib/PlayerGlobal.ts +278 -0
- package/lib/RegisterCode.ts +10 -0
- package/lib/SecurityDomain.ts +194 -0
- package/lib/Settings.ts +15 -0
- package/lib/_shumway_flash/accessibility/Accessibility.ts +40 -0
- package/lib/_shumway_flash/accessibility/AccessibilityImplementation.ts +40 -0
- package/lib/_shumway_flash/accessibility/AccessibilityProperties.ts +29 -0
- package/lib/_shumway_flash/accessibility/ISearchableText.ts +4 -0
- package/lib/_shumway_flash/accessibility/ISimpleTextSelection.ts +4 -0
- package/lib/_shumway_flash/automation/ActionGenerator.ts +14 -0
- package/lib/_shumway_flash/automation/AutomationAction.ts +14 -0
- package/lib/_shumway_flash/automation/Configuration.ts +23 -0
- package/lib/_shumway_flash/automation/KeyboardAutomationAction.ts +16 -0
- package/lib/_shumway_flash/automation/MouseAutomationAction.ts +20 -0
- package/lib/_shumway_flash/automation/StageCapture.ts +50 -0
- package/lib/_shumway_flash/automation/StageCaptureEvent.ts +21 -0
- package/lib/_shumway_flash/desktop/ClipboardTransferMode.ts +24 -0
- package/lib/_shumway_flash/display/AVM1Movie.ts +157 -0
- package/lib/_shumway_flash/display/ActionScriptVersion.ts +21 -0
- package/lib/_shumway_flash/display/BitmapEncodingColorSpace.ts +24 -0
- package/lib/_shumway_flash/display/ColorCorrection.ts +50 -0
- package/lib/_shumway_flash/display/ColorCorrectionSupport.ts +50 -0
- package/lib/_shumway_flash/display/FocusDirection.ts +23 -0
- package/lib/_shumway_flash/display/GraphicsBitmapFill.ts +35 -0
- package/lib/_shumway_flash/display/GraphicsEndFill.ts +23 -0
- package/lib/_shumway_flash/display/GraphicsGradientFill.ts +31 -0
- package/lib/_shumway_flash/display/GraphicsShaderFill.ts +30 -0
- package/lib/_shumway_flash/display/GraphicsSolidFill.ts +28 -0
- package/lib/_shumway_flash/display/GraphicsStroke.ts +48 -0
- package/lib/_shumway_flash/display/GraphicsTrianglePath.ts +38 -0
- package/lib/_shumway_flash/display/JPEGEncoderOptions.ts +25 -0
- package/lib/_shumway_flash/display/JPEGXREncoderOptions.ts +24 -0
- package/lib/_shumway_flash/display/MorphShape.ts +70 -0
- package/lib/_shumway_flash/display/PNGEncoderOptions.ts +25 -0
- package/lib/_shumway_flash/display/SWFVersion.ts +34 -0
- package/lib/_shumway_flash/display/Shader.ts +46 -0
- package/lib/_shumway_flash/display/ShaderData.ts +20 -0
- package/lib/_shumway_flash/display/ShaderInput.ts +63 -0
- package/lib/_shumway_flash/display/ShaderJob.ts +81 -0
- package/lib/_shumway_flash/display/ShaderParameter.ts +43 -0
- package/lib/_shumway_flash/display/ShaderParameterType.ts +37 -0
- package/lib/_shumway_flash/display/ShaderPrecision.ts +24 -0
- package/lib/_shumway_flash/display/Stage3D.ts +64 -0
- package/lib/_shumway_flash/display/StageAlign.ts +69 -0
- package/lib/_shumway_flash/display/StageDisplayState.ts +50 -0
- package/lib/_shumway_flash/display/StageQuality.ts +75 -0
- package/lib/_shumway_flash/display/StageScaleMode.ts +66 -0
- package/lib/_shumway_flash/display/interfaces.ts +6 -0
- package/lib/_shumway_flash/display3D/Context3DBlendFactor.ts +50 -0
- package/lib/_shumway_flash/display3D/Context3DCompareMode.ts +48 -0
- package/lib/_shumway_flash/display3D/Context3DProfile.ts +42 -0
- package/lib/_shumway_flash/display3D/Context3DRenderMode.ts +42 -0
- package/lib/_shumway_flash/display3D/Context3DStencilAction.ts +48 -0
- package/lib/_shumway_flash/display3D/Context3DTextureFormat.ts +43 -0
- package/lib/_shumway_flash/display3D/Context3DTriangleFace.ts +44 -0
- package/lib/_shumway_flash/display3D/Context3DVertexBufferFormat.ts +45 -0
- package/lib/_shumway_flash/display3D/IndexBuffer3D.ts +53 -0
- package/lib/_shumway_flash/display3D/Program3D.ts +48 -0
- package/lib/_shumway_flash/display3D/VertexBuffer3D.ts +35 -0
- package/lib/_shumway_flash/display3D/textures/CubeTexture.ts +50 -0
- package/lib/_shumway_flash/display3D/textures/TextureBase.ts +39 -0
- package/lib/_shumway_flash/filters/BitmapFilterQuality.ts +25 -0
- package/lib/_shumway_flash/filters/DisplacementMapFilterMode.ts +25 -0
- package/lib/_shumway_flash/filters/ShaderFilter.ts +43 -0
- package/lib/_shumway_flash/globalization/Collator.ts +148 -0
- package/lib/_shumway_flash/globalization/CollatorMode.ts +37 -0
- package/lib/_shumway_flash/globalization/CurrencyFormatter.ts +232 -0
- package/lib/_shumway_flash/globalization/CurrencyParseResult.ts +57 -0
- package/lib/_shumway_flash/globalization/DateTimeFormatter.ts +110 -0
- package/lib/_shumway_flash/globalization/DateTimeNameContext.ts +42 -0
- package/lib/_shumway_flash/globalization/DateTimeNameStyle.ts +43 -0
- package/lib/_shumway_flash/globalization/DateTimeStyle.ts +45 -0
- package/lib/_shumway_flash/globalization/LastOperationStatus.ts +57 -0
- package/lib/_shumway_flash/globalization/LocaleID.ts +86 -0
- package/lib/_shumway_flash/globalization/NationalDigitsType.ts +72 -0
- package/lib/_shumway_flash/globalization/NumberParseResult.ts +63 -0
- package/lib/_shumway_flash/media/AudioDecoder.ts +44 -0
- package/lib/_shumway_flash/media/Camera.ts +167 -0
- package/lib/_shumway_flash/media/H264Level.ts +54 -0
- package/lib/_shumway_flash/media/H264Profile.ts +40 -0
- package/lib/_shumway_flash/media/H264VideoStreamSettings.ts +48 -0
- package/lib/_shumway_flash/media/Microphone.ts +217 -0
- package/lib/_shumway_flash/media/MicrophoneEnhancedMode.ts +43 -0
- package/lib/_shumway_flash/media/MicrophoneEnhancedOptions.ts +49 -0
- package/lib/_shumway_flash/media/SoundCodec.ts +42 -0
- package/lib/_shumway_flash/media/StageVideo.ts +119 -0
- package/lib/_shumway_flash/media/StageVideoAvailability.ts +40 -0
- package/lib/_shumway_flash/media/Video.ts +151 -0
- package/lib/_shumway_flash/media/VideoCodec.ts +41 -0
- package/lib/_shumway_flash/media/VideoStatus.ts +41 -0
- package/lib/_shumway_flash/media/VideoStreamSettings.ts +56 -0
- package/lib/_shumway_flash/net/DynamicPropertyOutput.ts +45 -0
- package/lib/_shumway_flash/net/FileFilter.ts +66 -0
- package/lib/_shumway_flash/net/FileReferenceList.ts +39 -0
- package/lib/_shumway_flash/net/GroupSpecifier.ts +67 -0
- package/lib/_shumway_flash/net/IDynamicPropertyOutput.ts +25 -0
- package/lib/_shumway_flash/net/IDynamicPropertyWriter.ts +28 -0
- package/lib/_shumway_flash/net/LocalConnection.ts +249 -0
- package/lib/_shumway_flash/net/NetConnection.ts +268 -0
- package/lib/_shumway_flash/net/NetGroup.ts +88 -0
- package/lib/_shumway_flash/net/NetGroupInfo.ts +54 -0
- package/lib/_shumway_flash/net/NetGroupReceiveMode.ts +37 -0
- package/lib/_shumway_flash/net/NetGroupReplicationStrategy.ts +40 -0
- package/lib/_shumway_flash/net/NetGroupSendMode.ts +37 -0
- package/lib/_shumway_flash/net/NetGroupSendResult.ts +38 -0
- package/lib/_shumway_flash/net/NetMonitor.ts +38 -0
- package/lib/_shumway_flash/net/NetStream.ts +1078 -0
- package/lib/_shumway_flash/net/NetStreamAppendBytesAction.ts +38 -0
- package/lib/_shumway_flash/net/NetStreamInfo.ts +119 -0
- package/lib/_shumway_flash/net/NetStreamMulticastInfo.ts +103 -0
- package/lib/_shumway_flash/net/NetStreamPlayOptions.ts +45 -0
- package/lib/_shumway_flash/net/NetStreamPlayTransitions.ts +45 -0
- package/lib/_shumway_flash/net/Responder.ts +40 -0
- package/lib/_shumway_flash/net/SecureSocket.ts +60 -0
- package/lib/_shumway_flash/net/SharedObjectFlushStatus.ts +37 -0
- package/lib/_shumway_flash/net/Socket.ts +230 -0
- package/lib/_shumway_flash/net/URLRequestHeader.ts +22 -0
- package/lib/_shumway_flash/net/URLStream.ts +206 -0
- package/lib/_shumway_flash/net/XMLSocket.ts +32 -0
- package/lib/_shumway_flash/printing/PrintJob.ts +42 -0
- package/lib/_shumway_flash/printing/PrintJobOptions.ts +25 -0
- package/lib/_shumway_flash/printing/PrintJobOrientation.ts +24 -0
- package/lib/_shumway_flash/profiler/Telemetry.ts +48 -0
- package/lib/_shumway_flash/sampler/ClassFactory.ts +22 -0
- package/lib/_shumway_flash/sampler/DeleteObjectSample.ts +20 -0
- package/lib/_shumway_flash/sampler/StackFrame.ts +22 -0
- package/lib/_shumway_flash/security/CertificateStatus.ts +28 -0
- package/lib/_shumway_flash/security/X500DistinguishedName.ts +56 -0
- package/lib/_shumway_flash/security/X509Certificate.ts +87 -0
- package/lib/_shumway_flash/sensors/Accelerometer.ts +35 -0
- package/lib/_shumway_flash/sensors/Geolocation.ts +33 -0
- package/lib/_shumway_flash/system/ApplicationInstaller.ts +57 -0
- package/lib/_shumway_flash/system/AuthorizedFeatures.ts +58 -0
- package/lib/_shumway_flash/system/AuthorizedFeaturesLoader.ts +49 -0
- package/lib/_shumway_flash/system/DomainMemoryWithStage3D.ts +33 -0
- package/lib/_shumway_flash/system/IMEConversionMode.ts +43 -0
- package/lib/_shumway_flash/system/ImageDecodingPolicy.ts +36 -0
- package/lib/_shumway_flash/system/JPEGLoaderContext.ts +42 -0
- package/lib/_shumway_flash/system/MessageChannel.ts +65 -0
- package/lib/_shumway_flash/system/MessageChannelState.ts +38 -0
- package/lib/_shumway_flash/system/SecurityPanel.ts +42 -0
- package/lib/_shumway_flash/system/SystemUpdater.ts +36 -0
- package/lib/_shumway_flash/system/SystemUpdaterType.ts +37 -0
- package/lib/_shumway_flash/ui/KeyLocation.ts +39 -0
- package/lib/_shumway_flash/ui/KeyboardType.ts +37 -0
- package/lib/_shumway_flash/ui/MouseCursor.ts +75 -0
- package/lib/_shumway_flash/ui/MouseCursorData.ts +72 -0
- package/lib/_shumway_flash/utils/CompressionAlgorithm.ts +20 -0
- package/lib/_shumway_flash/utils/IDataInput2.ts +9 -0
- package/lib/_shumway_flash/utils/IDataOutput2.ts +9 -0
- package/lib/_shumway_flash/utils/IExternalizable.ts +13 -0
- package/lib/_shumway_flash/utils/SetIntervalTimer.ts +20 -0
- package/lib/_shumway_flash/utils/Timer.ts +111 -0
- package/lib/desktop/Clipboard.ts +292 -0
- package/lib/desktop/ClipboardFormats.ts +51 -0
- package/lib/display/Bitmap.ts +189 -0
- package/lib/display/BitmapData.ts +496 -0
- package/lib/display/BitmapDataChannel.ts +24 -0
- package/lib/display/BlendMode.ts +1 -0
- package/lib/display/CapsStyle.ts +1 -0
- package/lib/display/DisplayObject.ts +1601 -0
- package/lib/display/DisplayObjectContainer.ts +640 -0
- package/lib/display/FrameLabel.ts +30 -0
- package/lib/display/GradientType.ts +1 -0
- package/lib/display/Graphics.ts +609 -0
- package/lib/display/GraphicsBitmapFill.ts +39 -0
- package/lib/display/GraphicsEndFill.ts +11 -0
- package/lib/display/GraphicsGradientFill.ts +31 -0
- package/lib/display/GraphicsPath.ts +75 -0
- package/lib/display/GraphicsPathCommand.ts +1 -0
- package/lib/display/GraphicsPathWinding.ts +1 -0
- package/lib/display/GraphicsSolidFill.ts +16 -0
- package/lib/display/GraphicsStroke.ts +33 -0
- package/lib/display/GraphicsTrianglePath.ts +24 -0
- package/lib/display/IBitmapDataOwner.ts +7 -0
- package/lib/display/IBitmapDrawable.ts +11 -0
- package/lib/display/IGraphicsData.ts +15 -0
- package/lib/display/IVirtualSceneGraphItem.ts +9 -0
- package/lib/display/InteractiveObject.ts +986 -0
- package/lib/display/InterpolationMethod.ts +1 -0
- package/lib/display/JointStyle.ts +1 -0
- package/lib/display/LineScaleMode.ts +1 -0
- package/lib/display/Loader.ts +777 -0
- package/lib/display/LoaderInfo.ts +743 -0
- package/lib/display/MovieClip.ts +570 -0
- package/lib/display/NativeMenu.ts +11 -0
- package/lib/display/NativeMenuItem.ts +34 -0
- package/lib/display/PixelSnapping.ts +1 -0
- package/lib/display/Scene.ts +69 -0
- package/lib/display/Shape.ts +89 -0
- package/lib/display/SimpleButton.ts +555 -0
- package/lib/display/SpreadMethod.ts +1 -0
- package/lib/display/Sprite.ts +774 -0
- package/lib/display/Stage.ts +1143 -0
- package/lib/display/TriangleCulling.ts +1 -0
- package/lib/display3D/Context3D.ts +1 -0
- package/lib/display3D/Context3DClearMask.ts +1 -0
- package/lib/display3D/Context3DProgramType.ts +1 -0
- package/lib/display3D/Texture.ts +29 -0
- package/lib/errors/EOFError.ts +17 -0
- package/lib/errors/IOError.ts +16 -0
- package/lib/errors/IllegalOperationError.ts +17 -0
- package/lib/errors/InvalidSWFError.ts +16 -0
- package/lib/errors/MemoryError.ts +16 -0
- package/lib/errors/ScriptTimeoutError.ts +16 -0
- package/lib/errors/StackOverflowError.ts +16 -0
- package/lib/events/AccelerometerEvent.ts +26 -0
- package/lib/events/ActivityEvent.ts +19 -0
- package/lib/events/AsyncErrorEvent.ts +31 -0
- package/lib/events/ContextMenuEvent.ts +26 -0
- package/lib/events/DataEvent.ts +17 -0
- package/lib/events/ErrorEvent.ts +54 -0
- package/lib/events/Event.ts +229 -0
- package/lib/events/EventDispatcher.ts +283 -0
- package/lib/events/EventDispatcherBase.ts +289 -0
- package/lib/events/EventPhase.ts +34 -0
- package/lib/events/FocusEvent.ts +97 -0
- package/lib/events/FullScreenEvent.ts +22 -0
- package/lib/events/GameInputEvent.ts +38 -0
- package/lib/events/GeolocationEvent.ts +18 -0
- package/lib/events/GestureEvent.ts +113 -0
- package/lib/events/GesturePhase.ts +18 -0
- package/lib/events/HTTPStatusEvent.ts +81 -0
- package/lib/events/IEventDispatcher.ts +1 -0
- package/lib/events/IEventMapper.ts +7 -0
- package/lib/events/IMEEvent.ts +21 -0
- package/lib/events/IOErrorEvent.ts +49 -0
- package/lib/events/KeyboardEvent.ts +114 -0
- package/lib/events/MouseEvent.ts +279 -0
- package/lib/events/NetDataEvent.ts +22 -0
- package/lib/events/NetFilterEvent.ts +20 -0
- package/lib/events/NetMonitorEvent.ts +20 -0
- package/lib/events/NetStatusEvent.ts +53 -0
- package/lib/events/OutputProgressEvent.ts +20 -0
- package/lib/events/PressAndTapGestureEvent.ts +24 -0
- package/lib/events/ProgressEvent.ts +66 -0
- package/lib/events/SampleDataEvent.ts +140 -0
- package/lib/events/SecurityErrorEvent.ts +16 -0
- package/lib/events/ShaderEvent.ts +19 -0
- package/lib/events/SoftKeyboardEvent.ts +19 -0
- package/lib/events/SoftKeyboardTrigger.ts +16 -0
- package/lib/events/StageVideoAvailabilityEvent.ts +20 -0
- package/lib/events/StageVideoEvent.ts +26 -0
- package/lib/events/StaticEvents.ts +5 -0
- package/lib/events/StatusEvent.ts +45 -0
- package/lib/events/SyncEvent.ts +19 -0
- package/lib/events/TextEvent.ts +60 -0
- package/lib/events/ThrottleEvent.ts +23 -0
- package/lib/events/ThrottleType.ts +18 -0
- package/lib/events/TimerEvent.ts +31 -0
- package/lib/events/TouchEvent.ts +548 -0
- package/lib/events/TransformGestureEvent.ts +21 -0
- package/lib/events/UncaughtErrorEvent.ts +17 -0
- package/lib/events/UncaughtErrorEvents.ts +29 -0
- package/lib/events/VideoEvent.ts +24 -0
- package/lib/external/ExternalInterface.ts +304 -0
- package/lib/factories/FlashSceneGraphFactory.ts +205 -0
- package/lib/filters/BevelFilter.ts +247 -0
- package/lib/filters/BitmapFilter.ts +123 -0
- package/lib/filters/BitmapFilterType.ts +43 -0
- package/lib/filters/BlurFilter.ts +69 -0
- package/lib/filters/ColorMatrixFilter.ts +96 -0
- package/lib/filters/ConvolutionFilter.ts +187 -0
- package/lib/filters/DisplacementMapFilter.ts +191 -0
- package/lib/filters/DropShadowFilter.ts +203 -0
- package/lib/filters/FilterBuilder.ts +34 -0
- package/lib/filters/GlowFilter.ts +162 -0
- package/lib/filters/GradientBevelFilter.ts +276 -0
- package/lib/filters/GradientGlowFilter.ts +239 -0
- package/lib/geom/ColorTransform.ts +294 -0
- package/lib/geom/Matrix.ts +428 -0
- package/lib/geom/Matrix3D.ts +228 -0
- package/lib/geom/Orientation3D.ts +43 -0
- package/lib/geom/PerspectiveProjection.ts +1 -0
- package/lib/geom/Point.ts +201 -0
- package/lib/geom/Rectangle.ts +477 -0
- package/lib/geom/Transform.ts +105 -0
- package/lib/geom/Utils3D.ts +36 -0
- package/lib/geom/Vector3D.ts +438 -0
- package/lib/globalization/LocaleID.ts +96 -0
- package/lib/globalization/NumberFormatter.ts +551 -0
- package/lib/globalization/StringTools.ts +147 -0
- package/lib/greensock/TweenLite.ts +14 -0
- package/lib/greensock/easing/Linear.ts +4 -0
- package/lib/greensock/easing/Power.ts +3 -0
- package/lib/greensock/easing/Power1.ts +2 -0
- package/lib/greensock/easing/Power2.ts +2 -0
- package/lib/greensock/easing/Power3.ts +2 -0
- package/lib/greensock/easing/Power4.ts +2 -0
- package/lib/greensock/motionPaths/RectanglePath2D.ts +1 -0
- package/lib/greensock/plugins/RoundPropsPlugin.ts +1 -0
- package/lib/link.ts +669 -0
- package/lib/media/ID3Info.ts +69 -0
- package/lib/media/Sound.ts +532 -0
- package/lib/media/SoundChannel.ts +160 -0
- package/lib/media/SoundLoaderContext.ts +104 -0
- package/lib/media/SoundMixer.ts +152 -0
- package/lib/media/SoundTransform.ts +137 -0
- package/lib/net/FileFilter.ts +32 -0
- package/lib/net/FileReference.ts +293 -0
- package/lib/net/LocalConnection.ts +267 -0
- package/lib/net/NetConnection.ts +435 -0
- package/lib/net/Responder.ts +57 -0
- package/lib/net/SharedObject.ts +365 -0
- package/lib/net/Socket.ts +251 -0
- package/lib/net/URLLoader.ts +144 -0
- package/lib/net/URLLoaderDataFormat.ts +1 -0
- package/lib/net/URLRequest.ts +135 -0
- package/lib/net/URLRequestMethod.ts +1 -0
- package/lib/net/URLVariables.ts +84 -0
- package/lib/net/navigateToURL.ts +5 -0
- package/lib/sampler/NewObjectSample.ts +40 -0
- package/lib/sampler/Sample.ts +23 -0
- package/lib/starling/core/Starling.ts +613 -0
- package/lib/starling/display/DisplayObject.ts +1 -0
- package/lib/starling/display/Image.ts +1 -0
- package/lib/starling/display/Quad.ts +7 -0
- package/lib/starling/display/Sprite.ts +1 -0
- package/lib/starling/display/Stage.ts +4 -0
- package/lib/starling/events/Event.ts +1 -0
- package/lib/starling/events/ResizeEvent.ts +5 -0
- package/lib/starling/events/Touch.ts +1 -0
- package/lib/starling/events/TouchEvent.ts +1 -0
- package/lib/starling/events/TouchPhase.ts +1 -0
- package/lib/starling/textures/RenderTexture.ts +3 -0
- package/lib/starling/textures/Texture.ts +1 -0
- package/lib/starling/utils/SystemUtil.ts +3 -0
- package/lib/system/ApplicationDomain.ts +279 -0
- package/lib/system/Capabilities.ts +265 -0
- package/lib/system/FSCommand.ts +20 -0
- package/lib/system/IME.ts +157 -0
- package/lib/system/LoaderContext.ts +449 -0
- package/lib/system/Security.ts +119 -0
- package/lib/system/SecurityDomain.ts +9 -0
- package/lib/system/System.ts +225 -0
- package/lib/system/TouchscreenType.ts +37 -0
- package/lib/text/AntiAliasType.ts +1 -0
- package/lib/text/CSMSettings.ts +25 -0
- package/lib/text/Font.ts +60 -0
- package/lib/text/FontStyle.ts +18 -0
- package/lib/text/FontType.ts +18 -0
- package/lib/text/GridFitType.ts +1 -0
- package/lib/text/StaticText.ts +41 -0
- package/lib/text/StyleSheet.ts +201 -0
- package/lib/text/TextColorType.ts +15 -0
- package/lib/text/TextDisplayMode.ts +16 -0
- package/lib/text/TextExtent.ts +25 -0
- package/lib/text/TextField.ts +1358 -0
- package/lib/text/TextFieldAutoSize.ts +1 -0
- package/lib/text/TextFieldType.ts +1 -0
- package/lib/text/TextFormat.ts +222 -0
- package/lib/text/TextFormatAlign.ts +1 -0
- package/lib/text/TextFormatDisplay.ts +19 -0
- package/lib/text/TextInteractionMode.ts +1 -0
- package/lib/text/TextLineMetrics.ts +72 -0
- package/lib/text/TextRenderer.ts +70 -0
- package/lib/text/TextRun.ts +56 -0
- package/lib/text/TextSnapshot.ts +73 -0
- package/lib/text/engine/BreakOpportunity.ts +17 -0
- package/lib/text/engine/CFFHinting.ts +15 -0
- package/lib/text/engine/ContentElement.ts +123 -0
- package/lib/text/engine/DigitCase.ts +19 -0
- package/lib/text/engine/DigitWidth.ts +19 -0
- package/lib/text/engine/EastAsianJustifier.ts +50 -0
- package/lib/text/engine/ElementFormat.ts +323 -0
- package/lib/text/engine/FontDescription.ts +114 -0
- package/lib/text/engine/FontLookup.ts +18 -0
- package/lib/text/engine/FontMetrics.ts +47 -0
- package/lib/text/engine/FontPosture.ts +18 -0
- package/lib/text/engine/FontWeight.ts +18 -0
- package/lib/text/engine/GraphicElement.ts +69 -0
- package/lib/text/engine/GroupElement.ts +123 -0
- package/lib/text/engine/JustificationStyle.ts +19 -0
- package/lib/text/engine/Kerning.ts +19 -0
- package/lib/text/engine/LigatureLevel.ts +21 -0
- package/lib/text/engine/LineJustification.ts +20 -0
- package/lib/text/engine/NativehacksForTLF.ts +58 -0
- package/lib/text/engine/RenderingMode.ts +18 -0
- package/lib/text/engine/SpaceJustifier.ts +57 -0
- package/lib/text/engine/TabAlignment.ts +20 -0
- package/lib/text/engine/TabStop.ts +61 -0
- package/lib/text/engine/TextBaseline.ts +23 -0
- package/lib/text/engine/TextBlock.ts +583 -0
- package/lib/text/engine/TextElement.ts +49 -0
- package/lib/text/engine/TextJustifier.ts +46 -0
- package/lib/text/engine/TextLine.ts +434 -0
- package/lib/text/engine/TextLineCreationResult.ts +20 -0
- package/lib/text/engine/TextLineMirrorRegion.ts +62 -0
- package/lib/text/engine/TextLineValidity.ts +20 -0
- package/lib/text/engine/TextRotation.ts +21 -0
- package/lib/text/engine/TypographicCase.ts +22 -0
- package/lib/text/ime/CompositionAttributeRange.ts +29 -0
- package/lib/text/ime/IIMEClient.ts +31 -0
- package/lib/ui/ContextMenu.ts +128 -0
- package/lib/ui/ContextMenuBuiltInItems.ts +104 -0
- package/lib/ui/ContextMenuClipboardItems.ts +93 -0
- package/lib/ui/ContextMenuItem.ts +60 -0
- package/lib/ui/GameInput.ts +49 -0
- package/lib/ui/GameInputControl.ts +76 -0
- package/lib/ui/GameInputControlType.ts +25 -0
- package/lib/ui/GameInputDevice.ts +103 -0
- package/lib/ui/GameInputFinger.ts +23 -0
- package/lib/ui/GameInputHand.ts +22 -0
- package/lib/ui/Keyboard.ts +394 -0
- package/lib/ui/Mouse.ts +70 -0
- package/lib/ui/MouseCursorData.ts +44 -0
- package/lib/ui/Multitouch.ts +117 -0
- package/lib/ui/MultitouchInputMode.ts +27 -0
- package/lib/utils/AwayDate.ts +64 -0
- package/lib/utils/ByteArray.ts +1 -0
- package/lib/utils/CompressionAlgorithm.ts +7 -0
- package/lib/utils/Dictionary.ts +1 -0
- package/lib/utils/Endian.ts +15 -0
- package/lib/utils/IDataInput.ts +194 -0
- package/lib/utils/IDataOutput.ts +147 -0
- package/lib/utils/IExternalizable.ts +37 -0
- package/lib/utils/Timer.ts +115 -0
- package/lib/utils/Trace.ts +33 -0
- package/lib/utils/clearInterval.ts +8 -0
- package/lib/utils/clearTimeout.ts +8 -0
- package/lib/utils/describeType.ts +82 -0
- package/lib/utils/escapeMultiByte.ts +29 -0
- package/lib/utils/getAliasName.ts +7 -0
- package/lib/utils/getDefinitionByName.ts +13 -0
- package/lib/utils/getQualifiedClassName.ts +14 -0
- package/lib/utils/getQualifiedSuperclassName.ts +26 -0
- package/lib/utils/getTimer.ts +20 -0
- package/lib/utils/setInterval.ts +20 -0
- package/lib/utils/setTimeout.ts +20 -0
- package/lib/utils/unescapeMultiByte.ts +27 -0
- package/lib/xml/XML.ts +115 -0
- package/lib/xml/XMLDocumentAway.ts +142 -0
- package/lib/xml/XMLList.ts +449 -0
- package/lib/xml/XMLNode.ts +326 -0
- package/lib/xml/XMLNodeType.ts +48 -0
- package/package.json +78 -4
- package/rollup.config.js +40 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PerspectiveProjection } from '@awayjs/core';
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { ASObject } from '@awayfl/avm2';
|
|
2
|
+
import { Point as AwayPoint } from '@awayjs/core';
|
|
3
|
+
export declare class Point extends ASObject {
|
|
4
|
+
private _constructorCalled;
|
|
5
|
+
private _adaptee;
|
|
6
|
+
static classInitializer: any;
|
|
7
|
+
static classSymbols: string[];
|
|
8
|
+
static instanceSymbols: string[];
|
|
9
|
+
get adaptee(): AwayPoint;
|
|
10
|
+
/**
|
|
11
|
+
* The horizontal coordinate of the point. The default value is 0.
|
|
12
|
+
*/
|
|
13
|
+
get x(): number;
|
|
14
|
+
set x(value: number);
|
|
15
|
+
/**
|
|
16
|
+
* The vertical coordinate of the point. The default value is 0.
|
|
17
|
+
*/
|
|
18
|
+
get y(): number;
|
|
19
|
+
set y(value: number);
|
|
20
|
+
/**
|
|
21
|
+
* The length of the line segment from(0,0) to this point.
|
|
22
|
+
*/
|
|
23
|
+
get length(): number;
|
|
24
|
+
/**
|
|
25
|
+
* Creates a new point. If you pass no parameters to this method, a point is
|
|
26
|
+
* created at(0,0).
|
|
27
|
+
*
|
|
28
|
+
* @param x The horizontal coordinate.
|
|
29
|
+
* @param y The vertical coordinate.
|
|
30
|
+
*/
|
|
31
|
+
constructor(xAdaptee?: number | AwayPoint, y?: number);
|
|
32
|
+
/**
|
|
33
|
+
* Determines a point between two specified points. The parameter
|
|
34
|
+
* <code>f</code> determines where the new interpolated point is located
|
|
35
|
+
* relative to the two end points specified by parameters <code>pt1</code>
|
|
36
|
+
* and <code>pt2</code>. The closer the value of the parameter <code>f</code>
|
|
37
|
+
* is to <code>1.0</code>, the closer the interpolated point is to the first
|
|
38
|
+
* point(parameter <code>pt1</code>). The closer the value of the parameter
|
|
39
|
+
* <code>f</code> is to 0, the closer the interpolated point is to the second
|
|
40
|
+
* point(parameter <code>pt2</code>).
|
|
41
|
+
*
|
|
42
|
+
* @param pt1 The first point.
|
|
43
|
+
* @param pt2 The second point.
|
|
44
|
+
* @param f The level of interpolation between the two points. Indicates
|
|
45
|
+
* where the new point will be, along the line between
|
|
46
|
+
* <code>pt1</code> and <code>pt2</code>. If <code>f</code>=1,
|
|
47
|
+
* <code>pt1</code> is returned; if <code>f</code>=0,
|
|
48
|
+
* <code>pt2</code> is returned.
|
|
49
|
+
* @return The new, interpolated point.
|
|
50
|
+
*/
|
|
51
|
+
static interpolate(pt1: Point, pt2: Point, f: number): Point;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the distance between <code>pt1</code> and <code>pt2</code>.
|
|
54
|
+
*
|
|
55
|
+
* @param pt1 The first point.
|
|
56
|
+
* @param pt2 The second point.
|
|
57
|
+
* @return The distance between the first and second points.
|
|
58
|
+
*/
|
|
59
|
+
static distance(pt1: Point, pt2: Point): number;
|
|
60
|
+
/**
|
|
61
|
+
* Converts a pair of polar coordinates to a Cartesian point coordinate.
|
|
62
|
+
*
|
|
63
|
+
* @param len The length coordinate of the polar pair.
|
|
64
|
+
* @param angle The angle, in radians, of the polar pair.
|
|
65
|
+
* @return The Cartesian point.
|
|
66
|
+
*/
|
|
67
|
+
static polar(len: number, angle: number): Point;
|
|
68
|
+
/**
|
|
69
|
+
* Creates a copy of this Point object.
|
|
70
|
+
*
|
|
71
|
+
* @return The new Point object.
|
|
72
|
+
*/
|
|
73
|
+
clone(): Point;
|
|
74
|
+
/**
|
|
75
|
+
* Offsets the Point object by the specified amount. The value of
|
|
76
|
+
* <code>dx</code> is added to the original value of <i>x</i> to create the
|
|
77
|
+
* new <i>x</i> value. The value of <code>dy</code> is added to the original
|
|
78
|
+
* value of <i>y</i> to create the new <i>y</i> value.
|
|
79
|
+
*
|
|
80
|
+
* @param dx The amount by which to offset the horizontal coordinate,
|
|
81
|
+
* <i>x</i>.
|
|
82
|
+
* @param dy The amount by which to offset the vertical coordinate, <i>y</i>.
|
|
83
|
+
*/
|
|
84
|
+
offset(dx: number, dy: number): void;
|
|
85
|
+
/**
|
|
86
|
+
* Determines whether two points are equal. Two points are equal if they have
|
|
87
|
+
* the same <i>x</i> and <i>y</i> values.
|
|
88
|
+
*
|
|
89
|
+
* @param toCompare The point to be compared.
|
|
90
|
+
* @return A value of <code>true</code> if the object is equal to this Point
|
|
91
|
+
* object; <code>false</code> if it is not equal.
|
|
92
|
+
*/
|
|
93
|
+
equals(toCompare: Point): boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Subtracts the coordinates of another point from the coordinates of this
|
|
96
|
+
* point to create a new point.
|
|
97
|
+
*
|
|
98
|
+
* @param v The point to be subtracted.
|
|
99
|
+
* @return The new point.
|
|
100
|
+
*/
|
|
101
|
+
subtract(v: Point): Point;
|
|
102
|
+
/**
|
|
103
|
+
* Adds the coordinates of another point to the coordinates of this point to
|
|
104
|
+
* create a new point.
|
|
105
|
+
*
|
|
106
|
+
* @param v The point to be added.
|
|
107
|
+
* @return The new point.
|
|
108
|
+
*/
|
|
109
|
+
add(v: Point): Point;
|
|
110
|
+
/**
|
|
111
|
+
* Scales the line segment between(0,0) and the current point to a set
|
|
112
|
+
* length.
|
|
113
|
+
*
|
|
114
|
+
* @param thickness The scaling value. For example, if the current point is
|
|
115
|
+
* (0,5), and you normalize it to 1, the point returned is
|
|
116
|
+
* at(0,1).
|
|
117
|
+
*/
|
|
118
|
+
normalize(thickness?: number): void;
|
|
119
|
+
copyFrom(sourcePoint: Point): void;
|
|
120
|
+
setTo(x: number, y: number): void;
|
|
121
|
+
toString(): string;
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=Point.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../lib/geom/Point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AAGlD,qBAAa,KAAM,SAAQ,QAAQ;IAClC,OAAO,CAAC,kBAAkB,CAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAY;IAG5B,MAAM,CAAC,gBAAgB,EAAE,GAAG,CAAQ;IAGpC,MAAM,CAAC,YAAY,EAAE,MAAM,EAAG,CAAQ;IAGtC,MAAM,CAAC,eAAe,EAAE,MAAM,EAAG,CAAQ;IAEzC,IAAW,OAAO,IAAI,SAAS,CAE9B;IAED;;KAEI;IACJ,IAAW,CAAC,IAAI,MAAM,CAOrB;IAED,IAAW,CAAC,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;KAEI;IACJ,IAAW,CAAC,IAAI,MAAM,CAOrB;IAED,IAAW,CAAC,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;KAEI;IACJ,IAAW,MAAM,IAAI,MAAM,CAE1B;IAED;;;;;;KAMI;gBACQ,QAAQ,GAAE,MAAM,GAAG,SAAa,EAAE,CAAC,GAAE,MAAU;IAO3D;;;;;;;;;;;;;;;;;;KAkBI;WACU,WAAW,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK;IAInE;;;;;;KAMI;WACU,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,GAAG,MAAM;IAItD;;;;;;KAMI;WACU,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,KAAK;IAItD;;;;KAII;IACG,KAAK,IAAI,KAAK;IAIrB;;;;;;;;;KASI;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI;IAI3C;;;;;;;KAOI;IACG,MAAM,CAAC,SAAS,EAAE,KAAK,GAAG,OAAO;IAIxC;;;;;;KAMI;IACG,QAAQ,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK;IAIhC;;;;;;KAMI;IACG,GAAG,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK;IAI3B;;;;;;;KAOI;IACG,SAAS,CAAC,SAAS,GAAE,MAAU,GAAG,IAAI;IAItC,QAAQ,CAAC,WAAW,EAAE,KAAK,GAAG,IAAI;IAIlC,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI;IAIjC,QAAQ,IAAI,MAAM;CAGzB"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ASObject } from '@awayfl/avm2';
|
|
3
|
+
import { Point as AwayPoint } from '@awayjs/core';
|
|
4
|
+
var Point = /** @class */ (function (_super) {
|
|
5
|
+
__extends(Point, _super);
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new point. If you pass no parameters to this method, a point is
|
|
8
|
+
* created at(0,0).
|
|
9
|
+
*
|
|
10
|
+
* @param x The horizontal coordinate.
|
|
11
|
+
* @param y The vertical coordinate.
|
|
12
|
+
*/
|
|
13
|
+
function Point(xAdaptee, y) {
|
|
14
|
+
if (xAdaptee === void 0) { xAdaptee = 0; }
|
|
15
|
+
if (y === void 0) { y = 0; }
|
|
16
|
+
var _this = _super.call(this) || this;
|
|
17
|
+
_this._constructorCalled = true;
|
|
18
|
+
_this._adaptee = (xAdaptee instanceof AwayPoint) ? xAdaptee : new AwayPoint(+xAdaptee, +y);
|
|
19
|
+
_this._constructorCalled = true;
|
|
20
|
+
return _this;
|
|
21
|
+
}
|
|
22
|
+
Object.defineProperty(Point.prototype, "adaptee", {
|
|
23
|
+
get: function () {
|
|
24
|
+
return this._adaptee;
|
|
25
|
+
},
|
|
26
|
+
enumerable: false,
|
|
27
|
+
configurable: true
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(Point.prototype, "x", {
|
|
30
|
+
/**
|
|
31
|
+
* The horizontal coordinate of the point. The default value is 0.
|
|
32
|
+
*/
|
|
33
|
+
get: function () {
|
|
34
|
+
if (!this._constructorCalled) {
|
|
35
|
+
console.warn('[Point] Read x before call constructor');
|
|
36
|
+
return 0;
|
|
37
|
+
}
|
|
38
|
+
return this._adaptee._rawData[0];
|
|
39
|
+
},
|
|
40
|
+
set: function (value) {
|
|
41
|
+
this._adaptee._rawData[0] = value;
|
|
42
|
+
},
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(Point.prototype, "y", {
|
|
47
|
+
/**
|
|
48
|
+
* The vertical coordinate of the point. The default value is 0.
|
|
49
|
+
*/
|
|
50
|
+
get: function () {
|
|
51
|
+
if (!this._constructorCalled) {
|
|
52
|
+
console.warn('[Point] Read y before call constructor');
|
|
53
|
+
return 0;
|
|
54
|
+
}
|
|
55
|
+
return this._adaptee._rawData[1];
|
|
56
|
+
},
|
|
57
|
+
set: function (value) {
|
|
58
|
+
this._adaptee._rawData[1] = value;
|
|
59
|
+
},
|
|
60
|
+
enumerable: false,
|
|
61
|
+
configurable: true
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(Point.prototype, "length", {
|
|
64
|
+
/**
|
|
65
|
+
* The length of the line segment from(0,0) to this point.
|
|
66
|
+
*/
|
|
67
|
+
get: function () {
|
|
68
|
+
return this._adaptee.length;
|
|
69
|
+
},
|
|
70
|
+
enumerable: false,
|
|
71
|
+
configurable: true
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* Determines a point between two specified points. The parameter
|
|
75
|
+
* <code>f</code> determines where the new interpolated point is located
|
|
76
|
+
* relative to the two end points specified by parameters <code>pt1</code>
|
|
77
|
+
* and <code>pt2</code>. The closer the value of the parameter <code>f</code>
|
|
78
|
+
* is to <code>1.0</code>, the closer the interpolated point is to the first
|
|
79
|
+
* point(parameter <code>pt1</code>). The closer the value of the parameter
|
|
80
|
+
* <code>f</code> is to 0, the closer the interpolated point is to the second
|
|
81
|
+
* point(parameter <code>pt2</code>).
|
|
82
|
+
*
|
|
83
|
+
* @param pt1 The first point.
|
|
84
|
+
* @param pt2 The second point.
|
|
85
|
+
* @param f The level of interpolation between the two points. Indicates
|
|
86
|
+
* where the new point will be, along the line between
|
|
87
|
+
* <code>pt1</code> and <code>pt2</code>. If <code>f</code>=1,
|
|
88
|
+
* <code>pt1</code> is returned; if <code>f</code>=0,
|
|
89
|
+
* <code>pt2</code> is returned.
|
|
90
|
+
* @return The new, interpolated point.
|
|
91
|
+
*/
|
|
92
|
+
Point.interpolate = function (pt1, pt2, f) {
|
|
93
|
+
return new this.sec.flash.geom.Point(AwayPoint.interpolate(pt1.adaptee, pt2.adaptee, f));
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Returns the distance between <code>pt1</code> and <code>pt2</code>.
|
|
97
|
+
*
|
|
98
|
+
* @param pt1 The first point.
|
|
99
|
+
* @param pt2 The second point.
|
|
100
|
+
* @return The distance between the first and second points.
|
|
101
|
+
*/
|
|
102
|
+
Point.distance = function (pt1, pt2) {
|
|
103
|
+
return AwayPoint.distance(pt1.adaptee, pt2.adaptee);
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Converts a pair of polar coordinates to a Cartesian point coordinate.
|
|
107
|
+
*
|
|
108
|
+
* @param len The length coordinate of the polar pair.
|
|
109
|
+
* @param angle The angle, in radians, of the polar pair.
|
|
110
|
+
* @return The Cartesian point.
|
|
111
|
+
*/
|
|
112
|
+
Point.polar = function (len, angle) {
|
|
113
|
+
return new this.sec.flash.geom.Point(AwayPoint.polar(+len, +angle));
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Creates a copy of this Point object.
|
|
117
|
+
*
|
|
118
|
+
* @return The new Point object.
|
|
119
|
+
*/
|
|
120
|
+
Point.prototype.clone = function () {
|
|
121
|
+
return new this.sec.flash.geom.Point(this._adaptee.clone());
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Offsets the Point object by the specified amount. The value of
|
|
125
|
+
* <code>dx</code> is added to the original value of <i>x</i> to create the
|
|
126
|
+
* new <i>x</i> value. The value of <code>dy</code> is added to the original
|
|
127
|
+
* value of <i>y</i> to create the new <i>y</i> value.
|
|
128
|
+
*
|
|
129
|
+
* @param dx The amount by which to offset the horizontal coordinate,
|
|
130
|
+
* <i>x</i>.
|
|
131
|
+
* @param dy The amount by which to offset the vertical coordinate, <i>y</i>.
|
|
132
|
+
*/
|
|
133
|
+
Point.prototype.offset = function (dx, dy) {
|
|
134
|
+
this._adaptee.offset(dx, dy);
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Determines whether two points are equal. Two points are equal if they have
|
|
138
|
+
* the same <i>x</i> and <i>y</i> values.
|
|
139
|
+
*
|
|
140
|
+
* @param toCompare The point to be compared.
|
|
141
|
+
* @return A value of <code>true</code> if the object is equal to this Point
|
|
142
|
+
* object; <code>false</code> if it is not equal.
|
|
143
|
+
*/
|
|
144
|
+
Point.prototype.equals = function (toCompare) {
|
|
145
|
+
return this._adaptee.equals(toCompare.adaptee);
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Subtracts the coordinates of another point from the coordinates of this
|
|
149
|
+
* point to create a new point.
|
|
150
|
+
*
|
|
151
|
+
* @param v The point to be subtracted.
|
|
152
|
+
* @return The new point.
|
|
153
|
+
*/
|
|
154
|
+
Point.prototype.subtract = function (v) {
|
|
155
|
+
return new this.sec.flash.geom.Point(this._adaptee.subtract(v.adaptee));
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Adds the coordinates of another point to the coordinates of this point to
|
|
159
|
+
* create a new point.
|
|
160
|
+
*
|
|
161
|
+
* @param v The point to be added.
|
|
162
|
+
* @return The new point.
|
|
163
|
+
*/
|
|
164
|
+
Point.prototype.add = function (v) {
|
|
165
|
+
return new this.sec.flash.geom.Point(this._adaptee.add(v.adaptee));
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Scales the line segment between(0,0) and the current point to a set
|
|
169
|
+
* length.
|
|
170
|
+
*
|
|
171
|
+
* @param thickness The scaling value. For example, if the current point is
|
|
172
|
+
* (0,5), and you normalize it to 1, the point returned is
|
|
173
|
+
* at(0,1).
|
|
174
|
+
*/
|
|
175
|
+
Point.prototype.normalize = function (thickness) {
|
|
176
|
+
if (thickness === void 0) { thickness = 1; }
|
|
177
|
+
this._adaptee.normalize(+thickness);
|
|
178
|
+
};
|
|
179
|
+
Point.prototype.copyFrom = function (sourcePoint) {
|
|
180
|
+
this._adaptee.copyFrom(sourcePoint.adaptee);
|
|
181
|
+
};
|
|
182
|
+
Point.prototype.setTo = function (x, y) {
|
|
183
|
+
this._adaptee.setTo(x, y);
|
|
184
|
+
};
|
|
185
|
+
Point.prototype.toString = function () {
|
|
186
|
+
return '(x=' + this.x + ', y=' + this.y + ')';
|
|
187
|
+
};
|
|
188
|
+
// Called whenever the class is initialized.
|
|
189
|
+
Point.classInitializer = null;
|
|
190
|
+
// List of static symbols to link.
|
|
191
|
+
Point.classSymbols = null; // ["interpolate", "distance", "polar"];
|
|
192
|
+
// List of instance symbols to link.
|
|
193
|
+
Point.instanceSymbols = null;
|
|
194
|
+
return Point;
|
|
195
|
+
}(ASObject));
|
|
196
|
+
export { Point };
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { ASObject } from '@awayfl/avm2';
|
|
2
|
+
import { Bounds } from '@awayfl/swf-loader';
|
|
3
|
+
import { Point } from './Point';
|
|
4
|
+
import { IExternalizable } from '../utils/IExternalizable';
|
|
5
|
+
import { Rectangle as AwayRectangle } from '@awayjs/core';
|
|
6
|
+
import { IDataInput } from '../utils/IDataInput';
|
|
7
|
+
import { IDataOutput } from '../utils/IDataOutput';
|
|
8
|
+
export declare class Rectangle extends ASObject implements IExternalizable {
|
|
9
|
+
private _adaptee;
|
|
10
|
+
static axClass: typeof Rectangle;
|
|
11
|
+
static classInitializer: any;
|
|
12
|
+
static classSymbols: string[];
|
|
13
|
+
static instanceSymbols: string[];
|
|
14
|
+
get adaptee(): AwayRectangle;
|
|
15
|
+
/**
|
|
16
|
+
* The height of the rectangle, in pixels. Changing the <code>height</code>
|
|
17
|
+
* value of a Rectangle object has no effect on the <code>x</code>,
|
|
18
|
+
* <code>y</code>, and <code>width</code> properties.
|
|
19
|
+
*/
|
|
20
|
+
get height(): number;
|
|
21
|
+
set height(value: number);
|
|
22
|
+
/**
|
|
23
|
+
* The width of the rectangle, in pixels. Changing the <code>width</code>
|
|
24
|
+
* value of a Rectangle object has no effect on the <code>x</code>,
|
|
25
|
+
* <code>y</code>, and <code>height</code> properties.
|
|
26
|
+
*/
|
|
27
|
+
get width(): number;
|
|
28
|
+
set width(value: number);
|
|
29
|
+
/**
|
|
30
|
+
* The <i>x</i> coordinate of the top-left corner of the rectangle. Changing
|
|
31
|
+
* the value of the <code>x</code> property of a Rectangle object has no
|
|
32
|
+
* effect on the <code>y</code>, <code>width</code>, and <code>height</code>
|
|
33
|
+
* properties.
|
|
34
|
+
*
|
|
35
|
+
* <p>The value of the <code>x</code> property is equal to the value of the
|
|
36
|
+
* <code>left</code> property.</p>
|
|
37
|
+
*/
|
|
38
|
+
get x(): number;
|
|
39
|
+
set x(value: number);
|
|
40
|
+
/**
|
|
41
|
+
* The <i>y</i> coordinate of the top-left corner of the rectangle. Changing
|
|
42
|
+
* the value of the <code>y</code> property of a Rectangle object has no
|
|
43
|
+
* effect on the <code>x</code>, <code>width</code>, and <code>height</code>
|
|
44
|
+
* properties.
|
|
45
|
+
*
|
|
46
|
+
* <p>The value of the <code>y</code> property is equal to the value of the
|
|
47
|
+
* <code>top</code> property.</p>
|
|
48
|
+
*/
|
|
49
|
+
get y(): number;
|
|
50
|
+
set y(value: number);
|
|
51
|
+
/**
|
|
52
|
+
* The sum of the <code>y</code> and <code>height</code> properties.
|
|
53
|
+
*/
|
|
54
|
+
get bottom(): number;
|
|
55
|
+
set bottom(value: number);
|
|
56
|
+
/**
|
|
57
|
+
* The location of the Rectangle object's bottom-right corner, determined by
|
|
58
|
+
* the values of the <code>right</code> and <code>bottom</code> properties.
|
|
59
|
+
*/
|
|
60
|
+
get bottomRight(): Point;
|
|
61
|
+
set bottomRight(value: Point);
|
|
62
|
+
/**
|
|
63
|
+
* The <i>x</i> coordinate of the top-left corner of the rectangle. Changing
|
|
64
|
+
* the <code>left</code> property of a Rectangle object has no effect on the
|
|
65
|
+
* <code>y</code> and <code>height</code> properties. However it does affect
|
|
66
|
+
* the <code>width</code> property, whereas changing the <code>x</code> value
|
|
67
|
+
* does <i>not</i> affect the <code>width</code> property.
|
|
68
|
+
*
|
|
69
|
+
* <p>The value of the <code>left</code> property is equal to the value of
|
|
70
|
+
* the <code>x</code> property.</p>
|
|
71
|
+
*/
|
|
72
|
+
get left(): number;
|
|
73
|
+
set left(value: number);
|
|
74
|
+
/**
|
|
75
|
+
* The sum of the <code>x</code> and <code>width</code> properties.
|
|
76
|
+
*/
|
|
77
|
+
get right(): number;
|
|
78
|
+
set right(value: number);
|
|
79
|
+
/**
|
|
80
|
+
* The size of the Rectangle object, expressed as a Point object with the
|
|
81
|
+
* values of the <code>width</code> and <code>height</code> properties.
|
|
82
|
+
*/
|
|
83
|
+
get size(): Point;
|
|
84
|
+
set size(value: Point);
|
|
85
|
+
/**
|
|
86
|
+
* The <i>y</i> coordinate of the top-left corner of the rectangle. Changing
|
|
87
|
+
* the <code>top</code> property of a Rectangle object has no effect on the
|
|
88
|
+
* <code>x</code> and <code>width</code> properties. However it does affect
|
|
89
|
+
* the <code>height</code> property, whereas changing the <code>y</code>
|
|
90
|
+
* value does <i>not</i> affect the <code>height</code> property.
|
|
91
|
+
*
|
|
92
|
+
* <p>The value of the <code>top</code> property is equal to the value of the
|
|
93
|
+
* <code>y</code> property.</p>
|
|
94
|
+
*/
|
|
95
|
+
get top(): number;
|
|
96
|
+
set top(value: number);
|
|
97
|
+
/**
|
|
98
|
+
* The location of the Rectangle object's top-left corner, determined by the
|
|
99
|
+
* <i>x</i> and <i>y</i> coordinates of the point.
|
|
100
|
+
*/
|
|
101
|
+
get topLeft(): Point;
|
|
102
|
+
set topLeft(value: Point);
|
|
103
|
+
get area(): number;
|
|
104
|
+
/**
|
|
105
|
+
* Creates a new Rectangle object with the top-left corner specified by the
|
|
106
|
+
* <code>x</code> and <code>y</code> parameters and with the specified
|
|
107
|
+
* <code>width</code> and <code>height</code> parameters. If you call this
|
|
108
|
+
* public without parameters, a rectangle with <code>x</code>,
|
|
109
|
+
* <code>y</code>, <code>width</code>, and <code>height</code> properties set
|
|
110
|
+
* to 0 is created.
|
|
111
|
+
*
|
|
112
|
+
* @param x The <i>x</i> coordinate of the top-left corner of the
|
|
113
|
+
* rectangle.
|
|
114
|
+
* @param y The <i>y</i> coordinate of the top-left corner of the
|
|
115
|
+
* rectangle.
|
|
116
|
+
* @param width The width of the rectangle, in pixels.
|
|
117
|
+
* @param height The height of the rectangle, in pixels.
|
|
118
|
+
*/
|
|
119
|
+
constructor(xAdaptee?: number | AwayRectangle, y?: number, width?: number, height?: number);
|
|
120
|
+
static FromBounds(bounds: Bounds): Rectangle;
|
|
121
|
+
/**
|
|
122
|
+
* Returns a new Rectangle object with the same values for the
|
|
123
|
+
* <code>x</code>, <code>y</code>, <code>width</code>, and
|
|
124
|
+
* <code>height</code> properties as the original Rectangle object.
|
|
125
|
+
*
|
|
126
|
+
* @return A new Rectangle object with the same values for the
|
|
127
|
+
* <code>x</code>, <code>y</code>, <code>width</code>, and
|
|
128
|
+
* <code>height</code> properties as the original Rectangle object.
|
|
129
|
+
*/
|
|
130
|
+
clone(): Rectangle;
|
|
131
|
+
/**
|
|
132
|
+
* Determines whether or not this Rectangle object is empty.
|
|
133
|
+
*
|
|
134
|
+
* @return A value of <code>true</code> if the Rectangle object's width or
|
|
135
|
+
* height is less than or equal to 0; otherwise <code>false</code>.
|
|
136
|
+
*/
|
|
137
|
+
isEmpty(): boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Sets all of the Rectangle object's properties to 0. A Rectangle object is
|
|
140
|
+
* empty if its width or height is less than or equal to 0.
|
|
141
|
+
*
|
|
142
|
+
* <p> This method sets the values of the <code>x</code>, <code>y</code>,
|
|
143
|
+
* <code>width</code>, and <code>height</code> properties to 0.</p>
|
|
144
|
+
*
|
|
145
|
+
*/
|
|
146
|
+
setEmpty(): void;
|
|
147
|
+
/**
|
|
148
|
+
* Increases the size of the Rectangle object by the specified amounts, in
|
|
149
|
+
* pixels. The center point of the Rectangle object stays the same, and its
|
|
150
|
+
* size increases to the left and right by the <code>dx</code> value, and to
|
|
151
|
+
* the top and the bottom by the <code>dy</code> value.
|
|
152
|
+
*
|
|
153
|
+
* @param dx The value to be added to the left and the right of the Rectangle
|
|
154
|
+
* object. The following equation is used to calculate the new
|
|
155
|
+
* width and position of the rectangle:
|
|
156
|
+
* @param dy The value to be added to the top and the bottom of the
|
|
157
|
+
* Rectangle. The following equation is used to calculate the new
|
|
158
|
+
* height and position of the rectangle:
|
|
159
|
+
*/
|
|
160
|
+
inflate(dx: number, dy: number): void;
|
|
161
|
+
/**
|
|
162
|
+
* Increases the size of the Rectangle object. This method is similar to the
|
|
163
|
+
* <code>Rectangle.inflate()</code> method except it takes a Point object as
|
|
164
|
+
* a parameter.
|
|
165
|
+
*
|
|
166
|
+
* <p>The following two code examples give the same result:</p>
|
|
167
|
+
*
|
|
168
|
+
* @param point The <code>x</code> property of this Point object is used to
|
|
169
|
+
* increase the horizontal dimension of the Rectangle object.
|
|
170
|
+
* The <code>y</code> property is used to increase the vertical
|
|
171
|
+
* dimension of the Rectangle object.
|
|
172
|
+
*/
|
|
173
|
+
inflatePoint(point: Point): void;
|
|
174
|
+
/**
|
|
175
|
+
* Adjusts the location of the Rectangle object, as determined by its
|
|
176
|
+
* top-left corner, by the specified amounts.
|
|
177
|
+
*
|
|
178
|
+
* @param dx Moves the <i>x</i> value of the Rectangle object by this amount.
|
|
179
|
+
* @param dy Moves the <i>y</i> value of the Rectangle object by this amount.
|
|
180
|
+
*/
|
|
181
|
+
offset(dx: number, dy: number): void;
|
|
182
|
+
/**
|
|
183
|
+
* Adjusts the location of the Rectangle object using a Point object as a
|
|
184
|
+
* parameter. This method is similar to the <code>Rectangle.offset()</code>
|
|
185
|
+
* method, except that it takes a Point object as a parameter.
|
|
186
|
+
*
|
|
187
|
+
* @param point A Point object to use to offset this Rectangle object.
|
|
188
|
+
*/
|
|
189
|
+
offsetPoint(point: Point): void;
|
|
190
|
+
/**
|
|
191
|
+
* Determines whether the specified point is contained within the rectangular
|
|
192
|
+
* region defined by this Rectangle object.
|
|
193
|
+
*
|
|
194
|
+
* @param x The <i>x</i> coordinate(horizontal position) of the point.
|
|
195
|
+
* @param y The <i>y</i> coordinate(vertical position) of the point.
|
|
196
|
+
* @return A value of <code>true</code> if the Rectangle object contains the
|
|
197
|
+
* specified point; otherwise <code>false</code>.
|
|
198
|
+
*/
|
|
199
|
+
contains(x: number, y: number): boolean;
|
|
200
|
+
/**
|
|
201
|
+
* Determines whether the specified point is contained within the rectangular
|
|
202
|
+
* region defined by this Rectangle object. This method is similar to the
|
|
203
|
+
* <code>Rectangle.contains()</code> method, except that it takes a Point
|
|
204
|
+
* object as a parameter.
|
|
205
|
+
*
|
|
206
|
+
* @param point The point, as represented by its <i>x</i> and <i>y</i>
|
|
207
|
+
* coordinates.
|
|
208
|
+
* @return A value of <code>true</code> if the Rectangle object contains the
|
|
209
|
+
* specified point; otherwise <code>false</code>.
|
|
210
|
+
*/
|
|
211
|
+
containsPoint(point: Point): boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Determines whether the Rectangle object specified by the <code>rect</code>
|
|
214
|
+
* parameter is contained within this Rectangle object. A Rectangle object is
|
|
215
|
+
* said to contain another if the second Rectangle object falls entirely
|
|
216
|
+
* within the boundaries of the first.
|
|
217
|
+
*
|
|
218
|
+
* @param rect The Rectangle object being checked.
|
|
219
|
+
* @return A value of <code>true</code> if the Rectangle object that you
|
|
220
|
+
* specify is contained by this Rectangle object; otherwise
|
|
221
|
+
* <code>false</code>.
|
|
222
|
+
*/
|
|
223
|
+
containsRect(rect: Rectangle): boolean;
|
|
224
|
+
/**
|
|
225
|
+
* If the Rectangle object specified in the <code>toIntersect</code>
|
|
226
|
+
* parameter intersects with this Rectangle object, returns the area of
|
|
227
|
+
* intersection as a Rectangle object. If the rectangles do not intersect,
|
|
228
|
+
* this method returns an empty Rectangle object with its properties set to
|
|
229
|
+
* 0.
|
|
230
|
+
*
|
|
231
|
+
* @param toIntersect The Rectangle object to compare against to see if it
|
|
232
|
+
* intersects with this Rectangle object.
|
|
233
|
+
* @return A Rectangle object that equals the area of intersection. If the
|
|
234
|
+
* rectangles do not intersect, this method returns an empty
|
|
235
|
+
* Rectangle object; that is, a rectangle with its <code>x</code>,
|
|
236
|
+
* <code>y</code>, <code>width</code>, and <code>height</code>
|
|
237
|
+
* properties set to 0.
|
|
238
|
+
*/
|
|
239
|
+
intersection(toIntersect: Rectangle): Rectangle;
|
|
240
|
+
/**
|
|
241
|
+
* Determines whether the object specified in the <code>toIntersect</code>
|
|
242
|
+
* parameter intersects with this Rectangle object. This method checks the
|
|
243
|
+
* <code>x</code>, <code>y</code>, <code>width</code>, and
|
|
244
|
+
* <code>height</code> properties of the specified Rectangle object to see if
|
|
245
|
+
* it intersects with this Rectangle object.
|
|
246
|
+
*
|
|
247
|
+
* @param toIntersect The Rectangle object to compare against this Rectangle
|
|
248
|
+
* object.
|
|
249
|
+
* @return A value of <code>true</code> if the specified object intersects
|
|
250
|
+
* with this Rectangle object; otherwise <code>false</code>.
|
|
251
|
+
*/
|
|
252
|
+
intersects(toIntersect: Rectangle): boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Adds two rectangles together to create a new Rectangle object, by filling
|
|
255
|
+
* in the horizontal and vertical space between the two rectangles.
|
|
256
|
+
*
|
|
257
|
+
* <p><b>Note:</b> The <code>union()</code> method ignores rectangles with
|
|
258
|
+
* <code>0</code> as the height or width value, such as: <code>var
|
|
259
|
+
* rect2:Rectangle = new Rectangle(300,300,50,0);</code></p>
|
|
260
|
+
*
|
|
261
|
+
* @param toUnion A Rectangle object to add to this Rectangle object.
|
|
262
|
+
* @return A new Rectangle object that is the union of the two rectangles.
|
|
263
|
+
*/
|
|
264
|
+
union(toUnion: Rectangle): Rectangle;
|
|
265
|
+
/**
|
|
266
|
+
* Determines whether the object specified in the <code>toCompare</code>
|
|
267
|
+
* parameter is equal to this Rectangle object. This method compares the
|
|
268
|
+
* <code>x</code>, <code>y</code>, <code>width</code>, and
|
|
269
|
+
* <code>height</code> properties of an object against the same properties of
|
|
270
|
+
* this Rectangle object.
|
|
271
|
+
*
|
|
272
|
+
* @param toCompare The rectangle to compare to this Rectangle object.
|
|
273
|
+
* @return A value of <code>true</code> if the object has exactly the same
|
|
274
|
+
* values for the <code>x</code>, <code>y</code>, <code>width</code>,
|
|
275
|
+
* and <code>height</code> properties as this Rectangle object;
|
|
276
|
+
* otherwise <code>false</code>.
|
|
277
|
+
*/
|
|
278
|
+
equals(toCompare: Rectangle): boolean;
|
|
279
|
+
/**
|
|
280
|
+
* Copies all of rectangle data from the source Rectangle object into the
|
|
281
|
+
* calling Rectangle object.
|
|
282
|
+
*
|
|
283
|
+
* @param sourceRect The Rectangle object from which to copy the data.
|
|
284
|
+
*/
|
|
285
|
+
copyFrom(sourceRect: Rectangle): void;
|
|
286
|
+
/**
|
|
287
|
+
* Sets the members of Rectangle to the specified values
|
|
288
|
+
*
|
|
289
|
+
* @param xa The <i>x</i> coordinate of the top-left corner of the
|
|
290
|
+
* rectangle.
|
|
291
|
+
* @param ya The <i>y</i> coordinate of the top-left corner of the
|
|
292
|
+
* rectangle.
|
|
293
|
+
* @param widtha The width of the rectangle, in pixels.
|
|
294
|
+
* @param heighta The height of the rectangle, in pixels.
|
|
295
|
+
*/
|
|
296
|
+
setTo(x: number, y: number, width: number, height: number): void;
|
|
297
|
+
/**
|
|
298
|
+
* Builds and returns a string that lists the horizontal and vertical
|
|
299
|
+
* positions and the width and height of the Rectangle object.
|
|
300
|
+
*
|
|
301
|
+
* @return A string listing the value of each of the following properties of
|
|
302
|
+
* the Rectangle object: <code>x</code>, <code>y</code>,
|
|
303
|
+
* <code>width</code>, and <code>height</code>.
|
|
304
|
+
*/
|
|
305
|
+
toString(): string;
|
|
306
|
+
hashCode(): number;
|
|
307
|
+
writeExternal(output: IDataOutput): void;
|
|
308
|
+
readExternal(input: IDataInput): void;
|
|
309
|
+
}
|
|
310
|
+
//# sourceMappingURL=Rectangle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rectangle.d.ts","sourceRoot":"","sources":["../../../lib/geom/Rectangle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,qBAAa,SAAU,SAAQ,QAAS,YAAW,eAAe;IACjE,OAAO,CAAC,QAAQ,CAAgB;IAEhC,MAAM,CAAC,OAAO,EAAE,OAAO,SAAS,CAAC;IAGjC,MAAM,CAAC,gBAAgB,EAAE,GAAG,CAAQ;IAGpC,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,CAAQ;IAGrC,MAAM,CAAC,eAAe,EAAE,MAAM,EAAE,CAAQ;IAExC,IAAW,OAAO,IAAI,aAAa,CAElC;IAED;;;;OAIG;IACH,IAAW,MAAM,IAAI,MAAM,CAE1B;IAED,IAAW,MAAM,CAAC,KAAK,EAAE,MAAM,EAE9B;IAED;;;;OAIG;IACH,IAAW,KAAK,IAAI,MAAM,CAEzB;IAED,IAAW,KAAK,CAAC,KAAK,EAAE,MAAM,EAE7B;IAED;;;;;;;;OAQG;IACH,IAAW,CAAC,IAAI,MAAM,CAErB;IAED,IAAW,CAAC,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;;;;;;;OAQG;IACH,IAAW,CAAC,IAAI,MAAM,CAErB;IAED,IAAW,CAAC,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;OAEG;IACH,IAAW,MAAM,IAAI,MAAM,CAE1B;IAED,IAAW,MAAM,CAAC,KAAK,EAAE,MAAM,EAE9B;IAED;;;OAGG;IACH,IAAW,WAAW,IAAI,KAAK,CAE9B;IAED,IAAW,WAAW,CAAC,KAAK,EAAE,KAAK,EAGlC;IAED;;;;;;;;;OASG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAE5B;IAED;;OAEG;IACH,IAAW,KAAK,IAAI,MAAM,CAEzB;IAED,IAAW,KAAK,CAAC,KAAK,EAAE,MAAM,EAE7B;IAED;;;OAGG;IACH,IAAW,IAAI,IAAI,KAAK,CAEvB;IAED,IAAW,IAAI,CAAC,KAAK,EAAE,KAAK,EAG3B;IAED;;;;;;;;;OASG;IACH,IAAW,GAAG,IAAI,MAAM,CAEvB;IAED,IAAW,GAAG,CAAC,KAAK,EAAE,MAAM,EAE3B;IAED;;;OAGG;IACH,IAAW,OAAO,IAAI,KAAK,CAE1B;IAED,IAAW,OAAO,CAAC,KAAK,EAAE,KAAK,EAG9B;IAED,IAAW,IAAI,IAAI,MAAM,CAExB;IAED;;;;;;;;;;;;;;OAcG;gBACS,QAAQ,GAAE,MAAM,GAAG,aAAiB,EAAE,CAAC,GAAE,MAAU,EAAE,KAAK,GAAE,MAAU,EAAE,MAAM,GAAE,MAAU;WAMxF,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS;IAQnD;;;;;;;;OAQG;IACI,KAAK,IAAI,SAAS;IAIzB;;;;;OAKG;IACI,OAAO,IAAI,OAAO;IAIzB;;;;;;;OAOG;IACI,QAAQ,IAAI,IAAI;IAIvB;;;;;;;;;;;;OAYG;IACI,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI;IAI5C;;;;;;;;;;;OAWG;IACI,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAIvC;;;;;;OAMG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI;IAI3C;;;;;;OAMG;IACI,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAItC;;;;;;;;OAQG;IACI,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO;IAI9C;;;;;;;;;;OAUG;IACI,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO;IAI3C;;;;;;;;;;OAUG;IACI,YAAY,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO;IAI7C;;;;;;;;;;;;;;OAcG;IACI,YAAY,CAAC,WAAW,EAAE,SAAS,GAAG,SAAS;IAItD;;;;;;;;;;;OAWG;IACI,UAAU,CAAC,WAAW,EAAE,SAAS,GAAG,OAAO;IAIlD;;;;;;;;;;OAUG;IACI,KAAK,CAAC,OAAO,EAAE,SAAS,GAAG,SAAS;IAI3C;;;;;;;;;;;;OAYG;IACI,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO;IAI5C;;;;;OAKG;IACI,QAAQ,CAAC,UAAU,EAAE,SAAS,GAAG,IAAI;IAI5C;;;;;;;;;OASG;IACI,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI;IAIvE;;;;;;;OAOG;IACI,QAAQ,IAAI,MAAM;IAIlB,QAAQ,IAAI,MAAM;IASlB,aAAa,CAAC,MAAM,EAAE,WAAW;IAOjC,YAAY,CAAC,KAAK,EAAE,UAAU;CAMrC"}
|