safex-webgl 1.0.0
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/.prettierrc +6 -0
- package/@types/index.d.ts +36 -0
- package/README.md +152 -0
- package/bun.lock +353 -0
- package/dist/actions/Action.d.ts +27 -0
- package/dist/actions/Action.d.ts.map +1 -0
- package/dist/actions/Action.js +62 -0
- package/dist/actions/Action.js.map +1 -0
- package/dist/actions/ActionBezier.d.ts +121 -0
- package/dist/actions/ActionBezier.d.ts.map +1 -0
- package/dist/actions/ActionBezier.js +221 -0
- package/dist/actions/ActionBezier.js.map +1 -0
- package/dist/actions/ActionBlink.d.ts +62 -0
- package/dist/actions/ActionBlink.d.ts.map +1 -0
- package/dist/actions/ActionBlink.js +96 -0
- package/dist/actions/ActionBlink.js.map +1 -0
- package/dist/actions/ActionCatmullRom.d.ts +242 -0
- package/dist/actions/ActionCatmullRom.d.ts.map +1 -0
- package/dist/actions/ActionCatmullRom.js +436 -0
- package/dist/actions/ActionCatmullRom.js.map +1 -0
- package/dist/actions/ActionFade.d.ts +126 -0
- package/dist/actions/ActionFade.d.ts.map +1 -0
- package/dist/actions/ActionFade.js +190 -0
- package/dist/actions/ActionFade.js.map +1 -0
- package/dist/actions/ActionInstant.d.ts +237 -0
- package/dist/actions/ActionInstant.d.ts.map +1 -0
- package/dist/actions/ActionInstant.js +386 -0
- package/dist/actions/ActionInstant.js.map +1 -0
- package/dist/actions/ActionInterval.d.ts +132 -0
- package/dist/actions/ActionInterval.d.ts.map +1 -0
- package/dist/actions/ActionInterval.js +254 -0
- package/dist/actions/ActionInterval.js.map +1 -0
- package/dist/actions/ActionJump.d.ts +146 -0
- package/dist/actions/ActionJump.d.ts.map +1 -0
- package/dist/actions/ActionJump.js +239 -0
- package/dist/actions/ActionJump.js.map +1 -0
- package/dist/actions/ActionMove.d.ts +73 -0
- package/dist/actions/ActionMove.d.ts.map +1 -0
- package/dist/actions/ActionMove.js +164 -0
- package/dist/actions/ActionMove.js.map +1 -0
- package/dist/actions/ActionRotate.d.ts +137 -0
- package/dist/actions/ActionRotate.d.ts.map +1 -0
- package/dist/actions/ActionRotate.js +214 -0
- package/dist/actions/ActionRotate.js.map +1 -0
- package/dist/actions/ActionScale.d.ts +110 -0
- package/dist/actions/ActionScale.d.ts.map +1 -0
- package/dist/actions/ActionScale.js +157 -0
- package/dist/actions/ActionScale.js.map +1 -0
- package/dist/actions/ActionSkew.d.ts +120 -0
- package/dist/actions/ActionSkew.d.ts.map +1 -0
- package/dist/actions/ActionSkew.js +185 -0
- package/dist/actions/ActionSkew.js.map +1 -0
- package/dist/actions/ActionTint.d.ts +132 -0
- package/dist/actions/ActionTint.d.ts.map +1 -0
- package/dist/actions/ActionTint.js +193 -0
- package/dist/actions/ActionTint.js.map +1 -0
- package/dist/actions/Animate.d.ts +77 -0
- package/dist/actions/Animate.d.ts.map +1 -0
- package/dist/actions/Animate.js +177 -0
- package/dist/actions/Animate.js.map +1 -0
- package/dist/actions/DelayTime.d.ts +95 -0
- package/dist/actions/DelayTime.d.ts.map +1 -0
- package/dist/actions/DelayTime.js +145 -0
- package/dist/actions/DelayTime.js.map +1 -0
- package/dist/actions/FiniteTimeAction.d.ts +11 -0
- package/dist/actions/FiniteTimeAction.d.ts.map +1 -0
- package/dist/actions/FiniteTimeAction.js +24 -0
- package/dist/actions/FiniteTimeAction.js.map +1 -0
- package/dist/actions/Follow.d.ts +23 -0
- package/dist/actions/Follow.d.ts.map +1 -0
- package/dist/actions/Follow.js +98 -0
- package/dist/actions/Follow.js.map +1 -0
- package/dist/actions/Repeat.d.ts +151 -0
- package/dist/actions/Repeat.d.ts.map +1 -0
- package/dist/actions/Repeat.js +276 -0
- package/dist/actions/Repeat.js.map +1 -0
- package/dist/actions/Sequence.d.ts +77 -0
- package/dist/actions/Sequence.d.ts.map +1 -0
- package/dist/actions/Sequence.js +190 -0
- package/dist/actions/Sequence.js.map +1 -0
- package/dist/actions/Spawn.d.ts +63 -0
- package/dist/actions/Spawn.d.ts.map +1 -0
- package/dist/actions/Spawn.js +146 -0
- package/dist/actions/Spawn.js.map +1 -0
- package/dist/actions/Speed.d.ts +19 -0
- package/dist/actions/Speed.d.ts.map +1 -0
- package/dist/actions/Speed.js +57 -0
- package/dist/actions/Speed.js.map +1 -0
- package/dist/actions/TargetedAction.d.ts +67 -0
- package/dist/actions/TargetedAction.d.ts.map +1 -0
- package/dist/actions/TargetedAction.js +99 -0
- package/dist/actions/TargetedAction.js.map +1 -0
- package/dist/actions/easing/ActionEase.d.ts +133 -0
- package/dist/actions/easing/ActionEase.d.ts.map +1 -0
- package/dist/actions/easing/ActionEase.js +184 -0
- package/dist/actions/easing/ActionEase.js.map +1 -0
- package/dist/actions/easing/Back.d.ts +174 -0
- package/dist/actions/easing/Back.d.ts.map +1 -0
- package/dist/actions/easing/Back.js +227 -0
- package/dist/actions/easing/Back.js.map +1 -0
- package/dist/actions/easing/Bezier.d.ts +94 -0
- package/dist/actions/easing/Bezier.d.ts.map +1 -0
- package/dist/actions/easing/Bezier.js +124 -0
- package/dist/actions/easing/Bezier.js.map +1 -0
- package/dist/actions/easing/Bounce.d.ts +203 -0
- package/dist/actions/easing/Bounce.d.ts.map +1 -0
- package/dist/actions/easing/Bounce.js +288 -0
- package/dist/actions/easing/Bounce.js.map +1 -0
- package/dist/actions/easing/Circle.d.ts +177 -0
- package/dist/actions/easing/Circle.d.ts.map +1 -0
- package/dist/actions/easing/Circle.js +220 -0
- package/dist/actions/easing/Circle.js.map +1 -0
- package/dist/actions/easing/Cubic.d.ts +165 -0
- package/dist/actions/easing/Cubic.d.ts.map +1 -0
- package/dist/actions/easing/Cubic.js +209 -0
- package/dist/actions/easing/Cubic.js.map +1 -0
- package/dist/actions/easing/Elastic.d.ts +269 -0
- package/dist/actions/easing/Elastic.d.ts.map +1 -0
- package/dist/actions/easing/Elastic.js +358 -0
- package/dist/actions/easing/Elastic.js.map +1 -0
- package/dist/actions/easing/Exponential.d.ts +181 -0
- package/dist/actions/easing/Exponential.d.ts.map +1 -0
- package/dist/actions/easing/Exponential.js +214 -0
- package/dist/actions/easing/Exponential.js.map +1 -0
- package/dist/actions/easing/InOut.d.ts +191 -0
- package/dist/actions/easing/InOut.d.ts.map +1 -0
- package/dist/actions/easing/InOut.js +254 -0
- package/dist/actions/easing/InOut.js.map +1 -0
- package/dist/actions/easing/Quartic.d.ts +232 -0
- package/dist/actions/easing/Quartic.d.ts.map +1 -0
- package/dist/actions/easing/Quartic.js +313 -0
- package/dist/actions/easing/Quartic.js.map +1 -0
- package/dist/actions/easing/Quintic.d.ts +168 -0
- package/dist/actions/easing/Quintic.d.ts.map +1 -0
- package/dist/actions/easing/Quintic.js +212 -0
- package/dist/actions/easing/Quintic.js.map +1 -0
- package/dist/actions/easing/Sine.d.ts +176 -0
- package/dist/actions/easing/Sine.d.ts.map +1 -0
- package/dist/actions/easing/Sine.js +206 -0
- package/dist/actions/easing/Sine.js.map +1 -0
- package/dist/actions/index.d.ts +16 -0
- package/dist/actions/index.d.ts.map +1 -0
- package/dist/actions/index.js +16 -0
- package/dist/actions/index.js.map +1 -0
- package/dist/audio/Audio.d.ts +47 -0
- package/dist/audio/Audio.d.ts.map +1 -0
- package/dist/audio/Audio.js +255 -0
- package/dist/audio/Audio.js.map +1 -0
- package/dist/audio/engine.d.ts +171 -0
- package/dist/audio/engine.d.ts.map +1 -0
- package/dist/audio/engine.js +556 -0
- package/dist/audio/engine.js.map +1 -0
- package/dist/audio/index.d.ts +3 -0
- package/dist/audio/index.d.ts.map +1 -0
- package/dist/audio/index.js +3 -0
- package/dist/audio/index.js.map +1 -0
- package/dist/boot.d.ts +80 -0
- package/dist/boot.d.ts.map +1 -0
- package/dist/boot.js +468 -0
- package/dist/boot.js.map +1 -0
- package/dist/clipping-nodes/ClippingNode.d.ts +114 -0
- package/dist/clipping-nodes/ClippingNode.d.ts.map +1 -0
- package/dist/clipping-nodes/ClippingNode.js +177 -0
- package/dist/clipping-nodes/ClippingNode.js.map +1 -0
- package/dist/clipping-nodes/ClippingNodeWebGLRenderCmd.d.ts +25 -0
- package/dist/clipping-nodes/ClippingNodeWebGLRenderCmd.d.ts.map +1 -0
- package/dist/clipping-nodes/ClippingNodeWebGLRenderCmd.js +157 -0
- package/dist/clipping-nodes/ClippingNodeWebGLRenderCmd.js.map +1 -0
- package/dist/core/ActionManager.d.ts +56 -0
- package/dist/core/ActionManager.d.ts.map +1 -0
- package/dist/core/ActionManager.js +253 -0
- package/dist/core/ActionManager.js.map +1 -0
- package/dist/core/Configuration.d.ts +108 -0
- package/dist/core/Configuration.d.ts.map +1 -0
- package/dist/core/Configuration.js +232 -0
- package/dist/core/Configuration.js.map +1 -0
- package/dist/core/Director.d.ts +130 -0
- package/dist/core/Director.d.ts.map +1 -0
- package/dist/core/Director.js +580 -0
- package/dist/core/Director.js.map +1 -0
- package/dist/core/DrawingPrimitivesWebGL.d.ts +32 -0
- package/dist/core/DrawingPrimitivesWebGL.d.ts.map +1 -0
- package/dist/core/DrawingPrimitivesWebGL.js +273 -0
- package/dist/core/DrawingPrimitivesWebGL.js.map +1 -0
- package/dist/core/Scheduler.d.ts +110 -0
- package/dist/core/Scheduler.d.ts.map +1 -0
- package/dist/core/Scheduler.js +687 -0
- package/dist/core/Scheduler.js.map +1 -0
- package/dist/core/base-nodes/BaseNodesPropertyDefine.d.ts +2 -0
- package/dist/core/base-nodes/BaseNodesPropertyDefine.d.ts.map +1 -0
- package/dist/core/base-nodes/BaseNodesPropertyDefine.js +37 -0
- package/dist/core/base-nodes/BaseNodesPropertyDefine.js.map +1 -0
- package/dist/core/base-nodes/CustomRenderCmd.d.ts +9 -0
- package/dist/core/base-nodes/CustomRenderCmd.d.ts.map +1 -0
- package/dist/core/base-nodes/CustomRenderCmd.js +16 -0
- package/dist/core/base-nodes/CustomRenderCmd.js.map +1 -0
- package/dist/core/base-nodes/Node.d.ts +285 -0
- package/dist/core/base-nodes/Node.d.ts.map +1 -0
- package/dist/core/base-nodes/Node.js +1112 -0
- package/dist/core/base-nodes/Node.js.map +1 -0
- package/dist/core/base-nodes/NodeRenderCmd.d.ts +65 -0
- package/dist/core/base-nodes/NodeRenderCmd.d.ts.map +1 -0
- package/dist/core/base-nodes/NodeRenderCmd.js +460 -0
- package/dist/core/base-nodes/NodeRenderCmd.js.map +1 -0
- package/dist/core/base-nodes/NodeWebGLRenderCmd.d.ts +17 -0
- package/dist/core/base-nodes/NodeWebGLRenderCmd.d.ts.map +1 -0
- package/dist/core/base-nodes/NodeWebGLRenderCmd.js +29 -0
- package/dist/core/base-nodes/NodeWebGLRenderCmd.js.map +1 -0
- package/dist/core/cocoa/AffineTransform.d.ts +201 -0
- package/dist/core/cocoa/AffineTransform.d.ts.map +1 -0
- package/dist/core/cocoa/AffineTransform.js +260 -0
- package/dist/core/cocoa/AffineTransform.js.map +1 -0
- package/dist/core/cocoa/Geometry.d.ts +176 -0
- package/dist/core/cocoa/Geometry.d.ts.map +1 -0
- package/dist/core/cocoa/Geometry.js +237 -0
- package/dist/core/cocoa/Geometry.js.map +1 -0
- package/dist/core/event-manager/Event.d.ts +57 -0
- package/dist/core/event-manager/Event.d.ts.map +1 -0
- package/dist/core/event-manager/Event.js +69 -0
- package/dist/core/event-manager/Event.js.map +1 -0
- package/dist/core/event-manager/EventCustom.d.ts +22 -0
- package/dist/core/event-manager/EventCustom.d.ts.map +1 -0
- package/dist/core/event-manager/EventCustom.js +31 -0
- package/dist/core/event-manager/EventCustom.js.map +1 -0
- package/dist/core/event-manager/EventExtension.d.ts +33 -0
- package/dist/core/event-manager/EventExtension.d.ts.map +1 -0
- package/dist/core/event-manager/EventExtension.js +80 -0
- package/dist/core/event-manager/EventExtension.js.map +1 -0
- package/dist/core/event-manager/EventFocus.d.ts +17 -0
- package/dist/core/event-manager/EventFocus.d.ts.map +1 -0
- package/dist/core/event-manager/EventFocus.js +21 -0
- package/dist/core/event-manager/EventFocus.js.map +1 -0
- package/dist/core/event-manager/EventHelper.d.ts +8 -0
- package/dist/core/event-manager/EventHelper.d.ts.map +1 -0
- package/dist/core/event-manager/EventHelper.js +92 -0
- package/dist/core/event-manager/EventHelper.js.map +1 -0
- package/dist/core/event-manager/EventListener.d.ts +53 -0
- package/dist/core/event-manager/EventListener.d.ts.map +1 -0
- package/dist/core/event-manager/EventListener.js +95 -0
- package/dist/core/event-manager/EventListener.js.map +1 -0
- package/dist/core/event-manager/EventListenerCustom.d.ts +11 -0
- package/dist/core/event-manager/EventListenerCustom.d.ts.map +1 -0
- package/dist/core/event-manager/EventListenerCustom.js +37 -0
- package/dist/core/event-manager/EventListenerCustom.js.map +1 -0
- package/dist/core/event-manager/EventListenerFocus.d.ts +10 -0
- package/dist/core/event-manager/EventListenerFocus.d.ts.map +1 -0
- package/dist/core/event-manager/EventListenerFocus.js +28 -0
- package/dist/core/event-manager/EventListenerFocus.js.map +1 -0
- package/dist/core/event-manager/EventListenerMouse.d.ts +13 -0
- package/dist/core/event-manager/EventListenerMouse.d.ts.map +1 -0
- package/dist/core/event-manager/EventListenerMouse.js +49 -0
- package/dist/core/event-manager/EventListenerMouse.js.map +1 -0
- package/dist/core/event-manager/EventListenerTouchAllAtOnce.d.ts +12 -0
- package/dist/core/event-manager/EventListenerTouchAllAtOnce.d.ts.map +1 -0
- package/dist/core/event-manager/EventListenerTouchAllAtOnce.js +28 -0
- package/dist/core/event-manager/EventListenerTouchAllAtOnce.js.map +1 -0
- package/dist/core/event-manager/EventListenerTouchOneByOne.d.ts +16 -0
- package/dist/core/event-manager/EventListenerTouchOneByOne.d.ts.map +1 -0
- package/dist/core/event-manager/EventListenerTouchOneByOne.js +38 -0
- package/dist/core/event-manager/EventListenerTouchOneByOne.js.map +1 -0
- package/dist/core/event-manager/EventListenerVector.d.ts +15 -0
- package/dist/core/event-manager/EventListenerVector.d.ts.map +1 -0
- package/dist/core/event-manager/EventListenerVector.js +38 -0
- package/dist/core/event-manager/EventListenerVector.js.map +1 -0
- package/dist/core/event-manager/EventManager.d.ts +140 -0
- package/dist/core/event-manager/EventManager.d.ts.map +1 -0
- package/dist/core/event-manager/EventManager.js +907 -0
- package/dist/core/event-manager/EventManager.js.map +1 -0
- package/dist/core/event-manager/EventMouse.d.ts +173 -0
- package/dist/core/event-manager/EventMouse.d.ts.map +1 -0
- package/dist/core/event-manager/EventMouse.js +200 -0
- package/dist/core/event-manager/EventMouse.js.map +1 -0
- package/dist/core/event-manager/EventTouch.d.ts +24 -0
- package/dist/core/event-manager/EventTouch.d.ts.map +1 -0
- package/dist/core/event-manager/EventTouch.js +33 -0
- package/dist/core/event-manager/EventTouch.js.map +1 -0
- package/dist/core/event-manager/Touch.d.ts +60 -0
- package/dist/core/event-manager/Touch.d.ts.map +1 -0
- package/dist/core/event-manager/Touch.js +94 -0
- package/dist/core/event-manager/Touch.js.map +1 -0
- package/dist/core/event-manager/index.d.ts +6 -0
- package/dist/core/event-manager/index.d.ts.map +1 -0
- package/dist/core/event-manager/index.js +6 -0
- package/dist/core/event-manager/index.js.map +1 -0
- package/dist/core/index.d.ts +16 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +16 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/kazmath/gl/mat4stack.d.ts +5 -0
- package/dist/core/kazmath/gl/mat4stack.d.ts.map +1 -0
- package/dist/core/kazmath/gl/mat4stack.js +53 -0
- package/dist/core/kazmath/gl/mat4stack.js.map +1 -0
- package/dist/core/kazmath/gl/matrix.d.ts +21 -0
- package/dist/core/kazmath/gl/matrix.d.ts.map +1 -0
- package/dist/core/kazmath/gl/matrix.js +121 -0
- package/dist/core/kazmath/gl/matrix.js.map +1 -0
- package/dist/core/kazmath/index.d.ts +7 -0
- package/dist/core/kazmath/index.d.ts.map +1 -0
- package/dist/core/kazmath/index.js +7 -0
- package/dist/core/kazmath/index.js.map +1 -0
- package/dist/core/kazmath/mat3.d.ts +45 -0
- package/dist/core/kazmath/mat3.d.ts.map +1 -0
- package/dist/core/kazmath/mat3.js +297 -0
- package/dist/core/kazmath/mat3.js.map +1 -0
- package/dist/core/kazmath/mat4.d.ts +175 -0
- package/dist/core/kazmath/mat4.d.ts.map +1 -0
- package/dist/core/kazmath/mat4.func.d.ts +44 -0
- package/dist/core/kazmath/mat4.func.d.ts.map +1 -0
- package/dist/core/kazmath/mat4.func.js +210 -0
- package/dist/core/kazmath/mat4.func.js.map +1 -0
- package/dist/core/kazmath/mat4.js +671 -0
- package/dist/core/kazmath/mat4.js.map +1 -0
- package/dist/core/kazmath/plane.d.ts +24 -0
- package/dist/core/kazmath/plane.d.ts.map +1 -0
- package/dist/core/kazmath/plane.js +96 -0
- package/dist/core/kazmath/plane.js.map +1 -0
- package/dist/core/kazmath/quaternion.d.ts +135 -0
- package/dist/core/kazmath/quaternion.d.ts.map +1 -0
- package/dist/core/kazmath/quaternion.js +407 -0
- package/dist/core/kazmath/quaternion.js.map +1 -0
- package/dist/core/kazmath/utility.d.ts +8 -0
- package/dist/core/kazmath/utility.d.ts.map +1 -0
- package/dist/core/kazmath/utility.js +14 -0
- package/dist/core/kazmath/utility.js.map +1 -0
- package/dist/core/kazmath/vec3.d.ts +26 -0
- package/dist/core/kazmath/vec3.d.ts.map +1 -0
- package/dist/core/kazmath/vec3.js +170 -0
- package/dist/core/kazmath/vec3.js.map +1 -0
- package/dist/core/kazmath/vec4.d.ts +22 -0
- package/dist/core/kazmath/vec4.d.ts.map +1 -0
- package/dist/core/kazmath/vec4.js +136 -0
- package/dist/core/kazmath/vec4.js.map +1 -0
- package/dist/core/labelttf/LabelTTF.d.ts +310 -0
- package/dist/core/labelttf/LabelTTF.d.ts.map +1 -0
- package/dist/core/labelttf/LabelTTF.js +818 -0
- package/dist/core/labelttf/LabelTTF.js.map +1 -0
- package/dist/core/labelttf/LabelTTFPropertyDefine.d.ts +2 -0
- package/dist/core/labelttf/LabelTTFPropertyDefine.d.ts.map +1 -0
- package/dist/core/labelttf/LabelTTFPropertyDefine.js +27 -0
- package/dist/core/labelttf/LabelTTFPropertyDefine.js.map +1 -0
- package/dist/core/labelttf/LabelTTFWebGLRenderCmd.d.ts +37 -0
- package/dist/core/labelttf/LabelTTFWebGLRenderCmd.d.ts.map +1 -0
- package/dist/core/labelttf/LabelTTFWebGLRenderCmd.js +367 -0
- package/dist/core/labelttf/LabelTTFWebGLRenderCmd.js.map +1 -0
- package/dist/core/layers/Layer.d.ts +35 -0
- package/dist/core/layers/Layer.d.ts.map +1 -0
- package/dist/core/layers/Layer.js +93 -0
- package/dist/core/layers/Layer.js.map +1 -0
- package/dist/core/layers/LayerColor.d.ts +61 -0
- package/dist/core/layers/LayerColor.d.ts.map +1 -0
- package/dist/core/layers/LayerColor.js +144 -0
- package/dist/core/layers/LayerColor.js.map +1 -0
- package/dist/core/layers/LayerGradient.d.ts +196 -0
- package/dist/core/layers/LayerGradient.d.ts.map +1 -0
- package/dist/core/layers/LayerGradient.js +482 -0
- package/dist/core/layers/LayerGradient.js.map +1 -0
- package/dist/core/layers/LayerMultiplex.d.ts +47 -0
- package/dist/core/layers/LayerMultiplex.d.ts.map +1 -0
- package/dist/core/layers/LayerMultiplex.js +87 -0
- package/dist/core/layers/LayerMultiplex.js.map +1 -0
- package/dist/core/layers/LayerWebGLRenderCmd.d.ts +26 -0
- package/dist/core/layers/LayerWebGLRenderCmd.d.ts.map +1 -0
- package/dist/core/layers/LayerWebGLRenderCmd.js +100 -0
- package/dist/core/layers/LayerWebGLRenderCmd.js.map +1 -0
- package/dist/core/layers/index.d.ts +5 -0
- package/dist/core/layers/index.d.ts.map +1 -0
- package/dist/core/layers/index.js +5 -0
- package/dist/core/layers/index.js.map +1 -0
- package/dist/core/platform/BlendFunc.d.ts +30 -0
- package/dist/core/platform/BlendFunc.d.ts.map +1 -0
- package/dist/core/platform/BlendFunc.js +50 -0
- package/dist/core/platform/BlendFunc.js.map +1 -0
- package/dist/core/platform/Color.d.ts +31 -0
- package/dist/core/platform/Color.d.ts.map +1 -0
- package/dist/core/platform/Color.js +71 -0
- package/dist/core/platform/Color.js.map +1 -0
- package/dist/core/platform/Common.d.ts +157 -0
- package/dist/core/platform/Common.d.ts.map +1 -0
- package/dist/core/platform/Common.js +180 -0
- package/dist/core/platform/Common.js.map +1 -0
- package/dist/core/platform/Config.d.ts +230 -0
- package/dist/core/platform/Config.d.ts.map +1 -0
- package/dist/core/platform/Config.js +231 -0
- package/dist/core/platform/Config.js.map +1 -0
- package/dist/core/platform/Dictionary.d.ts +16 -0
- package/dist/core/platform/Dictionary.d.ts.map +1 -0
- package/dist/core/platform/Dictionary.js +65 -0
- package/dist/core/platform/Dictionary.js.map +1 -0
- package/dist/core/platform/EGLView/ContainerStrategy.d.ts +30 -0
- package/dist/core/platform/EGLView/ContainerStrategy.d.ts.map +1 -0
- package/dist/core/platform/EGLView/ContainerStrategy.js +121 -0
- package/dist/core/platform/EGLView/ContainerStrategy.js.map +1 -0
- package/dist/core/platform/EGLView/ContentStrategy.d.ts +56 -0
- package/dist/core/platform/EGLView/ContentStrategy.d.ts.map +1 -0
- package/dist/core/platform/EGLView/ContentStrategy.js +117 -0
- package/dist/core/platform/EGLView/ContentStrategy.js.map +1 -0
- package/dist/core/platform/EGLView/EGLInstance.d.ts +8 -0
- package/dist/core/platform/EGLView/EGLInstance.d.ts.map +1 -0
- package/dist/core/platform/EGLView/EGLInstance.js +16 -0
- package/dist/core/platform/EGLView/EGLInstance.js.map +1 -0
- package/dist/core/platform/EGLView/ResolutionPolicy.d.ts +99 -0
- package/dist/core/platform/EGLView/ResolutionPolicy.d.ts.map +1 -0
- package/dist/core/platform/EGLView/ResolutionPolicy.js +116 -0
- package/dist/core/platform/EGLView/ResolutionPolicy.js.map +1 -0
- package/dist/core/platform/EGLView.d.ts +204 -0
- package/dist/core/platform/EGLView.d.ts.map +1 -0
- package/dist/core/platform/EGLView.js +669 -0
- package/dist/core/platform/EGLView.js.map +1 -0
- package/dist/core/platform/FontDefinition.d.ts +47 -0
- package/dist/core/platform/FontDefinition.d.ts.map +1 -0
- package/dist/core/platform/FontDefinition.js +59 -0
- package/dist/core/platform/FontDefinition.js.map +1 -0
- package/dist/core/platform/InputManager.d.ts +149 -0
- package/dist/core/platform/InputManager.d.ts.map +1 -0
- package/dist/core/platform/InputManager.js +558 -0
- package/dist/core/platform/InputManager.js.map +1 -0
- package/dist/core/platform/Loaders.d.ts +4 -0
- package/dist/core/platform/Loaders.d.ts.map +1 -0
- package/dist/core/platform/Loaders.js +141 -0
- package/dist/core/platform/Loaders.js.map +1 -0
- package/dist/core/platform/Macro.d.ts +634 -0
- package/dist/core/platform/Macro.d.ts.map +1 -0
- package/dist/core/platform/Macro.js +763 -0
- package/dist/core/platform/Macro.js.map +1 -0
- package/dist/core/platform/SAXParser.d.ts +44 -0
- package/dist/core/platform/SAXParser.d.ts.map +1 -0
- package/dist/core/platform/SAXParser.js +122 -0
- package/dist/core/platform/SAXParser.js.map +1 -0
- package/dist/core/platform/Types.d.ts +188 -0
- package/dist/core/platform/Types.d.ts.map +1 -0
- package/dist/core/platform/Types.js +425 -0
- package/dist/core/platform/Types.js.map +1 -0
- package/dist/core/platform/VisibleRect.d.ts +38 -0
- package/dist/core/platform/VisibleRect.d.ts.map +1 -0
- package/dist/core/platform/VisibleRect.js +66 -0
- package/dist/core/platform/VisibleRect.js.map +1 -0
- package/dist/core/platform/index.d.ts +7 -0
- package/dist/core/platform/index.d.ts.map +1 -0
- package/dist/core/platform/index.js +7 -0
- package/dist/core/platform/index.js.map +1 -0
- package/dist/core/platform/miniFramework.d.ts +28 -0
- package/dist/core/platform/miniFramework.d.ts.map +1 -0
- package/dist/core/platform/miniFramework.js +245 -0
- package/dist/core/platform/miniFramework.js.map +1 -0
- package/dist/core/platform/types/Quad2.d.ts +30 -0
- package/dist/core/platform/types/Quad2.d.ts.map +1 -0
- package/dist/core/platform/types/Quad2.js +62 -0
- package/dist/core/platform/types/Quad2.js.map +1 -0
- package/dist/core/platform/types/Quad3.d.ts +18 -0
- package/dist/core/platform/types/Quad3.d.ts.map +1 -0
- package/dist/core/platform/types/Quad3.js +30 -0
- package/dist/core/platform/types/Quad3.js.map +1 -0
- package/dist/core/platform/types/Tex2F.d.ts +20 -0
- package/dist/core/platform/types/Tex2F.d.ts.map +1 -0
- package/dist/core/platform/types/Tex2F.js +33 -0
- package/dist/core/platform/types/Tex2F.js.map +1 -0
- package/dist/core/platform/types/Vertex2F.d.ts +12 -0
- package/dist/core/platform/types/Vertex2F.d.ts.map +1 -0
- package/dist/core/platform/types/Vertex2F.js +25 -0
- package/dist/core/platform/types/Vertex2F.js.map +1 -0
- package/dist/core/platform/types/Vertex3F.d.ts +14 -0
- package/dist/core/platform/types/Vertex3F.d.ts.map +1 -0
- package/dist/core/platform/types/Vertex3F.js +31 -0
- package/dist/core/platform/types/Vertex3F.js.map +1 -0
- package/dist/core/platform/types/WebGLColor.d.ts +17 -0
- package/dist/core/platform/types/WebGLColor.d.ts.map +1 -0
- package/dist/core/platform/types/WebGLColor.js +40 -0
- package/dist/core/platform/types/WebGLColor.js.map +1 -0
- package/dist/core/renderer/GlobalVertexBuffer.d.ts +19 -0
- package/dist/core/renderer/GlobalVertexBuffer.d.ts.map +1 -0
- package/dist/core/renderer/GlobalVertexBuffer.js +99 -0
- package/dist/core/renderer/GlobalVertexBuffer.js.map +1 -0
- package/dist/core/renderer/RendererWebGL.d.ts +47 -0
- package/dist/core/renderer/RendererWebGL.d.ts.map +1 -0
- package/dist/core/renderer/RendererWebGL.js +389 -0
- package/dist/core/renderer/RendererWebGL.js.map +1 -0
- package/dist/core/scenes/Scene.d.ts +6 -0
- package/dist/core/scenes/Scene.d.ts.map +1 -0
- package/dist/core/scenes/Scene.js +12 -0
- package/dist/core/scenes/Scene.js.map +1 -0
- package/dist/core/sprites/Animation.d.ts +147 -0
- package/dist/core/sprites/Animation.d.ts.map +1 -0
- package/dist/core/sprites/Animation.js +277 -0
- package/dist/core/sprites/Animation.js.map +1 -0
- package/dist/core/sprites/AnimationCache.d.ts +37 -0
- package/dist/core/sprites/AnimationCache.d.ts.map +1 -0
- package/dist/core/sprites/AnimationCache.js +159 -0
- package/dist/core/sprites/AnimationCache.js.map +1 -0
- package/dist/core/sprites/Sprite.d.ts +104 -0
- package/dist/core/sprites/Sprite.d.ts.map +1 -0
- package/dist/core/sprites/Sprite.js +388 -0
- package/dist/core/sprites/Sprite.js.map +1 -0
- package/dist/core/sprites/SpriteBatchNode.d.ts +194 -0
- package/dist/core/sprites/SpriteBatchNode.d.ts.map +1 -0
- package/dist/core/sprites/SpriteBatchNode.js +332 -0
- package/dist/core/sprites/SpriteBatchNode.js.map +1 -0
- package/dist/core/sprites/SpriteFrame.d.ts +47 -0
- package/dist/core/sprites/SpriteFrame.d.ts.map +1 -0
- package/dist/core/sprites/SpriteFrame.js +223 -0
- package/dist/core/sprites/SpriteFrame.js.map +1 -0
- package/dist/core/sprites/SpriteFrameCache.d.ts +102 -0
- package/dist/core/sprites/SpriteFrameCache.d.ts.map +1 -0
- package/dist/core/sprites/SpriteFrameCache.js +333 -0
- package/dist/core/sprites/SpriteFrameCache.js.map +1 -0
- package/dist/core/sprites/SpriteLoadManager.d.ts +8 -0
- package/dist/core/sprites/SpriteLoadManager.d.ts.map +1 -0
- package/dist/core/sprites/SpriteLoadManager.js +37 -0
- package/dist/core/sprites/SpriteLoadManager.js.map +1 -0
- package/dist/core/sprites/SpriteWebGLRenderCmd.d.ts +35 -0
- package/dist/core/sprites/SpriteWebGLRenderCmd.d.ts.map +1 -0
- package/dist/core/sprites/SpriteWebGLRenderCmd.js +286 -0
- package/dist/core/sprites/SpriteWebGLRenderCmd.js.map +1 -0
- package/dist/core/sprites/SpritesPropertyDefine.d.ts +2 -0
- package/dist/core/sprites/SpritesPropertyDefine.d.ts.map +1 -0
- package/dist/core/sprites/SpritesPropertyDefine.js +19 -0
- package/dist/core/sprites/SpritesPropertyDefine.js.map +1 -0
- package/dist/core/support/PointExtension.d.ts +296 -0
- package/dist/core/support/PointExtension.d.ts.map +1 -0
- package/dist/core/support/PointExtension.js +443 -0
- package/dist/core/support/PointExtension.js.map +1 -0
- package/dist/core/support/Vertex.d.ts +24 -0
- package/dist/core/support/Vertex.d.ts.map +1 -0
- package/dist/core/support/Vertex.js +120 -0
- package/dist/core/support/Vertex.js.map +1 -0
- package/dist/core/utils/BinaryLoader.d.ts +9 -0
- package/dist/core/utils/BinaryLoader.d.ts.map +1 -0
- package/dist/core/utils/BinaryLoader.js +116 -0
- package/dist/core/utils/BinaryLoader.js.map +1 -0
- package/dist/core/utils/Profiler.d.ts +13 -0
- package/dist/core/utils/Profiler.d.ts.map +1 -0
- package/dist/core/utils/Profiler.js +140 -0
- package/dist/core/utils/Profiler.js.map +1 -0
- package/dist/helper/AsyncPool.d.ts +22 -0
- package/dist/helper/AsyncPool.d.ts.map +1 -0
- package/dist/helper/AsyncPool.js +101 -0
- package/dist/helper/AsyncPool.js.map +1 -0
- package/dist/helper/Base64.d.ts +29 -0
- package/dist/helper/Base64.d.ts.map +1 -0
- package/dist/helper/Base64.js +71 -0
- package/dist/helper/Base64.js.map +1 -0
- package/dist/helper/Debugger.d.ts +179 -0
- package/dist/helper/Debugger.d.ts.map +1 -0
- package/dist/helper/Debugger.js +250 -0
- package/dist/helper/Debugger.js.map +1 -0
- package/dist/helper/ZipUtils.d.ts +2 -0
- package/dist/helper/ZipUtils.d.ts.map +1 -0
- package/dist/helper/ZipUtils.js +20 -0
- package/dist/helper/ZipUtils.js.map +1 -0
- package/dist/helper/async.d.ts +49 -0
- package/dist/helper/async.d.ts.map +1 -0
- package/dist/helper/async.js +95 -0
- package/dist/helper/async.js.map +1 -0
- package/dist/helper/checkType.d.ts +8 -0
- package/dist/helper/checkType.d.ts.map +1 -0
- package/dist/helper/checkType.js +31 -0
- package/dist/helper/checkType.js.map +1 -0
- package/dist/helper/engine.d.ts +6 -0
- package/dist/helper/engine.d.ts.map +1 -0
- package/dist/helper/engine.js +115 -0
- package/dist/helper/engine.js.map +1 -0
- package/dist/helper/getset.d.ts +2 -0
- package/dist/helper/getset.d.ts.map +1 -0
- package/dist/helper/getset.js +51 -0
- package/dist/helper/getset.js.map +1 -0
- package/dist/helper/global.d.ts +6 -0
- package/dist/helper/global.d.ts.map +1 -0
- package/dist/helper/global.js +6 -0
- package/dist/helper/global.js.map +1 -0
- package/dist/helper/index.d.ts +3 -0
- package/dist/helper/index.d.ts.map +1 -0
- package/dist/helper/index.js +3 -0
- package/dist/helper/index.js.map +1 -0
- package/dist/helper/loader.d.ts +102 -0
- package/dist/helper/loader.d.ts.map +1 -0
- package/dist/helper/loader.js +447 -0
- package/dist/helper/loader.js.map +1 -0
- package/dist/helper/path.d.ts +12 -0
- package/dist/helper/path.d.ts.map +1 -0
- package/dist/helper/path.js +75 -0
- package/dist/helper/path.js.map +1 -0
- package/dist/helper/string.d.ts +2 -0
- package/dist/helper/string.d.ts.map +1 -0
- package/dist/helper/string.js +32 -0
- package/dist/helper/string.js.map +1 -0
- package/dist/helper/sys.d.ts +446 -0
- package/dist/helper/sys.d.ts.map +1 -0
- package/dist/helper/sys.js +691 -0
- package/dist/helper/sys.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/motion-streak/MotionStreak.d.ts +56 -0
- package/dist/motion-streak/MotionStreak.d.ts.map +1 -0
- package/dist/motion-streak/MotionStreak.js +301 -0
- package/dist/motion-streak/MotionStreak.js.map +1 -0
- package/dist/motion-streak/MotionStreakWebGLRenderCmd.d.ts +9 -0
- package/dist/motion-streak/MotionStreakWebGLRenderCmd.d.ts.map +1 -0
- package/dist/motion-streak/MotionStreakWebGLRenderCmd.js +52 -0
- package/dist/motion-streak/MotionStreakWebGLRenderCmd.js.map +1 -0
- package/dist/motion-streak/index.d.ts +2 -0
- package/dist/motion-streak/index.d.ts.map +1 -0
- package/dist/motion-streak/index.js +2 -0
- package/dist/motion-streak/index.js.map +1 -0
- package/dist/particle/PNGReader.d.ts +30 -0
- package/dist/particle/PNGReader.d.ts.map +1 -0
- package/dist/particle/PNGReader.js +304 -0
- package/dist/particle/PNGReader.js.map +1 -0
- package/dist/particle/Particle.d.ts +27 -0
- package/dist/particle/Particle.d.ts.map +1 -0
- package/dist/particle/Particle.js +50 -0
- package/dist/particle/Particle.js.map +1 -0
- package/dist/particle/ParticleBatchNode.d.ts +163 -0
- package/dist/particle/ParticleBatchNode.d.ts.map +1 -0
- package/dist/particle/ParticleBatchNode.js +447 -0
- package/dist/particle/ParticleBatchNode.js.map +1 -0
- package/dist/particle/ParticleBatchNodeWebGLRenderCmd.d.ts +8 -0
- package/dist/particle/ParticleBatchNodeWebGLRenderCmd.d.ts.map +1 -0
- package/dist/particle/ParticleBatchNodeWebGLRenderCmd.js +33 -0
- package/dist/particle/ParticleBatchNodeWebGLRenderCmd.js.map +1 -0
- package/dist/particle/ParticleSystem.d.ts +941 -0
- package/dist/particle/ParticleSystem.d.ts.map +1 -0
- package/dist/particle/ParticleSystem.js +2017 -0
- package/dist/particle/ParticleSystem.js.map +1 -0
- package/dist/particle/ParticleSystemWebGLRenderCmd.d.ts +29 -0
- package/dist/particle/ParticleSystemWebGLRenderCmd.d.ts.map +1 -0
- package/dist/particle/ParticleSystemWebGLRenderCmd.js +346 -0
- package/dist/particle/ParticleSystemWebGLRenderCmd.js.map +1 -0
- package/dist/particle/TIFFReader.d.ts +138 -0
- package/dist/particle/TIFFReader.d.ts.map +1 -0
- package/dist/particle/TIFFReader.js +596 -0
- package/dist/particle/TIFFReader.js.map +1 -0
- package/dist/particle/examples/ParticleFire.d.ts +60 -0
- package/dist/particle/examples/ParticleFire.d.ts.map +1 -0
- package/dist/particle/examples/ParticleFire.js +188 -0
- package/dist/particle/examples/ParticleFire.js.map +1 -0
- package/dist/particle/examples/ParticleGalaxy.d.ts +60 -0
- package/dist/particle/examples/ParticleGalaxy.d.ts.map +1 -0
- package/dist/particle/examples/ParticleGalaxy.js +199 -0
- package/dist/particle/examples/ParticleGalaxy.js.map +1 -0
- package/dist/particle/examples/ParticleSmoke.d.ts +60 -0
- package/dist/particle/examples/ParticleSmoke.d.ts.map +1 -0
- package/dist/particle/examples/ParticleSmoke.js +195 -0
- package/dist/particle/examples/ParticleSmoke.js.map +1 -0
- package/dist/particle/examples/ParticleSpiral.d.ts +38 -0
- package/dist/particle/examples/ParticleSpiral.d.ts.map +1 -0
- package/dist/particle/examples/ParticleSpiral.js +130 -0
- package/dist/particle/examples/ParticleSpiral.js.map +1 -0
- package/dist/particle/examples/index.d.ts +5 -0
- package/dist/particle/examples/index.d.ts.map +1 -0
- package/dist/particle/examples/index.js +5 -0
- package/dist/particle/examples/index.js.map +1 -0
- package/dist/particle/index.d.ts +2 -0
- package/dist/particle/index.d.ts.map +1 -0
- package/dist/particle/index.js +2 -0
- package/dist/particle/index.js.map +1 -0
- package/dist/polyfills.d.ts +34 -0
- package/dist/polyfills.d.ts.map +1 -0
- package/dist/polyfills.js +102 -0
- package/dist/polyfills.js.map +1 -0
- package/dist/progress-timer/ActionProgressTimer.d.ts +118 -0
- package/dist/progress-timer/ActionProgressTimer.d.ts.map +1 -0
- package/dist/progress-timer/ActionProgressTimer.js +173 -0
- package/dist/progress-timer/ActionProgressTimer.js.map +1 -0
- package/dist/progress-timer/ProgressTimer.d.ts +143 -0
- package/dist/progress-timer/ProgressTimer.d.ts.map +1 -0
- package/dist/progress-timer/ProgressTimer.js +228 -0
- package/dist/progress-timer/ProgressTimer.js.map +1 -0
- package/dist/progress-timer/ProgressTimerWebGLRenderCmd.d.ts +56 -0
- package/dist/progress-timer/ProgressTimerWebGLRenderCmd.d.ts.map +1 -0
- package/dist/progress-timer/ProgressTimerWebGLRenderCmd.js +445 -0
- package/dist/progress-timer/ProgressTimerWebGLRenderCmd.js.map +1 -0
- package/dist/progress-timer/index.d.ts +3 -0
- package/dist/progress-timer/index.d.ts.map +1 -0
- package/dist/progress-timer/index.js +3 -0
- package/dist/progress-timer/index.js.map +1 -0
- package/dist/render-texture/RenderTexture.d.ts +226 -0
- package/dist/render-texture/RenderTexture.d.ts.map +1 -0
- package/dist/render-texture/RenderTexture.js +332 -0
- package/dist/render-texture/RenderTexture.js.map +1 -0
- package/dist/render-texture/RenderTextureWebGLRenderCmd.d.ts +28 -0
- package/dist/render-texture/RenderTextureWebGLRenderCmd.d.ts.map +1 -0
- package/dist/render-texture/RenderTextureWebGLRenderCmd.js +276 -0
- package/dist/render-texture/RenderTextureWebGLRenderCmd.js.map +1 -0
- package/dist/render-texture/index.d.ts +2 -0
- package/dist/render-texture/index.d.ts.map +1 -0
- package/dist/render-texture/index.js +2 -0
- package/dist/render-texture/index.js.map +1 -0
- package/dist/shaders/GLProgram.d.ts +288 -0
- package/dist/shaders/GLProgram.d.ts.map +1 -0
- package/dist/shaders/GLProgram.js +794 -0
- package/dist/shaders/GLProgram.js.map +1 -0
- package/dist/shaders/GLProgramState.d.ts +58 -0
- package/dist/shaders/GLProgramState.d.ts.map +1 -0
- package/dist/shaders/GLProgramState.js +255 -0
- package/dist/shaders/GLProgramState.js.map +1 -0
- package/dist/shaders/GLStateCache.d.ts +97 -0
- package/dist/shaders/GLStateCache.d.ts.map +1 -0
- package/dist/shaders/GLStateCache.js +255 -0
- package/dist/shaders/GLStateCache.js.map +1 -0
- package/dist/shaders/ShaderCache.d.ts +111 -0
- package/dist/shaders/ShaderCache.d.ts.map +1 -0
- package/dist/shaders/ShaderCache.js +273 -0
- package/dist/shaders/ShaderCache.js.map +1 -0
- package/dist/shaders/Shaders.d.ts +84 -0
- package/dist/shaders/Shaders.d.ts.map +1 -0
- package/dist/shaders/Shaders.js +250 -0
- package/dist/shaders/Shaders.js.map +1 -0
- package/dist/shaders/index.d.ts +5 -0
- package/dist/shaders/index.d.ts.map +1 -0
- package/dist/shaders/index.js +5 -0
- package/dist/shaders/index.js.map +1 -0
- package/dist/shape-nodes/DrawNode.d.ts +61 -0
- package/dist/shape-nodes/DrawNode.d.ts.map +1 -0
- package/dist/shape-nodes/DrawNode.js +597 -0
- package/dist/shape-nodes/DrawNode.js.map +1 -0
- package/dist/shape-nodes/DrawNodeWebGLRenderCmd.d.ts +11 -0
- package/dist/shape-nodes/DrawNodeWebGLRenderCmd.d.ts.map +1 -0
- package/dist/shape-nodes/DrawNodeWebGLRenderCmd.js +27 -0
- package/dist/shape-nodes/DrawNodeWebGLRenderCmd.js.map +1 -0
- package/dist/text-input/IMEDispatcher.d.ts +180 -0
- package/dist/text-input/IMEDispatcher.d.ts.map +1 -0
- package/dist/text-input/IMEDispatcher.js +454 -0
- package/dist/text-input/IMEDispatcher.js.map +1 -0
- package/dist/text-input/TextFieldTTF.d.ts +219 -0
- package/dist/text-input/TextFieldTTF.d.ts.map +1 -0
- package/dist/text-input/TextFieldTTF.js +381 -0
- package/dist/text-input/TextFieldTTF.js.map +1 -0
- package/dist/textures/Texture2D.d.ts +10 -0
- package/dist/textures/Texture2D.d.ts.map +1 -0
- package/dist/textures/Texture2D.js +10 -0
- package/dist/textures/Texture2D.js.map +1 -0
- package/dist/textures/TextureAtlas.d.ts +204 -0
- package/dist/textures/TextureAtlas.d.ts.map +1 -0
- package/dist/textures/TextureAtlas.js +602 -0
- package/dist/textures/TextureAtlas.js.map +1 -0
- package/dist/textures/TextureCache.d.ts +147 -0
- package/dist/textures/TextureCache.d.ts.map +1 -0
- package/dist/textures/TextureCache.js +327 -0
- package/dist/textures/TextureCache.js.map +1 -0
- package/dist/textures/TexturesPropertyDefine.d.ts +2 -0
- package/dist/textures/TexturesPropertyDefine.d.ts.map +1 -0
- package/dist/textures/TexturesPropertyDefine.js +39 -0
- package/dist/textures/TexturesPropertyDefine.js.map +1 -0
- package/dist/textures/TexturesWebGL.d.ts +349 -0
- package/dist/textures/TexturesWebGL.d.ts.map +1 -0
- package/dist/textures/TexturesWebGL.js +765 -0
- package/dist/textures/TexturesWebGL.js.map +1 -0
- package/dist/textures/WebGLTextureCache.d.ts +2 -0
- package/dist/textures/WebGLTextureCache.d.ts.map +1 -0
- package/dist/textures/WebGLTextureCache.js +79 -0
- package/dist/textures/WebGLTextureCache.js.map +1 -0
- package/dist/textures/index.d.ts +3 -0
- package/dist/textures/index.d.ts.map +1 -0
- package/dist/textures/index.js +3 -0
- package/dist/textures/index.js.map +1 -0
- package/dist/tilemap/TGAlib.d.ts +103 -0
- package/dist/tilemap/TGAlib.d.ts.map +1 -0
- package/dist/tilemap/TGAlib.js +338 -0
- package/dist/tilemap/TGAlib.js.map +1 -0
- package/dist/tilemap/TMXLayer.d.ts +225 -0
- package/dist/tilemap/TMXLayer.d.ts.map +1 -0
- package/dist/tilemap/TMXLayer.js +694 -0
- package/dist/tilemap/TMXLayer.js.map +1 -0
- package/dist/tilemap/TMXLayerInfo.d.ts +42 -0
- package/dist/tilemap/TMXLayerInfo.d.ts.map +1 -0
- package/dist/tilemap/TMXLayerInfo.js +57 -0
- package/dist/tilemap/TMXLayerInfo.js.map +1 -0
- package/dist/tilemap/TMXLayerWebGLRenderCmd.d.ts +17 -0
- package/dist/tilemap/TMXLayerWebGLRenderCmd.d.ts.map +1 -0
- package/dist/tilemap/TMXLayerWebGLRenderCmd.js +209 -0
- package/dist/tilemap/TMXLayerWebGLRenderCmd.js.map +1 -0
- package/dist/tilemap/TMXMapInfo.d.ts +210 -0
- package/dist/tilemap/TMXMapInfo.d.ts.map +1 -0
- package/dist/tilemap/TMXMapInfo.js +614 -0
- package/dist/tilemap/TMXMapInfo.js.map +1 -0
- package/dist/tilemap/TMXObjectGroup.d.ts +70 -0
- package/dist/tilemap/TMXObjectGroup.d.ts.map +1 -0
- package/dist/tilemap/TMXObjectGroup.js +106 -0
- package/dist/tilemap/TMXObjectGroup.js.map +1 -0
- package/dist/tilemap/TMXTiledMap.d.ts +163 -0
- package/dist/tilemap/TMXTiledMap.d.ts.map +1 -0
- package/dist/tilemap/TMXTiledMap.js +347 -0
- package/dist/tilemap/TMXTiledMap.js.map +1 -0
- package/dist/tilemap/TMXTilesetInfo.d.ts +38 -0
- package/dist/tilemap/TMXTilesetInfo.d.ts.map +1 -0
- package/dist/tilemap/TMXTilesetInfo.js +59 -0
- package/dist/tilemap/TMXTilesetInfo.js.map +1 -0
- package/dist/tilemap/TMXXMLParser.d.ts +52 -0
- package/dist/tilemap/TMXXMLParser.d.ts.map +1 -0
- package/dist/tilemap/TMXXMLParser.js +52 -0
- package/dist/tilemap/TMXXMLParser.js.map +1 -0
- package/dist/tilemap/index.d.ts +4 -0
- package/dist/tilemap/index.d.ts.map +1 -0
- package/dist/tilemap/index.js +4 -0
- package/dist/tilemap/index.js.map +1 -0
- package/dist/ui/base/FocusNavigationController.d.ts +12 -0
- package/dist/ui/base/FocusNavigationController.d.ts.map +1 -0
- package/dist/ui/base/FocusNavigationController.js +54 -0
- package/dist/ui/base/FocusNavigationController.js.map +1 -0
- package/dist/ui/base/ProtectedNode.d.ts +66 -0
- package/dist/ui/base/ProtectedNode.d.ts.map +1 -0
- package/dist/ui/base/ProtectedNode.js +248 -0
- package/dist/ui/base/ProtectedNode.js.map +1 -0
- package/dist/ui/base/ProtectedNodeWebGLRenderCmd.d.ts +13 -0
- package/dist/ui/base/ProtectedNodeWebGLRenderCmd.d.ts.map +1 -0
- package/dist/ui/base/ProtectedNodeWebGLRenderCmd.js +136 -0
- package/dist/ui/base/ProtectedNodeWebGLRenderCmd.js.map +1 -0
- package/dist/ui/base/UIHelper.d.ts +48 -0
- package/dist/ui/base/UIHelper.d.ts.map +1 -0
- package/dist/ui/base/UIHelper.js +128 -0
- package/dist/ui/base/UIHelper.js.map +1 -0
- package/dist/ui/base/UIScale9Sprite.d.ts +224 -0
- package/dist/ui/base/UIScale9Sprite.d.ts.map +1 -0
- package/dist/ui/base/UIScale9Sprite.js +825 -0
- package/dist/ui/base/UIScale9Sprite.js.map +1 -0
- package/dist/ui/base/UIScale9SpriteWebGLRenderCmd.d.ts +15 -0
- package/dist/ui/base/UIScale9SpriteWebGLRenderCmd.d.ts.map +1 -0
- package/dist/ui/base/UIScale9SpriteWebGLRenderCmd.js +119 -0
- package/dist/ui/base/UIScale9SpriteWebGLRenderCmd.js.map +1 -0
- package/dist/ui/base/UIWidget.d.ts +794 -0
- package/dist/ui/base/UIWidget.d.ts.map +1 -0
- package/dist/ui/base/UIWidget.js +1634 -0
- package/dist/ui/base/UIWidget.js.map +1 -0
- package/dist/ui/base/UIWidgetRenderCmd.d.ts +9 -0
- package/dist/ui/base/UIWidgetRenderCmd.d.ts.map +1 -0
- package/dist/ui/base/UIWidgetRenderCmd.js +41 -0
- package/dist/ui/base/UIWidgetRenderCmd.js.map +1 -0
- package/dist/ui/index.d.ts +9 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +9 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/layout/UILayout.d.ts +486 -0
- package/dist/ui/layout/UILayout.d.ts.map +1 -0
- package/dist/ui/layout/UILayout.js +1430 -0
- package/dist/ui/layout/UILayout.js.map +1 -0
- package/dist/ui/layout/UILayoutParameter.d.ts +344 -0
- package/dist/ui/layout/UILayoutParameter.d.ts.map +1 -0
- package/dist/ui/layout/UILayoutParameter.js +444 -0
- package/dist/ui/layout/UILayoutParameter.js.map +1 -0
- package/dist/ui/layout/UILayoutWebGLRenderCmd.d.ts +30 -0
- package/dist/ui/layout/UILayoutWebGLRenderCmd.d.ts.map +1 -0
- package/dist/ui/layout/UILayoutWebGLRenderCmd.js +136 -0
- package/dist/ui/layout/UILayoutWebGLRenderCmd.js.map +1 -0
- package/dist/ui/layout/constant.d.ts +30 -0
- package/dist/ui/layout/constant.d.ts.map +1 -0
- package/dist/ui/layout/constant.js +31 -0
- package/dist/ui/layout/constant.js.map +1 -0
- package/dist/ui/widget/UIButton.d.ts +248 -0
- package/dist/ui/widget/UIButton.d.ts.map +1 -0
- package/dist/ui/widget/UIButton.js +727 -0
- package/dist/ui/widget/UIButton.js.map +1 -0
- package/dist/ui/widget/UIRichText.d.ts +216 -0
- package/dist/ui/widget/UIRichText.d.ts.map +1 -0
- package/dist/ui/widget/UIRichText.js +549 -0
- package/dist/ui/widget/UIRichText.js.map +1 -0
- package/dist/ui/widget/UIScrollView.d.ts +547 -0
- package/dist/ui/widget/UIScrollView.d.ts.map +1 -0
- package/dist/ui/widget/UIScrollView.js +1544 -0
- package/dist/ui/widget/UIScrollView.js.map +1 -0
- package/dist/ui/widget/UIScrollViewBar.d.ts +101 -0
- package/dist/ui/widget/UIScrollViewBar.d.ts.map +1 -0
- package/dist/ui/widget/UIScrollViewBar.js +277 -0
- package/dist/ui/widget/UIScrollViewBar.js.map +1 -0
- package/dist/ui/widget/UIScrollViewWebGLRenderCmd.d.ts +10 -0
- package/dist/ui/widget/UIScrollViewWebGLRenderCmd.d.ts.map +1 -0
- package/dist/ui/widget/UIScrollViewWebGLRenderCmd.js +42 -0
- package/dist/ui/widget/UIScrollViewWebGLRenderCmd.js.map +1 -0
- package/dist/ui/widget/UISlider.d.ts +229 -0
- package/dist/ui/widget/UISlider.d.ts.map +1 -0
- package/dist/ui/widget/UISlider.js +667 -0
- package/dist/ui/widget/UISlider.js.map +1 -0
- package/dist/ui/widget/UIText.d.ts +90 -0
- package/dist/ui/widget/UIText.d.ts.map +1 -0
- package/dist/ui/widget/UIText.js +325 -0
- package/dist/ui/widget/UIText.js.map +1 -0
- package/dist/ui/widget/UITextField.d.ts +282 -0
- package/dist/ui/widget/UITextField.d.ts.map +1 -0
- package/dist/ui/widget/UITextField.js +549 -0
- package/dist/ui/widget/UITextField.js.map +1 -0
- package/dist/ui/widget/UITextFieldRenderer.d.ts +41 -0
- package/dist/ui/widget/UITextFieldRenderer.d.ts.map +1 -0
- package/dist/ui/widget/UITextFieldRenderer.js +150 -0
- package/dist/ui/widget/UITextFieldRenderer.js.map +1 -0
- package/eslint.config.ts +59 -0
- package/index.html +22 -0
- package/package.json +38 -0
- package/res/Button.mp3 +0 -0
- package/res/SmallSun.plist +108 -0
- package/res/Spiral.plist +102 -0
- package/res/base.png +0 -0
- package/res/button.png +0 -0
- package/res/button_plus.png +0 -0
- package/res/ortho-test1.png +0 -0
- package/res/orthogonal-test1.tmx +9 -0
- package/res/orthogonal-test1.tsx +4 -0
- package/res/particle.png +0 -0
- package/res/sliderThumb.png +0 -0
- package/res/sliderTrack.png +0 -0
- package/res/streak.png +0 -0
- package/res/ui.plist +578 -0
- package/res/ui.png +0 -0
- package/res/vite.svg +1 -0
- package/test/ActionScene.ts +15 -0
- package/test/DemoScene.ts +108 -0
- package/test/GraphicsTest.ts +17 -0
- package/test/ParticleScene.ts +24 -0
- package/test/TiledMapScene.ts +14 -0
- package/test/index.ts +28 -0
- package/vite.config.ts +13 -0
|
@@ -0,0 +1,794 @@
|
|
|
1
|
+
import { Size } from '../../core/cocoa/Geometry';
|
|
2
|
+
import { ProtectedNode } from './ProtectedNode';
|
|
3
|
+
import { WidgetWebGLRenderCmd } from './UIWidgetRenderCmd';
|
|
4
|
+
export declare const __LAYOUT_COMPONENT_NAME = "__ui_layout";
|
|
5
|
+
export declare class Widget extends ProtectedNode {
|
|
6
|
+
_enabled: boolean;
|
|
7
|
+
_bright: boolean;
|
|
8
|
+
_touchEnabled: boolean;
|
|
9
|
+
_brightStyle: any;
|
|
10
|
+
_touchBeganPosition: any;
|
|
11
|
+
_touchMovePosition: any;
|
|
12
|
+
_touchEndPosition: any;
|
|
13
|
+
_touchEventListener: any;
|
|
14
|
+
_touchEventSelector: any;
|
|
15
|
+
_name: string;
|
|
16
|
+
_widgetType: any;
|
|
17
|
+
_actionTag: number;
|
|
18
|
+
_customSize: any;
|
|
19
|
+
_layoutParameterDictionary: any;
|
|
20
|
+
_layoutParameterType: number;
|
|
21
|
+
_focused: boolean;
|
|
22
|
+
_focusEnabled: boolean;
|
|
23
|
+
_ignoreSize: boolean;
|
|
24
|
+
_affectByClipping: boolean;
|
|
25
|
+
_sizeType: any;
|
|
26
|
+
_sizePercent: any;
|
|
27
|
+
_positionType: any;
|
|
28
|
+
_positionPercent: any;
|
|
29
|
+
_hit: boolean;
|
|
30
|
+
_nodes: any;
|
|
31
|
+
_touchListener: any;
|
|
32
|
+
_className: string;
|
|
33
|
+
_flippedX: boolean;
|
|
34
|
+
_flippedY: boolean;
|
|
35
|
+
_opacity: number;
|
|
36
|
+
_highlight: boolean;
|
|
37
|
+
_touchEventCallback: any;
|
|
38
|
+
_clickEventListener: any;
|
|
39
|
+
_propagateTouchEvents: boolean;
|
|
40
|
+
_unifySize: boolean;
|
|
41
|
+
_callbackName: any;
|
|
42
|
+
_callbackType: any;
|
|
43
|
+
_inViewRect: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* <p>
|
|
46
|
+
* When a widget lose/get focus, this method will be called. Be Caution when you provide your own version, <br/>
|
|
47
|
+
* you must call widget.setFocused(true/false) to change the focus state of the current focused widget;
|
|
48
|
+
* </p>
|
|
49
|
+
*/
|
|
50
|
+
onFocusChanged: any;
|
|
51
|
+
/**
|
|
52
|
+
* use this function to manually specify the next focused widget regards to each direction
|
|
53
|
+
*/
|
|
54
|
+
onNextFocusedWidget: any;
|
|
55
|
+
_sizeDirty: any;
|
|
56
|
+
/**
|
|
57
|
+
* Constructor function, override it to extend the construction behavior, remember to call "this._super()" in the extended "ctor" function.
|
|
58
|
+
* @function
|
|
59
|
+
*/
|
|
60
|
+
constructor();
|
|
61
|
+
/**
|
|
62
|
+
* initializes state of widget. please do not call this function by yourself, you should pass the parameters to constructor to initialize it.
|
|
63
|
+
* @returns {boolean}
|
|
64
|
+
*/
|
|
65
|
+
init(): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Calls updateSizeAndPosition and its parent's onEnter
|
|
68
|
+
* @override
|
|
69
|
+
*/
|
|
70
|
+
onEnter(): void;
|
|
71
|
+
/**
|
|
72
|
+
* Calls unscheduleUpdate and its parent's onExit
|
|
73
|
+
* @override
|
|
74
|
+
*/
|
|
75
|
+
onExit(): void;
|
|
76
|
+
/**
|
|
77
|
+
* The direct parent when it's a widget also, otherwise equals null
|
|
78
|
+
* @returns {Widget|null}
|
|
79
|
+
*/
|
|
80
|
+
getWidgetParent(): Widget;
|
|
81
|
+
_updateContentSizeWithTextureSize(size: any): void;
|
|
82
|
+
_isAncestorsEnabled(): any;
|
|
83
|
+
/**
|
|
84
|
+
* Allow widget touch events to propagate to its parents. Set false will disable propagation
|
|
85
|
+
* @since v3.2
|
|
86
|
+
* @param {Boolean} isPropagate
|
|
87
|
+
*/
|
|
88
|
+
setPropagateTouchEvents(isPropagate: any): void;
|
|
89
|
+
/**
|
|
90
|
+
* Return whether the widget is propagate touch events to its parents or not
|
|
91
|
+
* @since v3.2
|
|
92
|
+
* @returns {boolean}
|
|
93
|
+
*/
|
|
94
|
+
isPropagateTouchEvents(): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Specify widget to swallow touches or not
|
|
97
|
+
* @since v3.2
|
|
98
|
+
* @param {Boolean} swallow
|
|
99
|
+
*/
|
|
100
|
+
setSwallowTouches(swallow: any): void;
|
|
101
|
+
/**
|
|
102
|
+
* Return whether the widget is swallowing touch or not
|
|
103
|
+
* @since v3.2
|
|
104
|
+
* @returns {boolean}
|
|
105
|
+
*/
|
|
106
|
+
isSwallowTouches(): any;
|
|
107
|
+
_getAncensterWidget(node: any): any;
|
|
108
|
+
_isAncestorsVisible(node: any): any;
|
|
109
|
+
/**
|
|
110
|
+
* <p>
|
|
111
|
+
* Sets whether the widget is enabled <br/>
|
|
112
|
+
* true if the widget is enabled, widget may be touched , false if the widget is disabled, widget cannot be touched. <br/>
|
|
113
|
+
* The default value is true, a widget is default to enabled
|
|
114
|
+
* </p>
|
|
115
|
+
* @param {Boolean} enabled
|
|
116
|
+
*/
|
|
117
|
+
setEnabled(enabled: any): void;
|
|
118
|
+
/**
|
|
119
|
+
* initializes renderer of widget.
|
|
120
|
+
*/
|
|
121
|
+
_initRenderer(): void;
|
|
122
|
+
/**
|
|
123
|
+
* Sets _customSize of Widget, if ignoreSize is true, the content size is its renderer's contentSize, otherwise the content size is parameter.
|
|
124
|
+
* and updates size percent by parent content size. At last, updates its children's size and position.
|
|
125
|
+
* @param {Size|Number} contentSize content size or width of content size
|
|
126
|
+
* @param {Number} [height]
|
|
127
|
+
* @override
|
|
128
|
+
*/
|
|
129
|
+
setContentSize(contentSize: Size | number, height?: any): void;
|
|
130
|
+
_setWidth(w: any): void;
|
|
131
|
+
_setHeight(h: any): void;
|
|
132
|
+
/**
|
|
133
|
+
* Changes the percent that is widget's percent size
|
|
134
|
+
* @param {Point} percent that is widget's percent size, width and height value from 0 to 1.
|
|
135
|
+
*/
|
|
136
|
+
setSizePercent(percent: any): void;
|
|
137
|
+
_setWidthPercent(percent: any): void;
|
|
138
|
+
_setHeightPercent(percent: any): void;
|
|
139
|
+
/**
|
|
140
|
+
* updates its size by size type and its position by position type.
|
|
141
|
+
* @param {Size} [parentSize] parent size
|
|
142
|
+
*/
|
|
143
|
+
updateSizeAndPosition(parentSize?: any): void;
|
|
144
|
+
/**TEXTURE_RES_TYPE
|
|
145
|
+
* Changes the size type of widget.
|
|
146
|
+
* @param {Widget.SIZE_ABSOLUTE|Widget.SIZE_PERCENT} type that is widget's size type
|
|
147
|
+
*/
|
|
148
|
+
setSizeType(type: any): void;
|
|
149
|
+
/**
|
|
150
|
+
* Gets the size type of widget.
|
|
151
|
+
* @returns {Widget.SIZE_ABSOLUTE|Widget.SIZE_PERCENT} that is widget's size type
|
|
152
|
+
*/
|
|
153
|
+
getSizeType(): any;
|
|
154
|
+
/**
|
|
155
|
+
* Ignore the widget size
|
|
156
|
+
* @param {Boolean} ignore true that widget will ignore it's size, use texture size, false otherwise. Default value is true.
|
|
157
|
+
*/
|
|
158
|
+
ignoreContentAdaptWithSize(ignore: any): void;
|
|
159
|
+
/**
|
|
160
|
+
* Gets whether ignore the content size (custom size)
|
|
161
|
+
* @returns {boolean} true that widget will ignore it's size, use texture size, false otherwise.
|
|
162
|
+
*/
|
|
163
|
+
isIgnoreContentAdaptWithSize(): boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Get custom size of Widget
|
|
166
|
+
* @returns {Size}
|
|
167
|
+
*/
|
|
168
|
+
getCustomSize(): import("../..")._Size;
|
|
169
|
+
/**
|
|
170
|
+
* Gets layout size of Widget.
|
|
171
|
+
* @returns {Size}
|
|
172
|
+
*/
|
|
173
|
+
getLayoutSize(): import("../..")._Size;
|
|
174
|
+
/**
|
|
175
|
+
* Returns size percent of Widget
|
|
176
|
+
* @returns {Point}
|
|
177
|
+
*/
|
|
178
|
+
getSizePercent(): any;
|
|
179
|
+
_getWidthPercent(): any;
|
|
180
|
+
_getHeightPercent(): any;
|
|
181
|
+
/**
|
|
182
|
+
* Gets world position of Widget.
|
|
183
|
+
* @returns {Point} world position of Widget.
|
|
184
|
+
*/
|
|
185
|
+
getWorldPosition(): {
|
|
186
|
+
x: any;
|
|
187
|
+
y: any;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Gets the Virtual Renderer of widget.
|
|
191
|
+
* @returns {Widget}
|
|
192
|
+
*/
|
|
193
|
+
getVirtualRenderer(): this;
|
|
194
|
+
/**
|
|
195
|
+
* Gets the content size of widget. Content size is widget's texture size.
|
|
196
|
+
*/
|
|
197
|
+
getVirtualRendererSize(): import("../..")._Size;
|
|
198
|
+
/**
|
|
199
|
+
* call back function called when size changed.
|
|
200
|
+
*/
|
|
201
|
+
_onSizeChanged(): void;
|
|
202
|
+
/**
|
|
203
|
+
* Sets whether the widget is touch enabled. The default value is false, a widget is default to touch disabled
|
|
204
|
+
* @param {Boolean} enable true if the widget is touch enabled, false if the widget is touch disabled.
|
|
205
|
+
*/
|
|
206
|
+
setTouchEnabled(enable: any): void;
|
|
207
|
+
/**
|
|
208
|
+
* Returns whether or not touch is enabled.
|
|
209
|
+
* @returns {boolean} true if the widget is touch enabled, false if the widget is touch disabled.
|
|
210
|
+
*/
|
|
211
|
+
isTouchEnabled(): boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Determines if the widget is highlighted
|
|
214
|
+
* @returns {boolean} true if the widget is highlighted, false if the widget is not highlighted .
|
|
215
|
+
*/
|
|
216
|
+
isHighlighted(): boolean;
|
|
217
|
+
/**
|
|
218
|
+
* Sets whether the widget is highlighted. The default value is false, a widget is default to not highlighted
|
|
219
|
+
* @param highlight true if the widget is highlighted, false if the widget is not highlighted.
|
|
220
|
+
*/
|
|
221
|
+
setHighlighted(highlight: any): void;
|
|
222
|
+
/**
|
|
223
|
+
* Determines if the widget is on focused
|
|
224
|
+
* @returns {boolean} whether the widget is focused or not
|
|
225
|
+
*/
|
|
226
|
+
isFocused(): boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Sets whether the widget is on focused
|
|
229
|
+
* The default value is false, a widget is default to not on focused
|
|
230
|
+
* @param {boolean} focus pass true to let the widget get focus or pass false to let the widget lose focus
|
|
231
|
+
*/
|
|
232
|
+
setFocused(focus: any): void;
|
|
233
|
+
/**
|
|
234
|
+
* returns whether the widget could accept focus.
|
|
235
|
+
* @returns {boolean} true represent the widget could accept focus, false represent the widget couldn't accept focus
|
|
236
|
+
*/
|
|
237
|
+
isFocusEnabled(): boolean;
|
|
238
|
+
/**
|
|
239
|
+
* sets whether the widget could accept focus.
|
|
240
|
+
* @param {Boolean} enable true represent the widget could accept focus, false represent the widget couldn't accept focus
|
|
241
|
+
*/
|
|
242
|
+
setFocusEnabled(enable: any): void;
|
|
243
|
+
/**
|
|
244
|
+
* <p>
|
|
245
|
+
* When a widget is in a layout, you could call this method to get the next focused widget within a specified direction. <br/>
|
|
246
|
+
* If the widget is not in a layout, it will return itself
|
|
247
|
+
* </p>
|
|
248
|
+
* @param direction the direction to look for the next focused widget in a layout
|
|
249
|
+
* @param current the current focused widget
|
|
250
|
+
* @return the next focused widget in a layout
|
|
251
|
+
*/
|
|
252
|
+
findNextFocusedWidget(direction: any, current: any): any;
|
|
253
|
+
/**
|
|
254
|
+
* when a widget calls this method, it will get focus immediately.
|
|
255
|
+
*/
|
|
256
|
+
requestFocus(): void;
|
|
257
|
+
/**
|
|
258
|
+
* no matter what widget object you call this method on , it will return you the exact one focused widget
|
|
259
|
+
*/
|
|
260
|
+
getCurrentFocusedWidget(): any;
|
|
261
|
+
/**
|
|
262
|
+
* Sends the touch event to widget's parent, its subclass will override it, e.g. ScrollView, PageView
|
|
263
|
+
* @param {Number} eventType
|
|
264
|
+
* @param {Widget} sender
|
|
265
|
+
* @param {Touch} touch
|
|
266
|
+
*/
|
|
267
|
+
interceptTouchEvent(eventType: any, sender: any, touch: any): void;
|
|
268
|
+
/**
|
|
269
|
+
* This method is called when a focus change event happens
|
|
270
|
+
* @param {Widget} widgetLostFocus
|
|
271
|
+
* @param {Widget} widgetGetFocus
|
|
272
|
+
*/
|
|
273
|
+
onFocusChange(widgetLostFocus: any, widgetGetFocus: any): void;
|
|
274
|
+
/**
|
|
275
|
+
* Dispatch a EventFocus through a EventDispatcher
|
|
276
|
+
* @param {Widget} widgetLostFocus
|
|
277
|
+
* @param {Widget} widgetGetFocus
|
|
278
|
+
*/
|
|
279
|
+
dispatchFocusEvent(widgetLostFocus: any, widgetGetFocus: any): void;
|
|
280
|
+
/**
|
|
281
|
+
* Sets whether the widget is bright. The default value is true, a widget is default to bright
|
|
282
|
+
* @param {Boolean} bright true if the widget is bright, false if the widget is dark.
|
|
283
|
+
*/
|
|
284
|
+
setBright(bright: any): void;
|
|
285
|
+
/**
|
|
286
|
+
* To set the bright style of Widget.
|
|
287
|
+
* @param {Number} style BRIGHT_NORMAL the widget is normal state, BRIGHT_HIGHLIGHT the widget is height light state.
|
|
288
|
+
*/
|
|
289
|
+
setBrightStyle(style: any): void;
|
|
290
|
+
_onPressStateChangedToNormal(): void;
|
|
291
|
+
_onPressStateChangedToPressed(): void;
|
|
292
|
+
_onPressStateChangedToDisabled(): void;
|
|
293
|
+
_updateChildrenDisplayedRGBA(): void;
|
|
294
|
+
/**
|
|
295
|
+
* A call back function when widget lost of focus.
|
|
296
|
+
*/
|
|
297
|
+
didNotSelectSelf(): void;
|
|
298
|
+
/**
|
|
299
|
+
* <p>
|
|
300
|
+
* The callback of touch began event. <br/>
|
|
301
|
+
* If the bounding box of Widget contains the touch point, it will do the following things: <br/>
|
|
302
|
+
* 1. sets highlight state, <br/>
|
|
303
|
+
* 2. sends event to parent widget by interceptTouchEvent <br/>
|
|
304
|
+
* 3. calls the callback of touch began event. <br/>
|
|
305
|
+
* 4. returns true, <br/>
|
|
306
|
+
* otherwise returns false directly. <br/>
|
|
307
|
+
* </p>
|
|
308
|
+
* @override
|
|
309
|
+
* @param {Touch} touch
|
|
310
|
+
* @param {Event} event
|
|
311
|
+
* @returns {boolean}
|
|
312
|
+
*/
|
|
313
|
+
onTouchBegan(touch: any, event: any): boolean;
|
|
314
|
+
propagateTouchEvent(event: any, sender: any, touch: any): void;
|
|
315
|
+
/**
|
|
316
|
+
* <p>
|
|
317
|
+
* The callback of touch moved event. <br/>
|
|
318
|
+
* It sets the highlight state by touch, sends event to parent widget by interceptTouchEvent and calls the callback of touch moved event.
|
|
319
|
+
* </p>
|
|
320
|
+
* @param {Touch} touch
|
|
321
|
+
* @param {Event} event
|
|
322
|
+
*/
|
|
323
|
+
onTouchMoved(touch: any, event: any): void;
|
|
324
|
+
/**
|
|
325
|
+
* <p>
|
|
326
|
+
* The callback of touch end event
|
|
327
|
+
* It sends event to parent widget by interceptTouchEvent,
|
|
328
|
+
* calls the callback of touch end event (highlight= true) or touch canceled event (highlight= false).
|
|
329
|
+
* sets the highlight state to false ,
|
|
330
|
+
* </p>
|
|
331
|
+
* @param touch
|
|
332
|
+
* @param event
|
|
333
|
+
*/
|
|
334
|
+
onTouchEnded(touch: any, event: any): void;
|
|
335
|
+
/**
|
|
336
|
+
* A call back function called when widget is selected, and on touch canceled.
|
|
337
|
+
* @param {Point} touchPoint
|
|
338
|
+
*/
|
|
339
|
+
onTouchCancelled(touchPoint: any, event?: any): void;
|
|
340
|
+
/**
|
|
341
|
+
* A call back function called when widget is selected, and on touch long clicked.
|
|
342
|
+
* @param {Point} touchPoint
|
|
343
|
+
*/
|
|
344
|
+
onTouchLongClicked(touchPoint: any): void;
|
|
345
|
+
_pushDownEvent(): void;
|
|
346
|
+
_moveEvent(): void;
|
|
347
|
+
_releaseUpEvent(): void;
|
|
348
|
+
_cancelUpEvent(): void;
|
|
349
|
+
longClickEvent(): void;
|
|
350
|
+
/**
|
|
351
|
+
* Sets the touch event target/selector of the Widget
|
|
352
|
+
* @param {Function} selector
|
|
353
|
+
* @param {Object} target
|
|
354
|
+
*/
|
|
355
|
+
addTouchEventListener(selector: any, target?: any): void;
|
|
356
|
+
addClickEventListener(callback: any): void;
|
|
357
|
+
/**
|
|
358
|
+
* Checks a point if is in widget's space
|
|
359
|
+
* @param {Point} pt
|
|
360
|
+
* @returns {boolean} true if the point is in widget's space, false otherwise.
|
|
361
|
+
*/
|
|
362
|
+
hitTest(pt: any): boolean;
|
|
363
|
+
/**
|
|
364
|
+
* returns whether clipping parent widget contains point.
|
|
365
|
+
* @param {Point} pt location point
|
|
366
|
+
* @returns {Boolean}
|
|
367
|
+
*/
|
|
368
|
+
isClippingParentContainsPoint(pt: any): any;
|
|
369
|
+
/**
|
|
370
|
+
* Calls the checkChildInfo of widget's parent, its subclass will override it.
|
|
371
|
+
* @param {number} handleState
|
|
372
|
+
* @param {Widget} sender
|
|
373
|
+
* @param {Point} touchPoint
|
|
374
|
+
*/
|
|
375
|
+
checkChildInfo(handleState: any, sender: any, touchPoint: any): void;
|
|
376
|
+
/**
|
|
377
|
+
* Changes the position (x,y) of the widget .
|
|
378
|
+
* The original point (0,0) is at the left-bottom corner of screen.
|
|
379
|
+
* @override
|
|
380
|
+
* @param {Point|Number} pos
|
|
381
|
+
* @param {Number} [posY]
|
|
382
|
+
*/
|
|
383
|
+
setPosition(pos: any, posY?: any): void;
|
|
384
|
+
setPositionX(x: any): void;
|
|
385
|
+
setPositionY(y: any): void;
|
|
386
|
+
/**
|
|
387
|
+
* Changes the position (x,y) of the widget
|
|
388
|
+
* @param {Point} percent
|
|
389
|
+
*/
|
|
390
|
+
setPositionPercent(percent: any): void;
|
|
391
|
+
_setXPercent(percent: any): void;
|
|
392
|
+
_setYPercent(percent: any): void;
|
|
393
|
+
/**
|
|
394
|
+
* Gets the percent (x,y) of the widget
|
|
395
|
+
* @returns {Point} The percent (x,y) of the widget in OpenGL coordinates
|
|
396
|
+
*/
|
|
397
|
+
getPositionPercent(): import("../..").Point;
|
|
398
|
+
_getXPercent(): any;
|
|
399
|
+
_getYPercent(): any;
|
|
400
|
+
/**
|
|
401
|
+
* Changes the position type of the widget
|
|
402
|
+
* @param {Number} type the position type of widget
|
|
403
|
+
*/
|
|
404
|
+
setPositionType(type: any): void;
|
|
405
|
+
/**
|
|
406
|
+
* Gets the position type of the widget
|
|
407
|
+
* @returns {Number} the position type of widget
|
|
408
|
+
*/
|
|
409
|
+
getPositionType(): any;
|
|
410
|
+
/**
|
|
411
|
+
* Sets whether the widget should be flipped horizontally or not.
|
|
412
|
+
* @param {Boolean} flipX true if the widget should be flipped horizontally, false otherwise.
|
|
413
|
+
*/
|
|
414
|
+
setFlippedX(flipX: any): void;
|
|
415
|
+
/**
|
|
416
|
+
* <p>
|
|
417
|
+
* Returns the flag which indicates whether the widget is flipped horizontally or not. <br/>
|
|
418
|
+
* It only flips the texture of the widget, and not the texture of the widget's children. <br/>
|
|
419
|
+
* Also, flipping the texture doesn't alter the anchorPoint. <br/>
|
|
420
|
+
* If you want to flip the anchorPoint too, and/or to flip the children too use: <br/>
|
|
421
|
+
* widget.setScaleX(sprite.getScaleX() * -1);
|
|
422
|
+
* </p>
|
|
423
|
+
* @returns {Boolean} true if the widget is flipped horizontally, false otherwise.
|
|
424
|
+
*/
|
|
425
|
+
isFlippedX(): boolean;
|
|
426
|
+
/**
|
|
427
|
+
* Sets whether the widget should be flipped vertically or not.
|
|
428
|
+
* @param {Boolean} flipY true if the widget should be flipped vertically, false otherwise.
|
|
429
|
+
*/
|
|
430
|
+
setFlippedY(flipY: any): void;
|
|
431
|
+
/**
|
|
432
|
+
* <p>
|
|
433
|
+
* Return the flag which indicates whether the widget is flipped vertically or not. <br/>
|
|
434
|
+
* It only flips the texture of the widget, and not the texture of the widget's children. <br/>
|
|
435
|
+
* Also, flipping the texture doesn't alter the anchorPoint. <br/>
|
|
436
|
+
* If you want to flip the anchorPoint too, and/or to flip the children too use: <br/>
|
|
437
|
+
* widget.setScaleY(widget.getScaleY() * -1);
|
|
438
|
+
* </p>
|
|
439
|
+
* @returns {Boolean} true if the widget is flipped vertically, false otherwise.
|
|
440
|
+
*/
|
|
441
|
+
isFlippedY(): boolean;
|
|
442
|
+
_adaptRenderers(): void;
|
|
443
|
+
/**
|
|
444
|
+
* Determines if the widget is bright
|
|
445
|
+
* @returns {boolean} true if the widget is bright, false if the widget is dark.
|
|
446
|
+
*/
|
|
447
|
+
isBright(): boolean;
|
|
448
|
+
/**
|
|
449
|
+
* Determines if the widget is enabled
|
|
450
|
+
* @returns {boolean}
|
|
451
|
+
*/
|
|
452
|
+
isEnabled(): boolean;
|
|
453
|
+
/**
|
|
454
|
+
* Gets the left boundary position of this widget.
|
|
455
|
+
* @returns {number}
|
|
456
|
+
*/
|
|
457
|
+
getLeftBoundary(): number;
|
|
458
|
+
/**
|
|
459
|
+
* Gets the bottom boundary position of this widget.
|
|
460
|
+
* @returns {number}
|
|
461
|
+
*/
|
|
462
|
+
getBottomBoundary(): number;
|
|
463
|
+
/**
|
|
464
|
+
* Gets the right boundary position of this widget.
|
|
465
|
+
* @returns {number}
|
|
466
|
+
*/
|
|
467
|
+
getRightBoundary(): number;
|
|
468
|
+
/**
|
|
469
|
+
* Gets the top boundary position of this widget.
|
|
470
|
+
* @returns {number}
|
|
471
|
+
*/
|
|
472
|
+
getTopBoundary(): number;
|
|
473
|
+
/**
|
|
474
|
+
* Gets the position of touch began event.
|
|
475
|
+
* @returns {Point}
|
|
476
|
+
*/
|
|
477
|
+
getTouchBeganPosition(): import("../..").Point;
|
|
478
|
+
/**
|
|
479
|
+
* Gets the position of touch moved event
|
|
480
|
+
* @returns {Point}
|
|
481
|
+
*/
|
|
482
|
+
getTouchMovePosition(): import("../..").Point;
|
|
483
|
+
/**
|
|
484
|
+
* Gets the position of touch end event
|
|
485
|
+
* @returns {Point}
|
|
486
|
+
*/
|
|
487
|
+
getTouchEndPosition(): import("../..").Point;
|
|
488
|
+
/**
|
|
489
|
+
* get widget type
|
|
490
|
+
* @returns {Widget.TYPE_WIDGET|Widget.TYPE_CONTAINER}
|
|
491
|
+
*/
|
|
492
|
+
getWidgetType(): any;
|
|
493
|
+
/**
|
|
494
|
+
* Gets LayoutParameter of widget.
|
|
495
|
+
* @param {LayoutParameter} parameter
|
|
496
|
+
*/
|
|
497
|
+
setLayoutParameter(parameter: any): void;
|
|
498
|
+
/**
|
|
499
|
+
* Gets layout parameter
|
|
500
|
+
* @param {LayoutParameter.NONE|LayoutParameter.LINEAR|LayoutParameter.RELATIVE} type
|
|
501
|
+
* @returns {LayoutParameter}
|
|
502
|
+
*/
|
|
503
|
+
getLayoutParameter(type?: any): any;
|
|
504
|
+
/**
|
|
505
|
+
* Returns the "class name" of widget.
|
|
506
|
+
* @returns {string}
|
|
507
|
+
*/
|
|
508
|
+
getDescription(): string;
|
|
509
|
+
/**
|
|
510
|
+
* Clones a new widget.
|
|
511
|
+
* @returns {Widget}
|
|
512
|
+
*/
|
|
513
|
+
clone(): Widget;
|
|
514
|
+
_createCloneInstance(): Widget;
|
|
515
|
+
_copyClonedWidgetChildren(model: any): void;
|
|
516
|
+
_copySpecialProperties(model: any): void;
|
|
517
|
+
_copyProperties(widget: any): void;
|
|
518
|
+
setActionTag(tag: any): void;
|
|
519
|
+
getActionTag(): number;
|
|
520
|
+
/**
|
|
521
|
+
* Gets the left boundary position of this widget.
|
|
522
|
+
* @deprecated since v3.0, please use getLeftBoundary instead.
|
|
523
|
+
* @returns {number}
|
|
524
|
+
*/
|
|
525
|
+
getLeftInParent(): number;
|
|
526
|
+
/**
|
|
527
|
+
* Gets the bottom boundary position of this widget.
|
|
528
|
+
* @deprecated since v3.0, please use getBottomBoundary instead.
|
|
529
|
+
* @returns {number}
|
|
530
|
+
*/
|
|
531
|
+
getBottomInParent(): number;
|
|
532
|
+
/**
|
|
533
|
+
* Gets the right boundary position of this widget.
|
|
534
|
+
* @deprecated since v3.0, please use getRightBoundary instead.
|
|
535
|
+
* @returns {number}
|
|
536
|
+
*/
|
|
537
|
+
getRightInParent(): number;
|
|
538
|
+
/**
|
|
539
|
+
* Gets the top boundary position of this widget.
|
|
540
|
+
* @deprecated since v3.0, please use getTopBoundary instead.
|
|
541
|
+
* @returns {number}
|
|
542
|
+
*/
|
|
543
|
+
getTopInParent(): number;
|
|
544
|
+
/**
|
|
545
|
+
* Gets the touch end point of widget when widget is selected.
|
|
546
|
+
* @deprecated since v3.0, please use getTouchEndPosition instead.
|
|
547
|
+
* @returns {Point} the touch end point.
|
|
548
|
+
*/
|
|
549
|
+
getTouchEndPos(): import("../..").Point;
|
|
550
|
+
/**
|
|
551
|
+
*Gets the touch move point of widget when widget is selected.
|
|
552
|
+
* @deprecated since v3.0, please use getTouchMovePosition instead.
|
|
553
|
+
* @returns {Point} the touch move point.
|
|
554
|
+
*/
|
|
555
|
+
getTouchMovePos(): import("../..").Point;
|
|
556
|
+
/**
|
|
557
|
+
* Checks a point if in parent's area.
|
|
558
|
+
* @deprecated since v3.0, please use isClippingParentContainsPoint instead.
|
|
559
|
+
* @param {Point} pt
|
|
560
|
+
* @returns {Boolean}
|
|
561
|
+
*/
|
|
562
|
+
clippingParentAreaContainPoint(pt: any): void;
|
|
563
|
+
/**
|
|
564
|
+
* Gets the touch began point of widget when widget is selected.
|
|
565
|
+
* @deprecated since v3.0, please use getTouchBeganPosition instead.
|
|
566
|
+
* @returns {Point} the touch began point.
|
|
567
|
+
*/
|
|
568
|
+
getTouchStartPos(): import("../..").Point;
|
|
569
|
+
/**
|
|
570
|
+
* Changes the size that is widget's size
|
|
571
|
+
* @deprecated since v3.0, please use setContentSize instead.
|
|
572
|
+
* @param {Size} size that is widget's size
|
|
573
|
+
*/
|
|
574
|
+
setSize(size: any): void;
|
|
575
|
+
/**
|
|
576
|
+
* Returns size of widget
|
|
577
|
+
* @deprecated since v3.0, please use getContentSize instead.
|
|
578
|
+
* @returns {Size}
|
|
579
|
+
*/
|
|
580
|
+
getSize(): import("../..")._Size;
|
|
581
|
+
/**
|
|
582
|
+
* Adds a node for widget (this function is deleted in -x)
|
|
583
|
+
* @param {Node} node
|
|
584
|
+
* @param {Number} zOrder
|
|
585
|
+
* @param {Number} tag
|
|
586
|
+
* @deprecated since v3.0, please use addChild instead.
|
|
587
|
+
*/
|
|
588
|
+
addNode(node: any, zOrder: any, tag: any): void;
|
|
589
|
+
/**
|
|
590
|
+
* Gets node by tag
|
|
591
|
+
* @deprecated since v3.0, please use getChildByTag instead.
|
|
592
|
+
* @param {Number} tag
|
|
593
|
+
* @returns {Node}
|
|
594
|
+
*/
|
|
595
|
+
getNodeByTag(tag: any): any;
|
|
596
|
+
/**
|
|
597
|
+
* Returns all children.
|
|
598
|
+
* @deprecated since v3.0, please use getChildren instead.
|
|
599
|
+
* @returns {Array}
|
|
600
|
+
*/
|
|
601
|
+
getNodes(): any;
|
|
602
|
+
/**
|
|
603
|
+
* Removes a node from Widget
|
|
604
|
+
* @deprecated since v3.0, please use removeChild instead.
|
|
605
|
+
* @param {Node} node
|
|
606
|
+
* @param {Boolean} cleanup
|
|
607
|
+
*/
|
|
608
|
+
removeNode(node: any, cleanup: any): void;
|
|
609
|
+
_getNormalGLProgram(): import("../../shaders").GLProgram;
|
|
610
|
+
_getGrayGLProgram(): import("../../shaders").GLProgram;
|
|
611
|
+
/**
|
|
612
|
+
* Removes node by tag
|
|
613
|
+
* @deprecated since v3.0, please use removeChildByTag instead.
|
|
614
|
+
* @param {Number} tag
|
|
615
|
+
* @param {Boolean} [cleanup]
|
|
616
|
+
*/
|
|
617
|
+
removeNodeByTag(tag: any, cleanup: any): void;
|
|
618
|
+
/**
|
|
619
|
+
* Removes all node
|
|
620
|
+
* @deprecated since v3.0, please use removeAllChildren instead.
|
|
621
|
+
*/
|
|
622
|
+
removeAllNodes(): void;
|
|
623
|
+
_findLayout(): void;
|
|
624
|
+
/**
|
|
625
|
+
* @since v3.2
|
|
626
|
+
* @returns {boolean} true represent the widget use Unify Size, false represent the widget couldn't use Unify Size
|
|
627
|
+
*/
|
|
628
|
+
isUnifySizeEnabled(): boolean;
|
|
629
|
+
/**
|
|
630
|
+
* @since v3.2
|
|
631
|
+
* @param {Boolean} enable enable Unify Size of a widget
|
|
632
|
+
*/
|
|
633
|
+
setUnifySizeEnabled(enable: any): void;
|
|
634
|
+
setScaleX(scaleX: any): void;
|
|
635
|
+
setScaleY(scaleY: any): void;
|
|
636
|
+
setScale(scaleX: any, scaleY: any): void;
|
|
637
|
+
getScaleX(): any;
|
|
638
|
+
getScaleY(): any;
|
|
639
|
+
getScale(): any;
|
|
640
|
+
/**
|
|
641
|
+
* Sets callback name to widget.
|
|
642
|
+
* @since v3.3
|
|
643
|
+
* @param {String} callbackName
|
|
644
|
+
*/
|
|
645
|
+
setCallbackName(callbackName: any): void;
|
|
646
|
+
/**
|
|
647
|
+
* Gets callback name of widget
|
|
648
|
+
* @since v3.3
|
|
649
|
+
* @returns {String|Null}
|
|
650
|
+
*/
|
|
651
|
+
getCallbackName(): any;
|
|
652
|
+
/**
|
|
653
|
+
* Sets callback type to widget
|
|
654
|
+
* @since v3.3
|
|
655
|
+
* @param {String} callbackType
|
|
656
|
+
*/
|
|
657
|
+
setCallbackType(callbackType: any): void;
|
|
658
|
+
/**
|
|
659
|
+
* Gets callback type of widget
|
|
660
|
+
* @since v3.3
|
|
661
|
+
* @returns {String|null}
|
|
662
|
+
*/
|
|
663
|
+
getCallbackType(): any;
|
|
664
|
+
_createRenderCmd(): WidgetWebGLRenderCmd;
|
|
665
|
+
static _focusedWidget: any;
|
|
666
|
+
static _focusNavigationController: any;
|
|
667
|
+
/**
|
|
668
|
+
* call this method with parameter true to enable the Android Dpad focus navigation feature
|
|
669
|
+
* @note it doesn't implemented on Web
|
|
670
|
+
* @param {Boolean} enable set true to enable dpad focus navigation, otherwise disable dpad focus navigation
|
|
671
|
+
*/
|
|
672
|
+
static enableDpadNavigation(enable: any): void;
|
|
673
|
+
/**
|
|
674
|
+
* Gets the focused widget of current stage.
|
|
675
|
+
* @function
|
|
676
|
+
* @returns {null|Widget}
|
|
677
|
+
*/
|
|
678
|
+
static getCurrentFocusedWidget(): any;
|
|
679
|
+
/**
|
|
680
|
+
* None bright style of Widget.
|
|
681
|
+
* @constant
|
|
682
|
+
* @type {number}
|
|
683
|
+
*/
|
|
684
|
+
static BRIGHT_STYLE_NONE: number;
|
|
685
|
+
/**
|
|
686
|
+
* Normal bright style of Widget.
|
|
687
|
+
* @constant
|
|
688
|
+
* @type {number}
|
|
689
|
+
*/
|
|
690
|
+
static BRIGHT_STYLE_NORMAL: number;
|
|
691
|
+
/**
|
|
692
|
+
* Light bright style of Widget.
|
|
693
|
+
* @constant
|
|
694
|
+
* @type {number}
|
|
695
|
+
*/
|
|
696
|
+
static BRIGHT_STYLE_HIGH_LIGHT: number;
|
|
697
|
+
/**
|
|
698
|
+
* The type code of Widget for ccui controls.
|
|
699
|
+
* @constant
|
|
700
|
+
* @type {number}
|
|
701
|
+
*/
|
|
702
|
+
static TYPE_WIDGET: number;
|
|
703
|
+
/**
|
|
704
|
+
* The type code of Container for ccui controls.
|
|
705
|
+
* @constant
|
|
706
|
+
* @type {number}
|
|
707
|
+
*/
|
|
708
|
+
static TYPE_CONTAINER: number;
|
|
709
|
+
/**
|
|
710
|
+
* The left of Focus direction for Widget
|
|
711
|
+
* @constant
|
|
712
|
+
* @type {number}
|
|
713
|
+
*/
|
|
714
|
+
static LEFT: number;
|
|
715
|
+
/**
|
|
716
|
+
* The right of Focus direction for Widget
|
|
717
|
+
* @constant
|
|
718
|
+
* @type {number}
|
|
719
|
+
*/
|
|
720
|
+
static RIGHT: number;
|
|
721
|
+
/**
|
|
722
|
+
* The up of Focus direction for Widget
|
|
723
|
+
* @constant
|
|
724
|
+
* @type {number}
|
|
725
|
+
*/
|
|
726
|
+
static UP: number;
|
|
727
|
+
/**
|
|
728
|
+
* The down of Focus direction for Widget
|
|
729
|
+
* @constant
|
|
730
|
+
* @type {number}
|
|
731
|
+
*/
|
|
732
|
+
static DOWN: number;
|
|
733
|
+
/**
|
|
734
|
+
* The image file texture type of Widget loads.
|
|
735
|
+
* @constant
|
|
736
|
+
* @type {number}
|
|
737
|
+
*/
|
|
738
|
+
static LOCAL_TEXTURE: number;
|
|
739
|
+
/**
|
|
740
|
+
* The sprite frame texture type of Widget loads.
|
|
741
|
+
* @constant
|
|
742
|
+
* @type {number}
|
|
743
|
+
*/
|
|
744
|
+
static PLIST_TEXTURE: number;
|
|
745
|
+
/**
|
|
746
|
+
* The touch began type of Widget's touch event
|
|
747
|
+
* @constant
|
|
748
|
+
* @type {number}
|
|
749
|
+
*/
|
|
750
|
+
static TOUCH_BEGAN: number;
|
|
751
|
+
/**
|
|
752
|
+
* The touch moved type of Widget's touch event
|
|
753
|
+
* @constant
|
|
754
|
+
* @type {number}
|
|
755
|
+
*/
|
|
756
|
+
static TOUCH_MOVED: number;
|
|
757
|
+
/**
|
|
758
|
+
* The touch end type of Widget's touch event
|
|
759
|
+
* @constant
|
|
760
|
+
* @type {number}
|
|
761
|
+
*/
|
|
762
|
+
static TOUCH_ENDED: number;
|
|
763
|
+
/**
|
|
764
|
+
* The touch canceled type of Widget's touch event
|
|
765
|
+
* @constant
|
|
766
|
+
* @type {number}
|
|
767
|
+
*/
|
|
768
|
+
static TOUCH_CANCELED: number;
|
|
769
|
+
/**
|
|
770
|
+
* The absolute of Widget's size type.
|
|
771
|
+
* @constant
|
|
772
|
+
* @type {number}
|
|
773
|
+
*/
|
|
774
|
+
static SIZE_ABSOLUTE: number;
|
|
775
|
+
/**
|
|
776
|
+
* The percent of Widget's size type.
|
|
777
|
+
* @constant
|
|
778
|
+
* @type {number}
|
|
779
|
+
*/
|
|
780
|
+
static SIZE_PERCENT: number;
|
|
781
|
+
/**
|
|
782
|
+
* The absolute of Widget's position type.
|
|
783
|
+
* @constant
|
|
784
|
+
* @type {number}
|
|
785
|
+
*/
|
|
786
|
+
static POSITION_ABSOLUTE: number;
|
|
787
|
+
/**
|
|
788
|
+
* The percent of Widget's position type.
|
|
789
|
+
* @constant
|
|
790
|
+
* @type {number}
|
|
791
|
+
*/
|
|
792
|
+
static POSITION_PERCENT: number;
|
|
793
|
+
}
|
|
794
|
+
//# sourceMappingURL=UIWidget.d.ts.map
|