modern-canvas 0.2.1 → 0.2.3
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/README.md +11 -1
- package/dist/index.cjs +4728 -4582
- package/dist/index.d.cts +80 -49
- package/dist/index.d.mts +80 -49
- package/dist/index.d.ts +80 -49
- package/dist/index.js +36 -36
- package/dist/index.mjs +4729 -4583
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1410,21 +1410,19 @@ type CanvasItemStyleFilterKey = 'hue-rotate' | 'saturate' | 'brightness' | 'cont
|
|
|
1410
1410
|
type CanvasItemStyleFilter = Record<CanvasItemStyleFilterKey, number>;
|
|
1411
1411
|
interface CanvasItemStyleProperties extends IDOCTextStyleDeclaration, IDOCTransformStyleDeclaration {
|
|
1412
1412
|
direction: 'inherit' | 'ltr' | 'rtl';
|
|
1413
|
-
backgroundColor?: ColorValue;
|
|
1413
|
+
backgroundColor?: 'none' | ColorValue;
|
|
1414
1414
|
backgroundImage?: string;
|
|
1415
1415
|
filter: string;
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
shadowOffsetY: number;
|
|
1419
|
-
shadowBlur: number;
|
|
1416
|
+
boxShadow: 'none' | string;
|
|
1417
|
+
maskImage: 'none' | string;
|
|
1420
1418
|
opacity: number;
|
|
1421
1419
|
borderWidth: number;
|
|
1422
1420
|
borderRadius: number;
|
|
1423
|
-
borderColor: ColorValue;
|
|
1421
|
+
borderColor: 'none' | ColorValue;
|
|
1424
1422
|
borderStyle: string;
|
|
1425
1423
|
outlineWidth: number;
|
|
1426
1424
|
outlineOffset: number;
|
|
1427
|
-
outlineColor: ColorValue;
|
|
1425
|
+
outlineColor: 'none' | ColorValue;
|
|
1428
1426
|
outlineStyle: string;
|
|
1429
1427
|
visibility: Visibility;
|
|
1430
1428
|
overflow: Overflow;
|
|
@@ -1434,23 +1432,21 @@ type PointerEvents = 'auto' | 'none';
|
|
|
1434
1432
|
interface CanvasItemStyle extends CanvasItemStyleProperties {
|
|
1435
1433
|
}
|
|
1436
1434
|
declare class CanvasItemStyle extends Resource {
|
|
1437
|
-
backgroundColor
|
|
1438
|
-
backgroundImage
|
|
1439
|
-
filter: string;
|
|
1435
|
+
backgroundColor: 'none' | ColorValue;
|
|
1436
|
+
backgroundImage: 'none' | string;
|
|
1437
|
+
filter: 'none' | string;
|
|
1440
1438
|
direction: 'inherit' | 'ltr' | 'rtl';
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
shadowOffsetY: number;
|
|
1444
|
-
shadowBlur: number;
|
|
1439
|
+
boxShadow: 'none' | string;
|
|
1440
|
+
maskImage: 'none' | string;
|
|
1445
1441
|
opacity: number;
|
|
1446
1442
|
borderWidth: number;
|
|
1447
1443
|
borderRadius: number;
|
|
1448
|
-
borderColor:
|
|
1449
|
-
borderStyle: string;
|
|
1444
|
+
borderColor: 'none' | ColorValue;
|
|
1445
|
+
borderStyle: 'none' | string;
|
|
1450
1446
|
outlineWidth: number;
|
|
1451
1447
|
outlineOffset: number;
|
|
1452
|
-
outlineColor:
|
|
1453
|
-
outlineStyle: string;
|
|
1448
|
+
outlineColor: 'none' | ColorValue;
|
|
1449
|
+
outlineStyle: 'none' | string;
|
|
1454
1450
|
visibility: Visibility;
|
|
1455
1451
|
overflow: Overflow;
|
|
1456
1452
|
pointerEvents: PointerEvents;
|
|
@@ -1460,7 +1456,7 @@ declare class CanvasItemStyle extends Resource {
|
|
|
1460
1456
|
canPointeEvents(): boolean;
|
|
1461
1457
|
getComputedOpacity(): number;
|
|
1462
1458
|
getComputedBackgroundColor(): Color;
|
|
1463
|
-
|
|
1459
|
+
loadBackgroundImage(): Promise<Texture2D<ImageBitmap> | undefined>;
|
|
1464
1460
|
getComputedTransform(): Transform2D;
|
|
1465
1461
|
getComputedTransformOrigin(): number[];
|
|
1466
1462
|
getComputedFilter(): CanvasItemStyleFilter;
|
|
@@ -1682,8 +1678,8 @@ declare class Node extends CoreObject {
|
|
|
1682
1678
|
get parent(): Node | undefined;
|
|
1683
1679
|
set parent(parent: Node | undefined);
|
|
1684
1680
|
hasParent(): boolean;
|
|
1685
|
-
getParent():
|
|
1686
|
-
setParent(parent:
|
|
1681
|
+
getParent<T extends Node = Node>(): T | undefined;
|
|
1682
|
+
setParent<T extends Node = Node>(parent: T | undefined): this;
|
|
1687
1683
|
/** Children */
|
|
1688
1684
|
protected _children: Node[];
|
|
1689
1685
|
get siblingIndex(): number;
|
|
@@ -1776,7 +1772,6 @@ declare class TimelineNode extends Node {
|
|
|
1776
1772
|
}
|
|
1777
1773
|
|
|
1778
1774
|
interface CanvasItemProperties extends TimelineNodeProperties {
|
|
1779
|
-
visible: boolean;
|
|
1780
1775
|
style: Partial<CanvasItemStyleProperties>;
|
|
1781
1776
|
modulate: ColorValue;
|
|
1782
1777
|
blendMode: WebGLBlendMode;
|
|
@@ -1791,7 +1786,6 @@ interface CanvasItem {
|
|
|
1791
1786
|
emit: (<K extends keyof CanvasItemEventMap>(type: K, ...args: Parameters<CanvasItemEventMap[K]>) => boolean) & ((type: string, ...args: any[]) => boolean);
|
|
1792
1787
|
}
|
|
1793
1788
|
declare class CanvasItem extends TimelineNode {
|
|
1794
|
-
visible: boolean;
|
|
1795
1789
|
modulate?: ColorValue;
|
|
1796
1790
|
blendMode?: WebGLBlendMode;
|
|
1797
1791
|
protected _style: CanvasItemStyle;
|
|
@@ -1799,10 +1793,11 @@ declare class CanvasItem extends TimelineNode {
|
|
|
1799
1793
|
set style(style: CanvasItemStyle);
|
|
1800
1794
|
/** @internal */
|
|
1801
1795
|
opacity: number;
|
|
1796
|
+
visible: boolean;
|
|
1802
1797
|
protected _parentOpacity?: number;
|
|
1798
|
+
protected _parentVisible?: boolean;
|
|
1803
1799
|
protected _modulate: Color;
|
|
1804
1800
|
protected _backgroundImage?: Texture2D;
|
|
1805
|
-
_computedVisible: boolean;
|
|
1806
1801
|
context: CanvasContext;
|
|
1807
1802
|
protected _resetContext: boolean;
|
|
1808
1803
|
protected _redrawing: boolean;
|
|
@@ -1815,9 +1810,12 @@ declare class CanvasItem extends TimelineNode {
|
|
|
1815
1810
|
setProperties(properties?: Record<PropertyKey, any>): this;
|
|
1816
1811
|
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1817
1812
|
protected _updateStyleProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1813
|
+
protected _updateBoxShadow(): void;
|
|
1814
|
+
protected _updateMaskImage(): void;
|
|
1818
1815
|
protected _updateBackgroundColor(): void;
|
|
1819
1816
|
protected _updateBackgroundImage(): Promise<void>;
|
|
1820
1817
|
protected _updateOpacity(): void;
|
|
1818
|
+
protected _updateCurrentTime(force?: boolean): void;
|
|
1821
1819
|
protected _updateVisible(): void;
|
|
1822
1820
|
show(): void;
|
|
1823
1821
|
hide(): void;
|
|
@@ -1833,8 +1831,8 @@ declare class CanvasItem extends TimelineNode {
|
|
|
1833
1831
|
protected _drawBorder(): void;
|
|
1834
1832
|
protected _drawOutline(): void;
|
|
1835
1833
|
protected _drawBoundingRect(): void;
|
|
1836
|
-
protected
|
|
1837
|
-
protected
|
|
1834
|
+
protected _fillBoundingRect(): void;
|
|
1835
|
+
protected _strokeBoundingRect(): void;
|
|
1838
1836
|
protected _relayout(batchables: CanvasBatchable[]): CanvasBatchable[];
|
|
1839
1837
|
protected _reflow(batchables: CanvasBatchable[]): CanvasBatchable[];
|
|
1840
1838
|
protected _repaint(batchables: CanvasBatchable[]): CanvasBatchable[];
|
|
@@ -1850,6 +1848,7 @@ declare class Node2D extends CanvasItem {
|
|
|
1850
1848
|
constructor(properties?: Partial<Node2DProperties>, children?: Node[]);
|
|
1851
1849
|
protected _updateStyleProperty(key: PropertyKey, value: any, oldValue: any): void;
|
|
1852
1850
|
protected _updateTransform(): void;
|
|
1851
|
+
getRect(): Rect2;
|
|
1853
1852
|
protected _updateOverflow(): void;
|
|
1854
1853
|
protected _transformVertices(vertices: number[]): number[];
|
|
1855
1854
|
protected _reflow(batchables: CanvasBatchable[]): CanvasBatchable[];
|
|
@@ -1919,14 +1918,12 @@ declare class Image2D extends Node2D {
|
|
|
1919
1918
|
protected _updateFrameIndex(): this;
|
|
1920
1919
|
protected _process(delta: number): void;
|
|
1921
1920
|
protected _drawContent(): void;
|
|
1922
|
-
protected _repaint(batchables: CanvasBatchable[]): CanvasBatchable[];
|
|
1923
1921
|
}
|
|
1924
1922
|
|
|
1925
1923
|
interface TextureRect2DProperties extends Node2DProperties {
|
|
1926
1924
|
}
|
|
1927
1925
|
declare class TextureRect2D<T extends Texture2D = Texture2D> extends Node2D implements Rectangulable {
|
|
1928
1926
|
texture?: T;
|
|
1929
|
-
getRect(): Rect2;
|
|
1930
1927
|
protected _drawContent(): void;
|
|
1931
1928
|
}
|
|
1932
1929
|
|
|
@@ -2020,8 +2017,6 @@ interface NormalizedKeyframe {
|
|
|
2020
2017
|
type AnimationMode = 'parent' | 'sibling';
|
|
2021
2018
|
interface AnimationProperties extends TimelineNodeProperties {
|
|
2022
2019
|
animationMode: AnimationMode;
|
|
2023
|
-
startTime: number;
|
|
2024
|
-
duration: number;
|
|
2025
2020
|
loop: boolean;
|
|
2026
2021
|
keyframes: Keyframe[];
|
|
2027
2022
|
}
|
|
@@ -2369,11 +2364,11 @@ declare class AudioWaveform extends Node2D {
|
|
|
2369
2364
|
}
|
|
2370
2365
|
|
|
2371
2366
|
type EffectMode = 'before' | 'parent' | 'children' | 'transition';
|
|
2372
|
-
interface
|
|
2373
|
-
mode
|
|
2374
|
-
glsl
|
|
2375
|
-
glslSrc
|
|
2376
|
-
material
|
|
2367
|
+
interface EffectProperties extends TimelineNodeProperties {
|
|
2368
|
+
mode: EffectMode;
|
|
2369
|
+
glsl: string;
|
|
2370
|
+
glslSrc: string;
|
|
2371
|
+
material: Material;
|
|
2377
2372
|
}
|
|
2378
2373
|
interface EffectContext {
|
|
2379
2374
|
redraw?: boolean;
|
|
@@ -2399,7 +2394,7 @@ declare class Effect extends TimelineNode {
|
|
|
2399
2394
|
/** Temporary nodes for transition */
|
|
2400
2395
|
protected _previousSibling?: Node;
|
|
2401
2396
|
protected _nextSibling?: Node;
|
|
2402
|
-
constructor(
|
|
2397
|
+
constructor(properties?: Partial<EffectProperties>, children?: Node[]);
|
|
2403
2398
|
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2404
2399
|
protected _treeEnter(tree: SceneTree): void;
|
|
2405
2400
|
protected _treeExit(oldTree: SceneTree): void;
|
|
@@ -2523,13 +2518,13 @@ declare class LeftEraseEffect extends Effect {
|
|
|
2523
2518
|
apply(renderer: WebGLRenderer): void;
|
|
2524
2519
|
}
|
|
2525
2520
|
|
|
2526
|
-
interface
|
|
2521
|
+
interface MaskEffectProperties extends EffectProperties {
|
|
2527
2522
|
src?: string;
|
|
2528
2523
|
}
|
|
2529
2524
|
declare class MaskEffect extends Effect {
|
|
2530
2525
|
texture?: Texture2D<ImageBitmap>;
|
|
2531
2526
|
src: string;
|
|
2532
|
-
constructor(
|
|
2527
|
+
constructor(properties?: Partial<MaskEffectProperties>, children?: Node[]);
|
|
2533
2528
|
load(): Promise<void>;
|
|
2534
2529
|
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2535
2530
|
apply(renderer: WebGLRenderer, source: Viewport, context: EffectContext): void;
|
|
@@ -2595,6 +2590,27 @@ declare class Control extends CanvasItem implements Rectangulable {
|
|
|
2595
2590
|
getRect(): Rect2;
|
|
2596
2591
|
}
|
|
2597
2592
|
|
|
2593
|
+
interface RangeProperties extends ControlProperties {
|
|
2594
|
+
allowGreater: boolean;
|
|
2595
|
+
allowLesser: boolean;
|
|
2596
|
+
page: number;
|
|
2597
|
+
minValue: number;
|
|
2598
|
+
maxValue: number;
|
|
2599
|
+
step: number;
|
|
2600
|
+
value: number;
|
|
2601
|
+
}
|
|
2602
|
+
declare class Range extends Control {
|
|
2603
|
+
allowGreater: boolean;
|
|
2604
|
+
allowLesser: boolean;
|
|
2605
|
+
page: number;
|
|
2606
|
+
minValue: number;
|
|
2607
|
+
maxValue: number;
|
|
2608
|
+
step: number;
|
|
2609
|
+
value: number;
|
|
2610
|
+
constructor(properties?: Partial<RangeProperties>, children?: Node[]);
|
|
2611
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2598
2614
|
interface RulerProperties extends ControlProperties {
|
|
2599
2615
|
offsetX: number;
|
|
2600
2616
|
offsetY: number;
|
|
@@ -2624,22 +2640,36 @@ declare class Ruler extends Control {
|
|
|
2624
2640
|
protected _draw(): void;
|
|
2625
2641
|
}
|
|
2626
2642
|
|
|
2627
|
-
interface ScrollBarProperties extends
|
|
2643
|
+
interface ScrollBarProperties extends RangeProperties {
|
|
2628
2644
|
direction: 'vertical' | 'horizontal';
|
|
2629
2645
|
}
|
|
2630
|
-
declare class ScrollBar extends
|
|
2646
|
+
declare class ScrollBar extends Range {
|
|
2631
2647
|
direction: 'vertical' | 'horizontal';
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
protected _parentUpdateRect(): void;
|
|
2648
|
+
constructor(properties?: Partial<ScrollBarProperties>, children?: Node[]);
|
|
2649
|
+
protected _updateStyleProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2635
2650
|
protected _guiInput(event: InputEvent, key: InputEventKey): void;
|
|
2636
2651
|
protected _draw(): void;
|
|
2637
2652
|
}
|
|
2638
2653
|
|
|
2654
|
+
interface XScrollBarProperties extends Omit<ScrollBarProperties, 'direction'> {
|
|
2655
|
+
}
|
|
2656
|
+
declare class XScrollBar extends ScrollBar {
|
|
2657
|
+
constructor(properties?: Partial<XScrollBarProperties>, children?: Node[]);
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
interface YScrollBarProperties extends Omit<ScrollBarProperties, 'direction'> {
|
|
2661
|
+
}
|
|
2662
|
+
declare class YScrollBar extends ScrollBar {
|
|
2663
|
+
constructor(properties?: Partial<YScrollBarProperties>, children?: Node[]);
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2639
2666
|
interface ScalerEventMap extends NodeEventMap {
|
|
2640
2667
|
updateScale: (scale: number) => void;
|
|
2641
2668
|
}
|
|
2642
2669
|
interface ScalerProperties extends NodeProperties {
|
|
2670
|
+
value: number;
|
|
2671
|
+
minValue: number;
|
|
2672
|
+
maxValue: number;
|
|
2643
2673
|
}
|
|
2644
2674
|
interface Scaler {
|
|
2645
2675
|
on: (<K extends keyof ScalerEventMap>(type: K, listener: ScalerEventMap[K], options?: EventListenerOptions) => this) & ((type: string, listener: EventListenerValue, options?: EventListenerOptions) => this);
|
|
@@ -2647,9 +2677,9 @@ interface Scaler {
|
|
|
2647
2677
|
emit: (<K extends keyof ScalerEventMap>(type: K, ...args: Parameters<ScalerEventMap[K]>) => boolean) & ((type: string, ...args: any[]) => boolean);
|
|
2648
2678
|
}
|
|
2649
2679
|
declare class Scaler extends Node {
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2680
|
+
value: number;
|
|
2681
|
+
minValue: number;
|
|
2682
|
+
maxValue: number;
|
|
2653
2683
|
get target(): CanvasItem | undefined;
|
|
2654
2684
|
constructor(properties?: Partial<ScalerProperties>, children?: Node[]);
|
|
2655
2685
|
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
@@ -2725,8 +2755,8 @@ declare class CanvasEditor extends Control {
|
|
|
2725
2755
|
selectionRect: Node2D;
|
|
2726
2756
|
selector: Node2D;
|
|
2727
2757
|
scaler: Scaler;
|
|
2728
|
-
xScrollBar:
|
|
2729
|
-
yScrollBar:
|
|
2758
|
+
xScrollBar: XScrollBar;
|
|
2759
|
+
yScrollBar: YScrollBar;
|
|
2730
2760
|
drawboard: Node2D;
|
|
2731
2761
|
ruler: Ruler;
|
|
2732
2762
|
protected _pointerStart?: CanvasItemStyle;
|
|
@@ -2736,6 +2766,7 @@ declare class CanvasEditor extends Control {
|
|
|
2736
2766
|
};
|
|
2737
2767
|
selected?: CanvasItem;
|
|
2738
2768
|
constructor();
|
|
2769
|
+
protected _updateStyleProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2739
2770
|
protected _guiInput(event: InputEvent, key: InputEventKey): void;
|
|
2740
2771
|
protected _onPointerdown(e: PointerInputEvent): void;
|
|
2741
2772
|
protected _onPointermove(e: PointerInputEvent): void;
|
|
@@ -2810,4 +2841,4 @@ interface RenderOptions {
|
|
|
2810
2841
|
}
|
|
2811
2842
|
declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
|
|
2812
2843
|
|
|
2813
|
-
export { Animation, type AnimationMode, 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
|
|
2844
|
+
export { Animation, type AnimationMode, 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, KawaseEffect, type Keyframe, LeftEraseEffect, 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, TiltShiftEffect, Timeline, type TimelineEventMap, TimelineNode, type TimelineNodeEventMap, type TimelineNodeProperties, type TimelineProperties, type TimingFunctions, Transform2D, type Transform2DObject, TwistEffect, 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 };
|