modern-canvas 0.4.21 → 0.4.23
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.cjs +932 -546
- package/dist/index.d.cts +150 -56
- package/dist/index.d.mts +150 -56
- package/dist/index.d.ts +150 -56
- package/dist/index.js +129 -129
- package/dist/index.mjs +928 -547
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Font } from 'modern-font';
|
|
2
2
|
import { AnimationItem } from 'lottie-web';
|
|
3
3
|
import { AnyColor, Colord } from 'colord';
|
|
4
|
-
import { Path2D, LineCap, LineJoin, LineStyle } from 'modern-path2d';
|
|
5
|
-
import { StyleDeclaration, ImageSource, ImageSourceRect } from 'modern-idoc';
|
|
6
|
-
import { Node as Node$1, Direction } from 'yoga-layout/load';
|
|
4
|
+
import { Path2D, LineCap, LineJoin, LineStyle, Path2DSet } from 'modern-path2d';
|
|
5
|
+
import { ImageFillSource, ImageFillTile, FillDeclaration, Path2DDeclaration, OutlineDeclaration, ShadowDeclaration, StyleDeclaration, ImageSource, ImageSourceRect } from 'modern-idoc';
|
|
7
6
|
import { TextOptions, Text, MeasureResult } from 'modern-text';
|
|
7
|
+
import { Node as Node$1, Direction } from 'yoga-layout/load';
|
|
8
8
|
|
|
9
9
|
declare abstract class Loader {
|
|
10
10
|
abstract install(assets: Assets): this;
|
|
@@ -1850,6 +1850,68 @@ declare class Transition extends Effect {
|
|
|
1850
1850
|
constructor(properties?: Partial<TransitionProperties>, children?: Node[]);
|
|
1851
1851
|
}
|
|
1852
1852
|
|
|
1853
|
+
type BaseElement2DFillProperties = FillDeclaration;
|
|
1854
|
+
declare class BaseElement2DFill extends CoreObject {
|
|
1855
|
+
parent: BaseElement2D;
|
|
1856
|
+
color?: ColorValue;
|
|
1857
|
+
image?: ImageFillSource;
|
|
1858
|
+
dpi?: number;
|
|
1859
|
+
rotateWithShape?: boolean;
|
|
1860
|
+
tile?: ImageFillTile;
|
|
1861
|
+
protected _image?: Texture2D<ImageBitmap>;
|
|
1862
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DFillProperties>);
|
|
1863
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1864
|
+
loadImage(): Promise<Texture2D<ImageBitmap> | undefined>;
|
|
1865
|
+
protected _updateImage(): Promise<void>;
|
|
1866
|
+
canDraw(): boolean;
|
|
1867
|
+
draw(): void;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
interface BaseElement2DGeometryProperties {
|
|
1871
|
+
name?: string;
|
|
1872
|
+
svg?: string;
|
|
1873
|
+
viewBox?: number[];
|
|
1874
|
+
data?: Path2DDeclaration[];
|
|
1875
|
+
}
|
|
1876
|
+
declare class BaseElement2DGeometry extends CoreObject {
|
|
1877
|
+
parent: BaseElement2D;
|
|
1878
|
+
name?: string;
|
|
1879
|
+
svg?: string;
|
|
1880
|
+
viewBox: number[];
|
|
1881
|
+
data: Path2DDeclaration[];
|
|
1882
|
+
protected _path2DSet: Path2DSet;
|
|
1883
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DGeometryProperties>);
|
|
1884
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1885
|
+
protected _updatePath2DSet(): void;
|
|
1886
|
+
draw(): void;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
type BaseElement2DOutlineProperties = OutlineDeclaration;
|
|
1890
|
+
declare class BaseElement2DOutline extends CoreObject {
|
|
1891
|
+
parent: BaseElement2D;
|
|
1892
|
+
color: ColorValue;
|
|
1893
|
+
width: number;
|
|
1894
|
+
style: 'dashed' | 'solid' | string;
|
|
1895
|
+
image?: string;
|
|
1896
|
+
opacity: number;
|
|
1897
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DOutlineProperties>);
|
|
1898
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1899
|
+
canDraw(): boolean;
|
|
1900
|
+
draw(): void;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
type BaseElement2DShadowProperties = ShadowDeclaration;
|
|
1904
|
+
declare class BaseElement2DShadow extends CoreObject {
|
|
1905
|
+
parent: BaseElement2D;
|
|
1906
|
+
color: string;
|
|
1907
|
+
blur: number;
|
|
1908
|
+
offsetY: number;
|
|
1909
|
+
offsetX: number;
|
|
1910
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DShadowProperties>);
|
|
1911
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1912
|
+
updateEffect(): void;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1853
1915
|
interface BaseElement2DStyleProperties extends Omit<StyleDeclaration, 'left' | 'top' | 'width' | 'height' | 'backgroundColor' | 'borderColor' | 'outlineColor'> {
|
|
1854
1916
|
left: number;
|
|
1855
1917
|
top: number;
|
|
@@ -1869,6 +1931,25 @@ declare class BaseElement2DStyle extends Resource {
|
|
|
1869
1931
|
loadBackgroundImage(): Promise<Texture2D<ImageBitmap> | undefined>;
|
|
1870
1932
|
}
|
|
1871
1933
|
|
|
1934
|
+
type BaseElement2DTextProperties = TextOptions;
|
|
1935
|
+
declare class BaseElement2DText extends CoreObject {
|
|
1936
|
+
parent: BaseElement2D;
|
|
1937
|
+
content: TextOptions['content'];
|
|
1938
|
+
effects?: TextOptions['effects'];
|
|
1939
|
+
measureDom?: TextOptions['measureDom'];
|
|
1940
|
+
fonts?: TextOptions['fonts'];
|
|
1941
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DTextProperties>);
|
|
1942
|
+
texture: CanvasTexture;
|
|
1943
|
+
text: Text;
|
|
1944
|
+
measureResult?: MeasureResult;
|
|
1945
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1946
|
+
protected _updateText(): void;
|
|
1947
|
+
measure(): MeasureResult;
|
|
1948
|
+
updateMeasure(): this;
|
|
1949
|
+
canDraw(): boolean;
|
|
1950
|
+
draw(): void;
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1872
1953
|
interface Node2DProperties extends CanvasItemProperties {
|
|
1873
1954
|
}
|
|
1874
1955
|
declare class Node2D extends CanvasItem {
|
|
@@ -1895,9 +1976,14 @@ interface BaseElement2DEventMap extends CanvasItemEventMap {
|
|
|
1895
1976
|
updateStyleProperty: (key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration) => void;
|
|
1896
1977
|
}
|
|
1897
1978
|
interface BaseElement2DProperties extends Node2DProperties {
|
|
1898
|
-
style: Partial<BaseElement2DStyleProperties>;
|
|
1899
1979
|
modulate: ColorValue;
|
|
1900
1980
|
blendMode: WebGLBlendMode;
|
|
1981
|
+
style: Partial<BaseElement2DStyleProperties>;
|
|
1982
|
+
text: Partial<BaseElement2DTextProperties>;
|
|
1983
|
+
geometry: Partial<BaseElement2DGeometryProperties>;
|
|
1984
|
+
fill: Partial<BaseElement2DFillProperties>;
|
|
1985
|
+
shadow: Partial<BaseElement2DShadowProperties>;
|
|
1986
|
+
outline: Partial<BaseElement2DOutlineProperties>;
|
|
1901
1987
|
}
|
|
1902
1988
|
interface BaseElement2D {
|
|
1903
1989
|
on: (<K extends keyof BaseElement2DEventMap>(type: K, listener: BaseElement2DEventMap[K], options?: EventListenerOptions) => this) & ((type: string, listener: EventListenerValue, options?: EventListenerOptions) => this);
|
|
@@ -1910,10 +1996,24 @@ declare class BaseElement2D extends Node2D implements Rectangulable {
|
|
|
1910
1996
|
protected _style: BaseElement2DStyle;
|
|
1911
1997
|
get style(): BaseElement2DStyle;
|
|
1912
1998
|
set style(style: BaseElement2DStyle);
|
|
1999
|
+
protected _text: BaseElement2DText;
|
|
2000
|
+
get text(): BaseElement2DText;
|
|
2001
|
+
set text(value: Partial<BaseElement2DTextProperties>);
|
|
2002
|
+
protected _geometry: BaseElement2DGeometry;
|
|
2003
|
+
get geometry(): BaseElement2DGeometry;
|
|
2004
|
+
set geometry(value: Partial<BaseElement2DGeometryProperties>);
|
|
2005
|
+
protected _fill: BaseElement2DFill;
|
|
2006
|
+
get fill(): BaseElement2DFill;
|
|
2007
|
+
set fill(value: Partial<BaseElement2DFillProperties>);
|
|
2008
|
+
protected _outline: BaseElement2DOutline;
|
|
2009
|
+
get outline(): BaseElement2DOutline;
|
|
2010
|
+
set outline(value: Partial<BaseElement2DOutlineProperties>);
|
|
2011
|
+
protected _shadow: BaseElement2DShadow;
|
|
2012
|
+
get shadow(): BaseElement2DShadow;
|
|
2013
|
+
set shadow(value: Partial<BaseElement2DShadowProperties>);
|
|
1913
2014
|
constructor(properties?: Partial<BaseElement2DProperties>, nodes?: Node[]);
|
|
1914
2015
|
setProperties(properties?: Record<PropertyKey, any>): this;
|
|
1915
2016
|
protected _updateStyleProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1916
|
-
protected _updateBoxShadow(): void;
|
|
1917
2017
|
protected _updateMaskImage(): void;
|
|
1918
2018
|
protected _updateBackgroundColor(): void;
|
|
1919
2019
|
protected _updateBackgroundImage(): Promise<void>;
|
|
@@ -1932,9 +2032,6 @@ declare class BaseElement2D extends Node2D implements Rectangulable {
|
|
|
1932
2032
|
protected _repaint(batchables: CanvasBatchable[]): CanvasBatchable[];
|
|
1933
2033
|
canPointerEvents(): boolean;
|
|
1934
2034
|
input(event: InputEvent, key: InputEventKey): void;
|
|
1935
|
-
protected _pointerEntering: boolean;
|
|
1936
|
-
protected _pointerEntered(): void;
|
|
1937
|
-
protected _pointerExited(): void;
|
|
1938
2035
|
protected _pointerInput(point: {
|
|
1939
2036
|
x: number;
|
|
1940
2037
|
y: number;
|
|
@@ -2066,8 +2163,8 @@ interface Image2DProperties extends Element2DProperties {
|
|
|
2066
2163
|
}
|
|
2067
2164
|
declare class Image2D extends Element2D {
|
|
2068
2165
|
texture?: AnimatedTexture;
|
|
2069
|
-
srcRect: ImageSourceRect;
|
|
2070
2166
|
src: string;
|
|
2167
|
+
srcRect: ImageSourceRect;
|
|
2071
2168
|
gif: boolean;
|
|
2072
2169
|
get currentFrameTexture(): Texture2D | undefined;
|
|
2073
2170
|
get textureDuration(): number;
|
|
@@ -2131,7 +2228,7 @@ declare class Text2D extends TextureRect2D<CanvasTexture> {
|
|
|
2131
2228
|
measureDom?: TextOptions['measureDom'];
|
|
2132
2229
|
fonts?: TextOptions['fonts'];
|
|
2133
2230
|
texture: CanvasTexture;
|
|
2134
|
-
|
|
2231
|
+
protected _baseText: Text;
|
|
2135
2232
|
measureResult?: MeasureResult;
|
|
2136
2233
|
protected _subTextsCount: number;
|
|
2137
2234
|
constructor(properties?: Partial<Text2DProperties>, children?: Node[]);
|
|
@@ -2548,22 +2645,6 @@ declare class AudioWaveform extends Element2D {
|
|
|
2548
2645
|
protected _drawSrc(): void;
|
|
2549
2646
|
}
|
|
2550
2647
|
|
|
2551
|
-
interface BlurEffectProperties extends EffectProperties {
|
|
2552
|
-
strength: number;
|
|
2553
|
-
quality: number;
|
|
2554
|
-
}
|
|
2555
|
-
/**
|
|
2556
|
-
* Gaussian blur
|
|
2557
|
-
*/
|
|
2558
|
-
declare class BlurEffect extends Effect {
|
|
2559
|
-
static materialX: Material;
|
|
2560
|
-
static materialY: Material;
|
|
2561
|
-
strength: number;
|
|
2562
|
-
quality: number;
|
|
2563
|
-
constructor(properties?: Partial<BlurEffectProperties>, children?: Node[]);
|
|
2564
|
-
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
2565
|
-
}
|
|
2566
|
-
|
|
2567
2648
|
interface ColorAdjustEffectProperties extends EffectProperties {
|
|
2568
2649
|
saturation: number;
|
|
2569
2650
|
contrast: number;
|
|
@@ -2638,46 +2719,34 @@ declare class ColorReplaceEffect extends Effect {
|
|
|
2638
2719
|
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
2639
2720
|
}
|
|
2640
2721
|
|
|
2641
|
-
interface
|
|
2722
|
+
interface GaussianBlurEffectProperties extends EffectProperties {
|
|
2642
2723
|
strength: number;
|
|
2643
2724
|
quality: number;
|
|
2644
|
-
pixelSize: [number, number];
|
|
2645
|
-
clamp: boolean;
|
|
2646
2725
|
}
|
|
2647
|
-
declare
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
material: Material;
|
|
2726
|
+
declare class GaussianBlurEffect extends Effect {
|
|
2727
|
+
static materialX: Material;
|
|
2728
|
+
static materialY: Material;
|
|
2651
2729
|
strength: number;
|
|
2652
2730
|
quality: number;
|
|
2653
|
-
|
|
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;
|
|
2731
|
+
constructor(properties?: Partial<GaussianBlurEffectProperties>, children?: Node[]);
|
|
2659
2732
|
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
2660
2733
|
}
|
|
2661
2734
|
|
|
2662
2735
|
interface DropShadowEffectProperties extends EffectProperties {
|
|
2663
|
-
offset: [number, number];
|
|
2664
2736
|
color: ColorValue;
|
|
2665
|
-
alpha: number;
|
|
2666
|
-
shadowOnly: boolean;
|
|
2667
2737
|
blur: number;
|
|
2668
|
-
|
|
2669
|
-
|
|
2738
|
+
offsetX: number;
|
|
2739
|
+
offsetY: number;
|
|
2740
|
+
shadowOnly: boolean;
|
|
2670
2741
|
}
|
|
2671
2742
|
declare class DropShadowEffect extends Effect {
|
|
2672
2743
|
static material: Material;
|
|
2673
|
-
offset: [number, number];
|
|
2674
2744
|
color: ColorValue;
|
|
2675
|
-
alpha: number;
|
|
2676
|
-
shadowOnly: boolean;
|
|
2677
2745
|
blur: number;
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2746
|
+
offsetX: number;
|
|
2747
|
+
offsetY: number;
|
|
2748
|
+
shadowOnly: boolean;
|
|
2749
|
+
blurEffect: GaussianBlurEffect;
|
|
2681
2750
|
viewport3: Viewport;
|
|
2682
2751
|
protected _color: Color;
|
|
2683
2752
|
constructor(properties?: Partial<DropShadowEffectProperties>, children?: Node[]);
|
|
@@ -2748,6 +2817,27 @@ declare class GodrayEffect extends Effect {
|
|
|
2748
2817
|
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
2749
2818
|
}
|
|
2750
2819
|
|
|
2820
|
+
interface KawaseBlurEffectProperties extends EffectProperties {
|
|
2821
|
+
strength: number;
|
|
2822
|
+
quality: number;
|
|
2823
|
+
pixelSize: [number, number];
|
|
2824
|
+
clamp: boolean;
|
|
2825
|
+
}
|
|
2826
|
+
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}";
|
|
2827
|
+
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}";
|
|
2828
|
+
declare class KawaseBlurEffect extends Effect {
|
|
2829
|
+
material: Material;
|
|
2830
|
+
strength: number;
|
|
2831
|
+
quality: number;
|
|
2832
|
+
pixelSize: [number, number];
|
|
2833
|
+
protected _kernels: number[];
|
|
2834
|
+
constructor(properties?: Partial<KawaseBlurEffectProperties>, children?: Node[]);
|
|
2835
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2836
|
+
/** Auto generate kernels by blur & quality */
|
|
2837
|
+
protected _generateKernels(): void;
|
|
2838
|
+
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2751
2841
|
interface MaskEffectProperties extends EffectProperties {
|
|
2752
2842
|
src?: string;
|
|
2753
2843
|
}
|
|
@@ -2762,9 +2852,11 @@ declare class MaskEffect extends Effect {
|
|
|
2762
2852
|
}
|
|
2763
2853
|
|
|
2764
2854
|
interface OutlineEffectProperties extends EffectProperties {
|
|
2765
|
-
thickness: number;
|
|
2766
2855
|
color: ColorValue;
|
|
2767
|
-
|
|
2856
|
+
width: number;
|
|
2857
|
+
style: 'dashed' | 'solid' | string;
|
|
2858
|
+
image?: string;
|
|
2859
|
+
opacity: number;
|
|
2768
2860
|
quality: number;
|
|
2769
2861
|
knockout: boolean;
|
|
2770
2862
|
}
|
|
@@ -2773,9 +2865,11 @@ declare class OutlineEffect extends Effect {
|
|
|
2773
2865
|
static MIN_SAMPLES: number;
|
|
2774
2866
|
static MAX_SAMPLES: number;
|
|
2775
2867
|
static getAngleStep(quality: number): number;
|
|
2776
|
-
thickness: number;
|
|
2777
2868
|
color: ColorValue;
|
|
2778
|
-
|
|
2869
|
+
width: number;
|
|
2870
|
+
style: 'dashed' | 'solid' | string;
|
|
2871
|
+
image?: string;
|
|
2872
|
+
opacity: number;
|
|
2779
2873
|
quality: number;
|
|
2780
2874
|
knockout: boolean;
|
|
2781
2875
|
protected _color: Color;
|
|
@@ -2806,7 +2900,7 @@ declare class ZoomBlurEffect extends Effect {
|
|
|
2806
2900
|
radius: number;
|
|
2807
2901
|
strength: number;
|
|
2808
2902
|
constructor(properties?: Partial<ZoomBlurEffectProperties>, children?: Node[]);
|
|
2809
|
-
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
2903
|
+
apply(renderer: WebGLRenderer, source: Viewport, context: EffectContext): void;
|
|
2810
2904
|
}
|
|
2811
2905
|
|
|
2812
2906
|
interface ControlEventMap extends CanvasItemEventMap, RectangulableEventMap {
|
|
@@ -3135,4 +3229,4 @@ interface RenderOptions {
|
|
|
3135
3229
|
}
|
|
3136
3230
|
declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
|
|
3137
3231
|
|
|
3138
|
-
export { AnimatedTexture, Animation, type AnimationEffectMode, type AnimationProperties, type AssetHandler, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, type AudioWaveformProperties, BaseElement2D, type BaseElement2DEventMap, type BaseElement2DProperties,
|
|
3232
|
+
export { AnimatedTexture, Animation, type AnimationEffectMode, type AnimationProperties, type AssetHandler, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, type AudioWaveformProperties, BaseElement2D, type BaseElement2DEventMap, BaseElement2DFill, type BaseElement2DFillProperties, BaseElement2DGeometry, type BaseElement2DGeometryProperties, BaseElement2DOutline, type BaseElement2DOutlineProperties, type BaseElement2DProperties, BaseElement2DShadow, type BaseElement2DShadowProperties, BaseElement2DStyle, type BaseElement2DStyleProperties, BaseElement2DText, type BaseElement2DTextProperties, type Batchable2D, 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, GaussianBlurEffect, type GaussianBlurEffectProperties, 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 };
|