modern-canvas 0.2.4 → 0.3.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/dist/index.d.mts CHANGED
@@ -4,6 +4,7 @@ import { AnyColor, Colord } from 'colord';
4
4
  import { IDOCTextStyleDeclaration, IDOCTransformStyleDeclaration, Visibility, Overflow } from 'modern-idoc';
5
5
  import { Path2D, LineStyle, LineCap, LineJoin } from 'modern-path2d';
6
6
  import { TextOptions, Text, MeasureResult } from 'modern-text';
7
+ import { Node as Node$1, Direction } from 'yoga-layout/load';
7
8
 
8
9
  declare abstract class Loader {
9
10
  abstract install(assets: Assets): this;
@@ -176,13 +177,13 @@ interface CoreObject {
176
177
  declare class CoreObject extends EventEmitter {
177
178
  readonly instanceId: number;
178
179
  protected _defaultProperties?: Record<PropertyKey, any>;
179
- protected _updatedProperties: Map<PropertyKey, unknown>;
180
+ protected _updatedProperties: Map<PropertyKey, any>;
180
181
  protected _changedProperties: Set<PropertyKey>;
181
182
  protected _updatingPromise: Promise<void>;
182
183
  protected _updating: boolean;
183
184
  protected _enqueueUpdate(): Promise<void>;
184
185
  protected _performUpdate(): void;
185
- protected _onUpdate(changed: Map<PropertyKey, unknown>): void;
186
+ protected _update(changed: Map<PropertyKey, any>): void;
186
187
  protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
187
188
  isDirty(key: string): boolean;
188
189
  getPropertyDeclarations(): Map<PropertyKey, PropertyDeclaration>;
@@ -1426,9 +1427,9 @@ interface CanvasItemStyleProperties extends IDOCTextStyleDeclaration, IDOCTransf
1426
1427
  outlineStyle: string;
1427
1428
  visibility: Visibility;
1428
1429
  overflow: Overflow;
1429
- pointerEvents: PointerEvents;
1430
+ pointerEvents: PointerEvents$1;
1430
1431
  }
1431
- type PointerEvents = 'auto' | 'none';
1432
+ type PointerEvents$1 = 'auto' | 'none';
1432
1433
  interface CanvasItemStyle extends CanvasItemStyleProperties {
1433
1434
  }
1434
1435
  declare class CanvasItemStyle extends Resource {
@@ -1449,7 +1450,7 @@ declare class CanvasItemStyle extends Resource {
1449
1450
  outlineStyle: 'none' | string;
1450
1451
  visibility: Visibility;
1451
1452
  overflow: Overflow;
1452
- pointerEvents: PointerEvents;
1453
+ pointerEvents: PointerEvents$1;
1453
1454
  protected _backgroundColor: Color;
1454
1455
  constructor(properties?: Partial<CanvasItemStyleProperties>);
1455
1456
  protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
@@ -1505,7 +1506,7 @@ interface RenderCall {
1505
1506
  parentCall: RenderCall | undefined;
1506
1507
  calls: RenderCall[];
1507
1508
  }
1508
- declare class RenderStack extends Node {
1509
+ declare class RenderStack {
1509
1510
  currentCall?: RenderCall;
1510
1511
  calls: RenderCall[];
1511
1512
  createCall(renderable: Node): RenderCall;
@@ -1633,7 +1634,7 @@ interface NodeEventMap extends CoreObjectEventMap, InputEventMap {
1633
1634
  processing: (delta?: number) => void;
1634
1635
  process: (delta?: number) => void;
1635
1636
  processed: (delta?: number) => void;
1636
- addChild: (child: Node) => void;
1637
+ appendChild: (child: Node) => void;
1637
1638
  removeChild: (child: Node, index: number) => void;
1638
1639
  moveChild: (child: Node, newIndex: number, oldIndex: number) => void;
1639
1640
  }
@@ -1712,11 +1713,11 @@ declare class Node extends CoreObject {
1712
1713
  getNode<T extends Node>(path: string): T | undefined;
1713
1714
  removeNode(path: string): void;
1714
1715
  addSibling(sibling: Node): this;
1715
- append(children: Node[]): this;
1716
- append(...children: Node[]): this;
1717
- addChild(child: Node, internalMode?: InternalMode): this;
1716
+ append(nodes: Node[]): void;
1717
+ append(...nodes: Node[]): void;
1718
+ appendChild<T extends Node>(node: T, internalMode?: InternalMode): T;
1718
1719
  moveChild(child: Node, toIndex: number, internalMode?: InternalMode): this;
1719
- removeChild(child: Node): this;
1720
+ removeChild<T extends Node>(child: T): T;
1720
1721
  removeChildren(): void;
1721
1722
  remove(): void;
1722
1723
  forEach(fn: (child: Node) => void): this;
@@ -2643,6 +2644,220 @@ declare class YScrollBar extends ScrollBar {
2643
2644
  constructor(properties?: Partial<YScrollBarProperties>, children?: Node[]);
2644
2645
  }
2645
2646
 
2647
+ type Align = 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline' | 'space-between' | 'space-around' | 'space-evenly';
2648
+ type FlexDirection = 'column' | 'column-reverse' | 'row' | 'row-reverse';
2649
+ type FlexWrap = 'no-wrap' | 'wrap' | 'Wrap-reverse';
2650
+ type Justify = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
2651
+ type Position = 'static' | 'relative' | 'absolute';
2652
+ type BoxSizing = 'border-box' | 'content-box';
2653
+ interface IDOCLayoutStyleDeclaration {
2654
+ alignContent: Align;
2655
+ alignItems: Align;
2656
+ alignSelf: Align;
2657
+ borderTop: string;
2658
+ borderLeft: string;
2659
+ borderRight: string;
2660
+ borderBottom: string;
2661
+ borderWidth: number;
2662
+ border: string;
2663
+ direction: 'inherit' | 'ltr' | 'rtl';
2664
+ display: 'none' | 'flex' | 'contents';
2665
+ flex: number;
2666
+ flexBasis: number | 'auto' | `${number}%`;
2667
+ flexDirection: FlexDirection;
2668
+ flexGrow: number;
2669
+ flexShrink: number;
2670
+ flexWrap: FlexWrap;
2671
+ height: number | 'auto' | `${number}%`;
2672
+ justifyContent: Justify;
2673
+ gap: number | `${number}%`;
2674
+ marginTop: number | 'auto' | `${number}%`;
2675
+ marginLeft: number | 'auto' | `${number}%`;
2676
+ marginRight: number | 'auto' | `${number}%`;
2677
+ marginBottom: number | 'auto' | `${number}%`;
2678
+ margin: number | 'auto' | `${number}%`;
2679
+ maxHeight: number | `${number}%`;
2680
+ maxWidth: number | `${number}%`;
2681
+ minHeight: number | `${number}%`;
2682
+ minWidth: number | `${number}%`;
2683
+ paddingTop: number | `${number}%`;
2684
+ paddingLeft: number | `${number}%`;
2685
+ paddingRight: number | `${number}%`;
2686
+ paddingBottom: number | `${number}%`;
2687
+ padding: number | `${number}%`;
2688
+ top: number | `${number}%`;
2689
+ bottom: number | `${number}%`;
2690
+ left: number | `${number}%`;
2691
+ right: number | `${number}%`;
2692
+ position: Position;
2693
+ boxSizing: BoxSizing;
2694
+ width: number | 'auto' | `${number}%`;
2695
+ }
2696
+ type ElementStyleFilterKey = 'hue-rotate' | 'saturate' | 'brightness' | 'contrast' | 'invert' | 'sepia' | 'opacity' | 'grayscale';
2697
+ type ElementStyleFilter = Record<ElementStyleFilterKey, number>;
2698
+ interface ElementStyleProperties extends IDOCTextStyleDeclaration, Omit<IDOCTransformStyleDeclaration, 'left' | 'top' | 'width' | 'height'>, IDOCLayoutStyleDeclaration {
2699
+ backgroundColor?: 'none' | ColorValue;
2700
+ backgroundImage?: string;
2701
+ filter: string;
2702
+ boxShadow: 'none' | string;
2703
+ maskImage: 'none' | string;
2704
+ opacity: number;
2705
+ borderWidth: number;
2706
+ borderRadius: number;
2707
+ borderColor: 'none' | ColorValue;
2708
+ borderStyle: string;
2709
+ outlineWidth: number;
2710
+ outlineOffset: number;
2711
+ outlineColor: 'none' | ColorValue;
2712
+ outlineStyle: string;
2713
+ visibility: Visibility;
2714
+ overflow: Overflow;
2715
+ pointerEvents: PointerEvents;
2716
+ }
2717
+ type PointerEvents = 'auto' | 'none';
2718
+ interface ElementStyle extends ElementStyleProperties {
2719
+ }
2720
+ declare class ElementStyle extends Resource {
2721
+ backgroundColor: 'none' | ColorValue;
2722
+ backgroundImage: 'none' | string;
2723
+ filter: 'none' | string;
2724
+ boxShadow: 'none' | string;
2725
+ maskImage: 'none' | string;
2726
+ opacity: number;
2727
+ borderRadius: number;
2728
+ borderColor: 'none' | ColorValue;
2729
+ borderStyle: 'none' | string;
2730
+ outlineWidth: number;
2731
+ outlineOffset: number;
2732
+ outlineColor: 'none' | ColorValue;
2733
+ outlineStyle: 'none' | string;
2734
+ visibility: Visibility;
2735
+ overflow: Overflow;
2736
+ pointerEvents: PointerEvents;
2737
+ alignContent: Align;
2738
+ alignItems: Align;
2739
+ alignSelf: Align;
2740
+ borderTop: string;
2741
+ borderLeft: string;
2742
+ borderRight: string;
2743
+ borderBottom: string;
2744
+ borderWidth: number;
2745
+ border: string;
2746
+ direction: 'inherit' | 'ltr' | 'rtl';
2747
+ display: 'none' | 'flex' | 'contents';
2748
+ flex: number;
2749
+ flexBasis: number | 'auto' | `${number}%`;
2750
+ flexDirection: FlexDirection;
2751
+ flexGrow: number;
2752
+ flexShrink: number;
2753
+ flexWrap: FlexWrap;
2754
+ height: number | 'auto' | `${number}%`;
2755
+ justifyContent: Justify;
2756
+ gap: number | `${number}%`;
2757
+ marginTop: number | 'auto' | `${number}%`;
2758
+ marginLeft: number | 'auto' | `${number}%`;
2759
+ marginRight: number | 'auto' | `${number}%`;
2760
+ marginBottom: number | 'auto' | `${number}%`;
2761
+ margin: number | 'auto' | `${number}%`;
2762
+ maxHeight: number | `${number}%`;
2763
+ maxWidth: number | `${number}%`;
2764
+ minHeight: number | `${number}%`;
2765
+ minWidth: number | `${number}%`;
2766
+ paddingTop: number | `${number}%`;
2767
+ paddingLeft: number | `${number}%`;
2768
+ paddingRight: number | `${number}%`;
2769
+ paddingBottom: number | `${number}%`;
2770
+ padding: number | `${number}%`;
2771
+ top: number | `${number}%`;
2772
+ bottom: number | `${number}%`;
2773
+ left: number | `${number}%`;
2774
+ right: number | `${number}%`;
2775
+ position: Position;
2776
+ boxSizing: BoxSizing;
2777
+ width: number | 'auto' | `${number}%`;
2778
+ protected _backgroundColor: Color;
2779
+ constructor(properties?: Partial<ElementStyleProperties>);
2780
+ protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
2781
+ canPointeEvents(): boolean;
2782
+ getComputedOpacity(): number;
2783
+ getComputedBackgroundColor(): Color;
2784
+ loadBackgroundImage(): Promise<Texture2D<ImageBitmap> | undefined>;
2785
+ getComputedTransformOrigin(): number[];
2786
+ protected _defaultFilter: ElementStyleFilter;
2787
+ getComputedFilter(): ElementStyleFilter;
2788
+ getComputedFilterColorMatrix(): ColorMatrix;
2789
+ }
2790
+
2791
+ interface ElementProperties extends NodeProperties {
2792
+ style: Partial<ElementStyleProperties>;
2793
+ modulate: ColorValue;
2794
+ blendMode: WebGLBlendMode;
2795
+ }
2796
+ declare class Element$1 extends Node {
2797
+ modulate?: ColorValue;
2798
+ blendMode?: WebGLBlendMode;
2799
+ static layoutEngine?: any;
2800
+ static loadLayoutEngine(): Promise<void>;
2801
+ protected _style: ElementStyle;
2802
+ get style(): ElementStyle;
2803
+ set style(style: ElementStyle);
2804
+ _layout: Node$1;
2805
+ transform: Transform2D;
2806
+ protected _parentTransformDirtyId?: number;
2807
+ opacity: number;
2808
+ visible: boolean;
2809
+ protected _parentOpacity?: number;
2810
+ protected _parentVisible?: boolean;
2811
+ protected _modulate: Color;
2812
+ protected _backgroundImage?: Texture2D;
2813
+ context: CanvasContext;
2814
+ protected _resetContext: boolean;
2815
+ protected _redrawing: boolean;
2816
+ protected _reflowing: boolean;
2817
+ protected _repainting: boolean;
2818
+ protected _originalBatchables: CanvasBatchable[];
2819
+ protected _layoutedBatchables: CanvasBatchable[];
2820
+ protected _batchables: CanvasBatchable[];
2821
+ constructor(properties?: Partial<ElementProperties>, children?: Node[]);
2822
+ setProperties(properties?: Record<PropertyKey, any>): this;
2823
+ protected _parented(parent: Node): void;
2824
+ protected _unparented(oldParent: Node): void;
2825
+ protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
2826
+ protected _updateStyleProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
2827
+ protected _updateBoxShadow(): void;
2828
+ protected _updateMaskImage(): void;
2829
+ protected _updateBackgroundColor(): void;
2830
+ protected _updateBackgroundImage(): Promise<void>;
2831
+ protected _updateOpacity(): void;
2832
+ protected _updateVisible(): void;
2833
+ protected _updateTransform(): void;
2834
+ getRect(): Rect2;
2835
+ protected _updateOverflow(): void;
2836
+ show(): void;
2837
+ hide(): void;
2838
+ isVisibleInTree(): boolean;
2839
+ canRender(): boolean;
2840
+ requestRedraw(): void;
2841
+ requestReflow(): void;
2842
+ requestRepaint(): void;
2843
+ protected _process(delta: number): void;
2844
+ protected _transformVertices(vertices: number[]): number[];
2845
+ protected _draw(): void;
2846
+ protected _drawBackground(): void;
2847
+ protected _drawContent(): void;
2848
+ protected _drawBorder(): void;
2849
+ protected _drawOutline(): void;
2850
+ protected _drawBoundingRect(): void;
2851
+ protected _fillBoundingRect(): void;
2852
+ protected _strokeBoundingRect(): void;
2853
+ protected _relayout(batchables: CanvasBatchable[]): CanvasBatchable[];
2854
+ protected _reflow(batchables: CanvasBatchable[]): CanvasBatchable[];
2855
+ protected _repaint(batchables: CanvasBatchable[]): CanvasBatchable[];
2856
+ calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?: Direction): void;
2857
+ protected _render(renderer: WebGLRenderer): void;
2858
+ toJSON(): Record<string, any>;
2859
+ }
2860
+
2646
2861
  interface ScalerEventMap extends NodeEventMap {
2647
2862
  updateScale: (scale: number) => void;
2648
2863
  }
@@ -2669,9 +2884,9 @@ declare class Scaler extends Node {
2669
2884
  }
2670
2885
 
2671
2886
  declare class KawaseTransition extends Transition {
2672
- static material: Material;
2673
2887
  blur: number;
2674
2888
  quality: number;
2889
+ static material: Material;
2675
2890
  apply(renderer: WebGLRenderer, target: Viewport): void;
2676
2891
  }
2677
2892
 
@@ -2681,18 +2896,18 @@ declare class LeftEraseTransition extends Transition {
2681
2896
  }
2682
2897
 
2683
2898
  declare class TiltShiftTransition extends Transition {
2684
- static material: Material;
2685
2899
  blur: number;
2686
2900
  gradientBlur: number;
2901
+ static material: Material;
2687
2902
  apply(renderer: WebGLRenderer, target: Viewport): void;
2688
2903
  }
2689
2904
 
2690
2905
  declare class TwistTransition extends Transition {
2691
- static material: Material;
2692
2906
  radius?: number;
2693
2907
  angle: number;
2694
2908
  padding: number;
2695
2909
  offset?: number;
2910
+ static material: Material;
2696
2911
  apply(renderer: WebGLRenderer, source: Viewport): void;
2697
2912
  }
2698
2913
 
@@ -2757,8 +2972,7 @@ declare class Assets {
2757
2972
  }
2758
2973
  declare const assets: Assets;
2759
2974
 
2760
- declare class CanvasEditor extends Control {
2761
- name: string;
2975
+ declare class CanvasItemEditor extends Control {
2762
2976
  hover: Node2D;
2763
2977
  selectionRect: Node2D;
2764
2978
  selector: Node2D;
@@ -2780,6 +2994,7 @@ declare class CanvasEditor extends Control {
2780
2994
  protected _onPointermove(e: PointerInputEvent): void;
2781
2995
  protected _onPointerup(): void;
2782
2996
  protected _onHover(): void;
2997
+ protected _updateScrollbars(): void;
2783
2998
  }
2784
2999
 
2785
3000
  interface EngineOptions extends WebGLContextAttributes {
@@ -2849,4 +3064,4 @@ interface RenderOptions {
2849
3064
  }
2850
3065
  declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
2851
3066
 
2852
- export { Animation, type AnimationEffectMode, type AnimationProperties, type AssetHandler, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, type AudioWaveformProperties, type Batchable2D, BlurEffect, type CanvasBatchable, CanvasContext, CanvasEditor, CanvasItem, type CanvasItemEventMap, type CanvasItemProperties, CanvasItemStyle, type CanvasItemStyleFilter, type CanvasItemStyleFilterKey, type CanvasItemStyleProperties, CanvasTexture, Color, ColorAdjustEffect, ColorFilterEffect, type ColorFilterEffectProperties, ColorMatrix, ColorOverlayEffect, ColorRemoveEffect, ColorReplaceEffect, ColorTexture, type ColorValue, 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, EmbossEffect, Engine, type EngineOptions, EventEmitter, type EventListener, type EventListenerOptions, type EventListenerValue, type FilledGraphics, FontLoader, Geometry, type GeometryOptions, GifLoader, GlitchEffect, GodrayEffect, Graphics2D, HTMLAudio, HTMLAudioContext, HTMLSound, type IAudioContext, type IAudioNode, IN_BROWSER, type IPlayOptions, Image2D, type Image2DProperties, Image2DResource, 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, type PointerEvents, PointerInputEvent, type ProcessMode, Projection2D, type PropertyDeclaration, QuadGeometry, QuadUvGeometry, RAD_TO_DEG, Range, type RangeProperties, RawWeakMap, Rect2, 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 StrokedGraphics, 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, 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, parseCssFunctions, parseCssProperty, property, protectedProperty, render, timingFunctions, uid };
3067
+ export { Animation, type AnimationEffectMode, type AnimationProperties, type AssetHandler, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, type AudioWaveformProperties, type Batchable2D, BlurEffect, type CanvasBatchable, CanvasContext, CanvasItem, CanvasItemEditor, type CanvasItemEventMap, type CanvasItemProperties, CanvasItemStyle, type CanvasItemStyleFilter, type CanvasItemStyleFilterKey, type CanvasItemStyleProperties, CanvasTexture, Color, ColorAdjustEffect, ColorFilterEffect, type ColorFilterEffectProperties, ColorMatrix, ColorOverlayEffect, ColorRemoveEffect, ColorReplaceEffect, ColorTexture, type ColorValue, 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, Element$1 as Element, type ElementProperties, ElementStyle, type ElementStyleFilter, type ElementStyleFilterKey, type ElementStyleProperties, EmbossEffect, Engine, type EngineOptions, EventEmitter, type EventListener, type EventListenerOptions, type EventListenerValue, type FilledGraphics, FontLoader, Geometry, type GeometryOptions, GifLoader, GlitchEffect, GodrayEffect, Graphics2D, HTMLAudio, HTMLAudioContext, HTMLSound, type IAudioContext, type IAudioNode, type IDOCLayoutStyleDeclaration, IN_BROWSER, type IPlayOptions, Image2D, type Image2DProperties, Image2DResource, 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, type PointerEvents$1 as PointerEvents, PointerInputEvent, type ProcessMode, Projection2D, type PropertyDeclaration, QuadGeometry, QuadUvGeometry, RAD_TO_DEG, Range, type RangeProperties, RawWeakMap, Rect2, 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 StrokedGraphics, 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, 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, parseCssFunctions, parseCssProperty, property, protectedProperty, render, timingFunctions, uid };