modern-canvas 0.4.20 → 0.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2548,14 +2548,32 @@ declare class AudioWaveform extends Element2D {
2548
2548
  protected _drawSrc(): void;
2549
2549
  }
2550
2550
 
2551
+ interface BlurEffectProperties extends EffectProperties {
2552
+ strength: number;
2553
+ quality: number;
2554
+ }
2555
+ /**
2556
+ * Gaussian blur
2557
+ */
2551
2558
  declare class BlurEffect extends Effect {
2552
2559
  static materialX: Material;
2553
2560
  static materialY: Material;
2554
2561
  strength: number;
2555
2562
  quality: number;
2563
+ constructor(properties?: Partial<BlurEffectProperties>, children?: Node[]);
2556
2564
  apply(renderer: WebGLRenderer, source: Viewport): void;
2557
2565
  }
2558
2566
 
2567
+ interface ColorAdjustEffectProperties extends EffectProperties {
2568
+ saturation: number;
2569
+ contrast: number;
2570
+ brightness: number;
2571
+ red: number;
2572
+ green: number;
2573
+ blue: number;
2574
+ alpha: number;
2575
+ gamma: number;
2576
+ }
2559
2577
  declare class ColorAdjustEffect extends Effect {
2560
2578
  static material: Material;
2561
2579
  saturation: number;
@@ -2566,6 +2584,7 @@ declare class ColorAdjustEffect extends Effect {
2566
2584
  blue: number;
2567
2585
  alpha: number;
2568
2586
  gamma: number;
2587
+ constructor(properties?: Partial<ColorAdjustEffectProperties>, children?: Node[]);
2569
2588
  apply(renderer: WebGLRenderer, source: Viewport): void;
2570
2589
  }
2571
2590
 
@@ -2573,44 +2592,119 @@ interface ColorFilterEffectProperties {
2573
2592
  filter?: string;
2574
2593
  }
2575
2594
  declare class ColorFilterEffect extends Effect {
2576
- filter: string;
2595
+ static material: Material;
2596
+ filter?: string;
2577
2597
  protected _colorMatrix: ColorMatrix;
2578
- constructor(properties?: Partial<ColorFilterEffectProperties>);
2598
+ constructor(properties?: Partial<ColorFilterEffectProperties>, children?: Node[]);
2579
2599
  apply(renderer: WebGLRenderer, source: Viewport): void;
2580
- static material: Material;
2581
2600
  }
2582
2601
 
2602
+ interface ColorOverlayEffectProperties extends EffectProperties {
2603
+ colors: ColorValue[];
2604
+ alpha: number;
2605
+ }
2583
2606
  declare class ColorOverlayEffect extends Effect {
2584
2607
  static material: Material;
2585
2608
  colors: ColorValue[];
2586
2609
  alpha: number;
2587
2610
  protected _color: Color;
2611
+ constructor(properties?: Partial<ColorOverlayEffectProperties>, children?: Node[]);
2588
2612
  apply(renderer: WebGLRenderer, source: Viewport): void;
2589
2613
  }
2590
2614
 
2615
+ interface ColorRemoveEffectProperties extends EffectProperties {
2616
+ colors: ColorValue[];
2617
+ epsilon: number;
2618
+ }
2591
2619
  declare class ColorRemoveEffect extends Effect {
2592
2620
  static material: Material;
2593
2621
  colors: ColorValue[];
2594
2622
  epsilon: number;
2595
2623
  protected _color: Color;
2624
+ constructor(properties?: Partial<ColorRemoveEffectProperties>, children?: Node[]);
2596
2625
  apply(renderer: WebGLRenderer, source: Viewport): void;
2597
2626
  }
2598
2627
 
2628
+ interface ColorReplaceEffectProperties extends EffectProperties {
2629
+ colors: ColorValue[];
2630
+ epsilon: number;
2631
+ }
2599
2632
  declare class ColorReplaceEffect extends Effect {
2600
2633
  static material: Material;
2601
2634
  colors: ColorValue[][];
2602
2635
  epsilon: number;
2603
2636
  protected _color: Color;
2637
+ constructor(properties?: Partial<ColorReplaceEffectProperties>, children?: Node[]);
2604
2638
  apply(renderer: WebGLRenderer, source: Viewport): void;
2605
2639
  }
2606
2640
 
2607
- declare class EmbossEffect extends Effect {
2641
+ interface KawaseBlurEffectProperties extends EffectProperties {
2642
+ strength: number;
2643
+ quality: number;
2644
+ pixelSize: [number, number];
2645
+ clamp: boolean;
2646
+ }
2647
+ declare const frag = "varying vec2 vUv;\nuniform sampler2D sampler;\nuniform vec2 uOffset;\n\nvoid main(void) {\n vec4 color = vec4(0.0);\n color += texture2D(sampler, vec2(vUv.x - uOffset.x, vUv.y + uOffset.y));\n color += texture2D(sampler, vec2(vUv.x + uOffset.x, vUv.y + uOffset.y));\n color += texture2D(sampler, vec2(vUv.x + uOffset.x, vUv.y - uOffset.y));\n color += texture2D(sampler, vec2(vUv.x - uOffset.x, vUv.y - uOffset.y));\n color *= 0.25;\n gl_FragColor = color;\n}";
2648
+ declare const clampFrag = "precision highp float;\nvarying vec2 vUv;\nuniform sampler2D sampler;\nuniform vec2 uOffset;\nuniform vec4 uInputClamp;\nvoid main(void) {\n vec4 color = vec4(0.0);\n color += texture2D(sampler, clamp(vec2(vUv.x - uOffset.x, vUv.y + uOffset.y), uInputClamp.xy, uInputClamp.zw));\n color += texture2D(sampler, clamp(vec2(vUv.x + uOffset.x, vUv.y + uOffset.y), uInputClamp.xy, uInputClamp.zw));\n color += texture2D(sampler, clamp(vec2(vUv.x + uOffset.x, vUv.y - uOffset.y), uInputClamp.xy, uInputClamp.zw));\n color += texture2D(sampler, clamp(vec2(vUv.x - uOffset.x, vUv.y - uOffset.y), uInputClamp.xy, uInputClamp.zw));\n color *= 0.25;\n gl_FragColor = color;\n}";
2649
+ declare class KawaseBlurEffect extends Effect {
2650
+ material: Material;
2608
2651
  strength: number;
2609
- constructor(strength?: number);
2652
+ quality: number;
2653
+ pixelSize: [number, number];
2654
+ protected _kernels: number[];
2655
+ constructor(properties?: Partial<KawaseBlurEffectProperties>, children?: Node[]);
2656
+ protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
2657
+ /** Auto generate kernels by blur & quality */
2658
+ protected _generateKernels(): void;
2610
2659
  apply(renderer: WebGLRenderer, source: Viewport): void;
2660
+ }
2661
+
2662
+ interface DropShadowEffectProperties extends EffectProperties {
2663
+ offset: [number, number];
2664
+ color: ColorValue;
2665
+ alpha: number;
2666
+ shadowOnly: boolean;
2667
+ blur: number;
2668
+ quality: number;
2669
+ pixelSize: [number, number];
2670
+ }
2671
+ declare class DropShadowEffect extends Effect {
2611
2672
  static material: Material;
2673
+ offset: [number, number];
2674
+ color: ColorValue;
2675
+ alpha: number;
2676
+ shadowOnly: boolean;
2677
+ blur: number;
2678
+ quality: number;
2679
+ pixelSize: [number, number];
2680
+ kawaseBlurEffect: KawaseBlurEffect;
2681
+ viewport3: Viewport;
2682
+ protected _color: Color;
2683
+ constructor(properties?: Partial<DropShadowEffectProperties>, children?: Node[]);
2684
+ apply(renderer: WebGLRenderer, source: Viewport): void;
2612
2685
  }
2613
2686
 
2687
+ interface EmbossEffectProperties extends EffectProperties {
2688
+ strength: number;
2689
+ }
2690
+ declare class EmbossEffect extends Effect {
2691
+ static material: Material;
2692
+ strength: number;
2693
+ constructor(properties?: Partial<EmbossEffectProperties>, children?: Node[]);
2694
+ apply(renderer: WebGLRenderer, source: Viewport): void;
2695
+ }
2696
+
2697
+ interface GlitchEffectProperties extends EffectProperties {
2698
+ slices: number;
2699
+ sampleSize: number;
2700
+ offset: number;
2701
+ direction: number;
2702
+ fillMode: number;
2703
+ seed: number;
2704
+ red: [number, number];
2705
+ green: [number, number];
2706
+ blue: [number, number];
2707
+ }
2614
2708
  declare class GlitchEffect extends Effect {
2615
2709
  static material: Material;
2616
2710
  protected _canvas: HTMLCanvasElement;
@@ -2624,22 +2718,33 @@ declare class GlitchEffect extends Effect {
2624
2718
  direction: number;
2625
2719
  fillMode: number;
2626
2720
  seed: number;
2627
- red: number[];
2628
- green: number[];
2629
- blue: number[];
2630
- constructor();
2721
+ red: [number, number];
2722
+ green: [number, number];
2723
+ blue: [number, number];
2724
+ constructor(properties?: Partial<GlitchEffectProperties>, children?: Node[]);
2631
2725
  redraw(): void;
2632
2726
  apply(renderer: WebGLRenderer, source: Viewport): void;
2633
2727
  }
2634
2728
 
2729
+ interface GodrayEffectProperties extends EffectProperties {
2730
+ time: number;
2731
+ angle: number;
2732
+ gain: number;
2733
+ lacunarity: number;
2734
+ parallel: boolean;
2735
+ center: [number, number];
2736
+ alpha: number;
2737
+ }
2635
2738
  declare class GodrayEffect extends Effect {
2636
2739
  static material: Material;
2740
+ time: number;
2637
2741
  angle: number;
2638
2742
  gain: number;
2639
2743
  lacunarity: number;
2640
2744
  parallel: boolean;
2641
- center: number[];
2745
+ center: [number, number];
2642
2746
  alpha: number;
2747
+ constructor(properties?: Partial<GodrayEffectProperties>, children?: Node[]);
2643
2748
  apply(renderer: WebGLRenderer, source: Viewport): void;
2644
2749
  }
2645
2750
 
@@ -2647,35 +2752,60 @@ interface MaskEffectProperties extends EffectProperties {
2647
2752
  src?: string;
2648
2753
  }
2649
2754
  declare class MaskEffect extends Effect {
2755
+ static material: Material;
2650
2756
  texture?: Texture2D<ImageBitmap>;
2651
2757
  src: string;
2652
2758
  constructor(properties?: Partial<MaskEffectProperties>, children?: Node[]);
2653
2759
  load(): Promise<void>;
2654
2760
  protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
2655
2761
  apply(renderer: WebGLRenderer, source: Viewport, context: EffectContext): void;
2656
- static material: Material;
2657
2762
  }
2658
2763
 
2659
- declare class PixelateEffect extends Effect {
2660
- static material: Material;
2661
- size: number;
2662
- constructor(size?: number);
2764
+ interface OutlineEffectProperties extends EffectProperties {
2765
+ thickness: number;
2766
+ color: ColorValue;
2767
+ alpha: number;
2768
+ quality: number;
2769
+ knockout: boolean;
2770
+ }
2771
+ declare class OutlineEffect extends Effect {
2772
+ material: Material;
2773
+ static MIN_SAMPLES: number;
2774
+ static MAX_SAMPLES: number;
2775
+ static getAngleStep(quality: number): number;
2776
+ thickness: number;
2777
+ color: ColorValue;
2778
+ alpha: number;
2779
+ quality: number;
2780
+ knockout: boolean;
2781
+ protected _color: Color;
2782
+ constructor(properties?: Partial<OutlineEffectProperties>, children?: Node[]);
2663
2783
  apply(renderer: WebGLRenderer, source: Viewport): void;
2664
2784
  }
2665
2785
 
2666
- declare class ShadowEffect extends Effect {
2786
+ interface PixelateEffectProperties extends EffectProperties {
2787
+ strength: number;
2788
+ }
2789
+ declare class PixelateEffect extends Effect {
2667
2790
  static material: Material;
2668
- blur: BlurEffect;
2669
- viewport3: Viewport;
2791
+ strength: number;
2792
+ constructor(properties?: Partial<PixelateEffectProperties>, children?: Node[]);
2670
2793
  apply(renderer: WebGLRenderer, source: Viewport): void;
2671
2794
  }
2672
2795
 
2673
- declare class ZoomBlurEffect extends Effect {
2796
+ interface ZoomBlurEffectProperties extends EffectProperties {
2674
2797
  center?: number[];
2675
2798
  innerRadius: number;
2676
2799
  radius: number;
2677
2800
  strength: number;
2801
+ }
2802
+ declare class ZoomBlurEffect extends Effect {
2678
2803
  static material: Material;
2804
+ center?: number[];
2805
+ innerRadius: number;
2806
+ radius: number;
2807
+ strength: number;
2808
+ constructor(properties?: Partial<ZoomBlurEffectProperties>, children?: Node[]);
2679
2809
  apply(renderer: WebGLRenderer, source: Viewport): void;
2680
2810
  }
2681
2811
 
@@ -3005,4 +3135,4 @@ interface RenderOptions {
3005
3135
  }
3006
3136
  declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
3007
3137
 
3008
- export { AnimatedTexture, Animation, type AnimationEffectMode, type AnimationProperties, type AssetHandler, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, type AudioWaveformProperties, BaseElement2D, type BaseElement2DEventMap, type BaseElement2DProperties, BaseElement2DStyle, type BaseElement2DStyleProperties, type Batchable2D, BlurEffect, type CSSFilterKey, type CSSFilters, type CanvasBatchable, CanvasContext, CanvasItem, CanvasItemEditor, type CanvasItemEventMap, type CanvasItemProperties, CanvasTexture, Color, ColorAdjustEffect, ColorFilterEffect, type ColorFilterEffectProperties, ColorMatrix, ColorOverlayEffect, ColorRemoveEffect, ColorReplaceEffect, ColorTexture, type ColorValue, type ComputedLayout, Control, type ControlEventMap, type ControlProperties, CoreObject, type CoreObjectEventMap, type CssFunction, type CssFunctionArg, type Cursor, DEG_TO_RAD, DEVICE_PIXEL_RATIO, type Easing, Effect, type EffectContext, EffectMaterial, type EffectMode, type EffectProperties, Element2D, type Element2DEventMap, type Element2DProperties, Element2DStyle, type Element2DStyleProperties, EmbossEffect, Engine, type EngineOptions, EventEmitter, type EventListener, type EventListenerOptions, type EventListenerValue, type FillDraw, type FlexBaseElement2DEventMap, FlexElement2D, type FlexElement2DProperties, FlexElement2DStyle, type FlexElement2DStyleProperties, FlexLayout, FontLoader, GIFLoader, Geometry, type GeometryOptions, GlitchEffect, GodrayEffect, Graphics2D, HTMLAudio, HTMLAudioContext, HTMLSound, type IAudioContext, type IAudioNode, IN_BROWSER, type IPlayOptions, Image2D, type Image2DProperties, type ImageFrame, ImageTexture, type ImageTextureOptions, IndexBuffer, type IndexBufferOptions, Input, InputEvent, type InputEventKey, type InputEventMap, type InternalMode, JSONLoader, KawaseTransition, type Keyframe, LeftEraseTransition, Loader, Lottie2D, type Lottie2DProperties, LottieLoader, MainLoop, type MainLoopEventMap, type MaskColor, type MaskData, MaskEffect, type MaskEffectProperties, type MaskObject, type MaskRect, type Maskable, Material, type MaterialOptions, Matrix, Matrix2, Matrix3, Matrix4, type MatrixLike, type MatrixOperateOutput, MouseInputEvent, Node, Node2D, type Node2DProperties, type NodeEventMap, type NodeProperties, type NormalizedKeyframe, PI, PI_2, PixelateEffect, PixelsTexture, type PlatformAudio, type PlatformSound, PointerInputEvent, type ProcessMode, type ProcessSortMode, Projection2D, type PropertyDeclaration, QuadGeometry, QuadUvGeometry, RAD_TO_DEG, Range, type RangeProperties, RawWeakMap, Rect2, type Rectangulable, type RectangulableEventMap, RefCounted, type RefCountedEventMap, type RenderMode, type RenderOptions, type Renderable, Renderer, Resource, type ResourceEventMap, Ruler, type RulerProperties, SUPPORTS_AUDIO_CONTEXT, SUPPORTS_CLICK_EVENTS, SUPPORTS_CREATE_IMAGE_BITMAP, SUPPORTS_IMAGE_BITMAP, SUPPORTS_MOUSE_EVENTS, SUPPORTS_OFFLINE_AUDIO_CONTEXT, SUPPORTS_POINTER_EVENTS, SUPPORTS_RESIZE_OBSERVER, SUPPORTS_TOUCH_EVENTS, SUPPORTS_WEBGL2, SUPPORTS_WEBKIT_AUDIO_CONTEXT, SUPPORTS_WEBKIT_OFFLINE_AUDIO_CONTEXT, SUPPORTS_WEB_AUDIO, SUPPORTS_WHEEL_EVENTS, Scaler, type ScalerEventMap, type ScalerProperties, SceneTree, type SceneTreeEventMap, ScrollBar, type ScrollBarProperties, ShadowEffect, type StrokeDraw, Text2D, type Text2DProperties, TextLoader, Texture2D, type Texture2DFilterMode, type Texture2DPixelsSource, type Texture2DSource, type Texture2DWrapMode, TextureLoader, TextureRect2D, type TextureRect2DProperties, Ticker, TiltShiftTransition, Timeline, type TimelineEventMap, TimelineNode, type TimelineNodeEventMap, type TimelineNodeProperties, type TimelineProperties, type TimingFunctions, Transform2D, type Transform2DObject, TransformRect2D, type TransformRect2DProperties, Transition, type TransitionProperties, TwistTransition, UvGeometry, UvMaterial, Vector, Vector2, Vector3, Vector4, type VectorLike, type VectorOperateOutput, VertexAttribute, type VertexAttributeOptions, VertexBuffer, type VertexBufferOptions, Video2D, type Video2DProperties, VideoLoader, VideoTexture, type VideoTextureOptions, type VideoTextureSource, Viewport, type ViewportEventMap, type ViewportFramebuffer, ViewportTexture, WebAudio, WebAudioContext, WebGLBatch2DModule, WebGLBlendMode, type WebGLBufferMeta, WebGLBufferModule, type WebGLBufferOptions, type WebGLBufferTarget, type WebGLBufferUsage, type WebGLDrawMode, type WebGLDrawOptions, type WebGLExtensions, type WebGLFramebufferMeta, WebGLFramebufferModule, type WebGLFramebufferOptions, WebGLMaskModule, WebGLModule, type WebGLProgramMeta, WebGLProgramModule, type WebGLProgramOptions, WebGLRenderer, WebGLScissorModule, WebGLState, WebGLStateModule, WebGLStencilModule, type WebGLTarget, type WebGLTextureFilterMode, type WebGLTextureLocation, type WebGLTextureMeta, WebGLTextureModule, type WebGLTextureOptions, type WebGLTextureSource, type WebGLTextureTarget, type WebGLTextureWrapMode, WebGLVertexArrayModule, type WebGLVertexArrayObjectMeta, type WebGLVertexArrayObjectOptions, type WebGLVertexAttrib, type WebGLVertexAttribType, type WebGLViewport, WebGLViewportModule, WebSound, WheelInputEvent, XScrollBar, type XScrollBarProperties, YScrollBar, type YScrollBarProperties, ZoomBlurEffect, assets, clamp, createHTMLCanvas, createNode, crossOrigin, cubicBezier, curves, customNode, customNodes, defaultOptions, defineProperty, determineCrossOrigin, ease, easeIn, easeInOut, easeOut, getDeclarations, getDefaultCssPropertyValue, isCanvasElement, isElementNode, isImageElement, isPow2, isVideoElement, isWebgl2, lerp, linear, log2, mapWebGLBlendModes, nextPow2, nextTick, parseCSSFilter, parseCSSTransform, parseCSSTransformOrigin, parseCssFunctions, parseCssProperty, property, protectedProperty, render, timingFunctions, uid };
3138
+ export { AnimatedTexture, Animation, type AnimationEffectMode, type AnimationProperties, type AssetHandler, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, type AudioWaveformProperties, BaseElement2D, type BaseElement2DEventMap, type BaseElement2DProperties, BaseElement2DStyle, type BaseElement2DStyleProperties, type Batchable2D, BlurEffect, type BlurEffectProperties, type CSSFilterKey, type CSSFilters, type CanvasBatchable, CanvasContext, CanvasItem, CanvasItemEditor, type CanvasItemEventMap, type CanvasItemProperties, CanvasTexture, Color, ColorAdjustEffect, type ColorAdjustEffectProperties, ColorFilterEffect, type ColorFilterEffectProperties, ColorMatrix, ColorOverlayEffect, type ColorOverlayEffectProperties, ColorRemoveEffect, type ColorRemoveEffectProperties, ColorReplaceEffect, type ColorReplaceEffectProperties, ColorTexture, type ColorValue, type ComputedLayout, Control, type ControlEventMap, type ControlProperties, CoreObject, type CoreObjectEventMap, type CssFunction, type CssFunctionArg, type Cursor, DEG_TO_RAD, DEVICE_PIXEL_RATIO, DropShadowEffect, type DropShadowEffectProperties, type Easing, Effect, type EffectContext, EffectMaterial, type EffectMode, type EffectProperties, Element2D, type Element2DEventMap, type Element2DProperties, Element2DStyle, type Element2DStyleProperties, EmbossEffect, type EmbossEffectProperties, Engine, type EngineOptions, EventEmitter, type EventListener, type EventListenerOptions, type EventListenerValue, type FillDraw, type FlexBaseElement2DEventMap, FlexElement2D, type FlexElement2DProperties, FlexElement2DStyle, type FlexElement2DStyleProperties, FlexLayout, FontLoader, GIFLoader, Geometry, type GeometryOptions, GlitchEffect, type GlitchEffectProperties, GodrayEffect, type GodrayEffectProperties, Graphics2D, HTMLAudio, HTMLAudioContext, HTMLSound, type IAudioContext, type IAudioNode, IN_BROWSER, type IPlayOptions, Image2D, type Image2DProperties, type ImageFrame, ImageTexture, type ImageTextureOptions, IndexBuffer, type IndexBufferOptions, Input, InputEvent, type InputEventKey, type InputEventMap, type InternalMode, JSONLoader, KawaseBlurEffect, type KawaseBlurEffectProperties, KawaseTransition, type Keyframe, LeftEraseTransition, Loader, Lottie2D, type Lottie2DProperties, LottieLoader, MainLoop, type MainLoopEventMap, type MaskColor, type MaskData, MaskEffect, type MaskEffectProperties, type MaskObject, type MaskRect, type Maskable, Material, type MaterialOptions, Matrix, Matrix2, Matrix3, Matrix4, type MatrixLike, type MatrixOperateOutput, MouseInputEvent, Node, Node2D, type Node2DProperties, type NodeEventMap, type NodeProperties, type NormalizedKeyframe, OutlineEffect, type OutlineEffectProperties, PI, PI_2, PixelateEffect, type PixelateEffectProperties, PixelsTexture, type PlatformAudio, type PlatformSound, PointerInputEvent, type ProcessMode, type ProcessSortMode, Projection2D, type PropertyDeclaration, QuadGeometry, QuadUvGeometry, RAD_TO_DEG, Range, type RangeProperties, RawWeakMap, Rect2, type Rectangulable, type RectangulableEventMap, RefCounted, type RefCountedEventMap, type RenderMode, type RenderOptions, type Renderable, Renderer, Resource, type ResourceEventMap, Ruler, type RulerProperties, SUPPORTS_AUDIO_CONTEXT, SUPPORTS_CLICK_EVENTS, SUPPORTS_CREATE_IMAGE_BITMAP, SUPPORTS_IMAGE_BITMAP, SUPPORTS_MOUSE_EVENTS, SUPPORTS_OFFLINE_AUDIO_CONTEXT, SUPPORTS_POINTER_EVENTS, SUPPORTS_RESIZE_OBSERVER, SUPPORTS_TOUCH_EVENTS, SUPPORTS_WEBGL2, SUPPORTS_WEBKIT_AUDIO_CONTEXT, SUPPORTS_WEBKIT_OFFLINE_AUDIO_CONTEXT, SUPPORTS_WEB_AUDIO, SUPPORTS_WHEEL_EVENTS, Scaler, type ScalerEventMap, type ScalerProperties, SceneTree, type SceneTreeEventMap, ScrollBar, type ScrollBarProperties, type StrokeDraw, Text2D, type Text2DProperties, TextLoader, Texture2D, type Texture2DFilterMode, type Texture2DPixelsSource, type Texture2DSource, type Texture2DWrapMode, TextureLoader, TextureRect2D, type TextureRect2DProperties, Ticker, TiltShiftTransition, Timeline, type TimelineEventMap, TimelineNode, type TimelineNodeEventMap, type TimelineNodeProperties, type TimelineProperties, type TimingFunctions, Transform2D, type Transform2DObject, TransformRect2D, type TransformRect2DProperties, Transition, type TransitionProperties, TwistTransition, UvGeometry, UvMaterial, Vector, Vector2, Vector3, Vector4, type VectorLike, type VectorOperateOutput, VertexAttribute, type VertexAttributeOptions, VertexBuffer, type VertexBufferOptions, Video2D, type Video2DProperties, VideoLoader, VideoTexture, type VideoTextureOptions, type VideoTextureSource, Viewport, type ViewportEventMap, type ViewportFramebuffer, ViewportTexture, WebAudio, WebAudioContext, WebGLBatch2DModule, WebGLBlendMode, type WebGLBufferMeta, WebGLBufferModule, type WebGLBufferOptions, type WebGLBufferTarget, type WebGLBufferUsage, type WebGLDrawMode, type WebGLDrawOptions, type WebGLExtensions, type WebGLFramebufferMeta, WebGLFramebufferModule, type WebGLFramebufferOptions, WebGLMaskModule, WebGLModule, type WebGLProgramMeta, WebGLProgramModule, type WebGLProgramOptions, WebGLRenderer, WebGLScissorModule, WebGLState, WebGLStateModule, WebGLStencilModule, type WebGLTarget, type WebGLTextureFilterMode, type WebGLTextureLocation, type WebGLTextureMeta, WebGLTextureModule, type WebGLTextureOptions, type WebGLTextureSource, type WebGLTextureTarget, type WebGLTextureWrapMode, WebGLVertexArrayModule, type WebGLVertexArrayObjectMeta, type WebGLVertexArrayObjectOptions, type WebGLVertexAttrib, type WebGLVertexAttribType, type WebGLViewport, WebGLViewportModule, WebSound, WheelInputEvent, XScrollBar, type XScrollBarProperties, YScrollBar, type YScrollBarProperties, ZoomBlurEffect, type ZoomBlurEffectProperties, assets, clamp, clampFrag, createHTMLCanvas, createNode, crossOrigin, cubicBezier, curves, customNode, customNodes, defaultOptions, defineProperty, determineCrossOrigin, ease, easeIn, easeInOut, easeOut, frag, getDeclarations, getDefaultCssPropertyValue, isCanvasElement, isElementNode, isImageElement, isPow2, isVideoElement, isWebgl2, lerp, linear, log2, mapWebGLBlendModes, nextPow2, nextTick, parseCSSFilter, parseCSSTransform, parseCSSTransformOrigin, parseCssFunctions, parseCssProperty, property, protectedProperty, render, timingFunctions, uid };