modern-canvas 0.7.12 → 0.7.13
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 +179 -91
- package/dist/index.d.cts +44 -7
- package/dist/index.d.mts +44 -7
- package/dist/index.d.ts +44 -7
- package/dist/index.js +32 -32
- package/dist/index.mjs +179 -91
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -498,9 +498,16 @@ declare class Rect2 {
|
|
|
498
498
|
readonly position: Vector2;
|
|
499
499
|
readonly size: Vector2;
|
|
500
500
|
constructor(from: Rect2);
|
|
501
|
+
constructor(pointArray: [number, number][]);
|
|
501
502
|
constructor(position: Vector2, size: Vector2);
|
|
502
503
|
constructor(x: number, y: number, width: number, height: number);
|
|
503
504
|
update(): this;
|
|
505
|
+
toMinmax(): {
|
|
506
|
+
minX: number;
|
|
507
|
+
minY: number;
|
|
508
|
+
maxX: number;
|
|
509
|
+
maxY: number;
|
|
510
|
+
};
|
|
504
511
|
toArray(): number[];
|
|
505
512
|
toJSON(): {
|
|
506
513
|
x: number;
|
|
@@ -510,7 +517,7 @@ declare class Rect2 {
|
|
|
510
517
|
};
|
|
511
518
|
}
|
|
512
519
|
|
|
513
|
-
interface
|
|
520
|
+
interface TransformObject {
|
|
514
521
|
a: number;
|
|
515
522
|
c: number;
|
|
516
523
|
tx: number;
|
|
@@ -519,6 +526,21 @@ interface Transform2DObject {
|
|
|
519
526
|
ty: number;
|
|
520
527
|
tz: number;
|
|
521
528
|
}
|
|
529
|
+
interface TransformableObject {
|
|
530
|
+
position: {
|
|
531
|
+
x: number;
|
|
532
|
+
y: number;
|
|
533
|
+
};
|
|
534
|
+
scale: {
|
|
535
|
+
x: number;
|
|
536
|
+
y: number;
|
|
537
|
+
};
|
|
538
|
+
skew: {
|
|
539
|
+
x: number;
|
|
540
|
+
y: number;
|
|
541
|
+
};
|
|
542
|
+
rotation: number;
|
|
543
|
+
}
|
|
522
544
|
/**
|
|
523
545
|
* Transform
|
|
524
546
|
*
|
|
@@ -552,10 +574,14 @@ declare class Transform2D extends Matrix3 {
|
|
|
552
574
|
protected _rotateToScale(rad: number): number;
|
|
553
575
|
protected _rotate3d(x: number, y: number, z: number, rad: number): number[];
|
|
554
576
|
makeRotation(theta: number): this;
|
|
555
|
-
applyToPoint(x: number, y: number): number
|
|
577
|
+
applyToPoint(x: number, y: number): [number, number];
|
|
578
|
+
decompose(pivot?: {
|
|
579
|
+
x: number;
|
|
580
|
+
y: number;
|
|
581
|
+
}, output?: TransformableObject): TransformableObject;
|
|
556
582
|
inverse(): this;
|
|
557
583
|
isIdentity(): boolean;
|
|
558
|
-
toObject():
|
|
584
|
+
toObject(): TransformObject;
|
|
559
585
|
}
|
|
560
586
|
|
|
561
587
|
declare const DEG_TO_RAD: number;
|
|
@@ -2125,6 +2151,17 @@ declare class BaseElement2D extends Node2D implements Rectangulable {
|
|
|
2125
2151
|
getTransform(cb?: (transform: Transform2D) => void): Transform2D;
|
|
2126
2152
|
updateGlobalTransform(): void;
|
|
2127
2153
|
getRect(): Rect2;
|
|
2154
|
+
protected _getPointArray(): [number, number][];
|
|
2155
|
+
getAabb(): Rect2;
|
|
2156
|
+
getGlobalAabb(): Rect2;
|
|
2157
|
+
getObb(): {
|
|
2158
|
+
rect: Rect2;
|
|
2159
|
+
rotation: number;
|
|
2160
|
+
};
|
|
2161
|
+
getGlobalObb(): {
|
|
2162
|
+
rect: Rect2;
|
|
2163
|
+
rotation: number;
|
|
2164
|
+
};
|
|
2128
2165
|
protected _updateOverflow(): void;
|
|
2129
2166
|
protected _draw(): void;
|
|
2130
2167
|
protected _drawContent(): void;
|
|
@@ -2713,7 +2750,7 @@ interface ColorFilterEffectProperties {
|
|
|
2713
2750
|
}
|
|
2714
2751
|
declare class ColorFilterEffect extends Effect {
|
|
2715
2752
|
static material: Material;
|
|
2716
|
-
filter
|
|
2753
|
+
filter?: string;
|
|
2717
2754
|
protected _colorMatrix: ColorMatrix;
|
|
2718
2755
|
constructor(properties?: Partial<ColorFilterEffectProperties>, children?: Node[]);
|
|
2719
2756
|
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
@@ -2881,7 +2918,7 @@ interface MaskEffectProperties extends EffectProperties {
|
|
|
2881
2918
|
}
|
|
2882
2919
|
declare class MaskEffect extends Effect {
|
|
2883
2920
|
static material: Material;
|
|
2884
|
-
texture
|
|
2921
|
+
texture?: Texture2D<ImageBitmap>;
|
|
2885
2922
|
src: string;
|
|
2886
2923
|
constructor(properties?: Partial<MaskEffectProperties>, children?: Node[]);
|
|
2887
2924
|
load(): Promise<void>;
|
|
@@ -2932,7 +2969,7 @@ interface ZoomBlurEffectProperties extends EffectProperties {
|
|
|
2932
2969
|
}
|
|
2933
2970
|
declare class ZoomBlurEffect extends Effect {
|
|
2934
2971
|
static material: Material;
|
|
2935
|
-
center
|
|
2972
|
+
center?: number[];
|
|
2936
2973
|
innerRadius: number;
|
|
2937
2974
|
radius: number;
|
|
2938
2975
|
strength: number;
|
|
@@ -3269,4 +3306,4 @@ interface RenderOptions {
|
|
|
3269
3306
|
declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
|
|
3270
3307
|
|
|
3271
3308
|
export { AnimatedTexture, Animation, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, BaseElement2D, BaseElement2DBackground, BaseElement2DFill, BaseElement2DForeground, BaseElement2DOutline, BaseElement2DShadow, BaseElement2DShape, BaseElement2DStyle, BaseElement2DText, Camera2D, CanvasContext, CanvasItem, CanvasItemEditor, CanvasTexture, Color, ColorAdjustEffect, ColorFilterEffect, ColorMatrix, ColorOverlayEffect, ColorRemoveEffect, ColorReplaceEffect, ColorTexture, Control, CoreObject, DEG_TO_RAD, DEVICE_PIXEL_RATIO, DropShadowEffect, Effect, EffectMaterial, Element2D, Element2DStyle, EmbossEffect, Engine, FlexElement2D, FlexElement2DStyle, FlexLayout, FontLoader, GIFLoader, GaussianBlurEffect, Geometry, GlitchEffect, GodrayEffect, GradientTexture, HTMLAudio, HTMLAudioContext, HTMLSound, IN_BROWSER, Image2D, ImageTexture, IndexBuffer, Input, InputEvent, JSONLoader, KawaseBlurEffect, KawaseTransition, KeyboardInputEvent, LeftEraseTransition, Loader, Lottie2D, LottieLoader, MainLoop, MaskEffect, Material, Matrix, Matrix2, Matrix3, Matrix4, MouseInputEvent, Node, Node2D, OutlineEffect, PI, PI_2, PixelateEffect, PixelsTexture, PointerInputEvent, Projection2D, QuadGeometry, QuadUvGeometry, RAD_TO_DEG, Range, RawWeakMap, Rect2, RefCounted, Renderer, Resource, Ruler, 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, SceneTree, ScrollBar, TextLoader, Texture2D, TextureLoader, TextureRect2D, Ticker, TiltShiftTransition, Timeline, TimelineNode, Transform2D, TransformRect2D, Transition, TwistTransition, UvGeometry, UvMaterial, Vector, Vector2, Vector3, Vector4, VertexAttribute, VertexBuffer, Video2D, VideoLoader, VideoTexture, Viewport, ViewportTexture, WebAudio, WebAudioContext, WebGLBatch2DModule, WebGLBlendMode, WebGLBufferModule, WebGLFramebufferModule, WebGLMaskModule, WebGLModule, WebGLProgramModule, WebGLRenderer, WebGLScissorModule, WebGLState, WebGLStateModule, WebGLStencilModule, WebGLTextureModule, WebGLVertexArrayModule, WebGLViewportModule, WebSound, WheelInputEvent, Window, XScrollBar, YScrollBar, ZoomBlurEffect, assets, clamp, clampFrag, createHTMLCanvas, createNode, crossOrigin, cubicBezier, curves, customNode, customNodes, defaultOptions, determineCrossOrigin, ease, easeIn, easeInOut, easeOut, frag, getDefaultCssPropertyValue, isCanvasElement, isElementNode, isImageElement, isPow2, isVideoElement, isWebgl2, lerp, linear, log2, mapWebGLBlendModes, nextPow2, nextTick, parseCSSFilter, parseCSSTransform, parseCSSTransformOrigin, parseCssFunctions, parseCssProperty, render, timingFunctions, uid };
|
|
3272
|
-
export type { AnimationEffectMode, AnimationProperties, AssetHandler, AudioWaveformProperties, BaseElement2DEventMap, BaseElement2DProperties, BaseElement2DStyleProperties, Batchable2D, CSSFilterKey, CSSFilters, Camera2DEventMap, Camera2DProperties, CanvasBatchable, CanvasItemEventMap, CanvasItemProperties, ColorAdjustEffectProperties, ColorFilterEffectProperties, ColorOverlayEffectProperties, ColorRemoveEffectProperties, ColorReplaceEffectProperties, ComputedLayout, ControlEventMap, ControlProperties, CoreObjectEventMap, CssFunction, CssFunctionArg, Cursor, CustomPropertyAccessor, DropShadowEffectProperties, Easing, EffectContext, EffectMode, EffectProperties, Element2DEventMap, Element2DProperties, Element2DStyleProperties, EmbossEffectProperties, EngineOptions, FillDraw, FlexBaseElement2DEventMap, FlexElement2DProperties, FlexElement2DStyleProperties, GaussianBlurEffectProperties, GeometryOptions, GlitchEffectProperties, GodrayEffectProperties, IAudioContext, IAudioNode, IPlayOptions, Image2DProperties, ImageFrame, ImageTextureOptions, IndexBufferOptions, InputEventKey, InputEventMap, InternalMode, KawaseBlurEffectProperties, Keyframe, Lottie2DProperties, MainLoopEventMap, MaskColor, MaskData, MaskEffectProperties, MaskObject, MaskRect, Maskable, MaterialOptions, MatrixLike, MatrixOperateOutput, Node2DEventMap, Node2DProperties, NodeEventMap, NodeProperties, NormalizedKeyframe, OutlineEffectProperties, PixelateEffectProperties, PlatformAudio, PlatformSound, ProcessMode, ProcessSortMode, RangeProperties, Rectangulable, RectangulableEventMap, RefCountedEventMap, RenderMode, RenderOptions, Renderable, ResourceEventMap, RulerProperties, ScalerEventMap, ScalerProperties, SceneTreeEventMap, ScrollBarProperties, StrokeDraw, Texture2DFilterMode, Texture2DPixelsSource, Texture2DSource, Texture2DWrapMode, TextureRect2DProperties, TimelineEventMap, TimelineNodeEventMap, TimelineNodeProperties, TimelineProperties, TimingFunctions,
|
|
3309
|
+
export type { AnimationEffectMode, AnimationProperties, AssetHandler, AudioWaveformProperties, BaseElement2DEventMap, BaseElement2DProperties, BaseElement2DStyleProperties, Batchable2D, CSSFilterKey, CSSFilters, Camera2DEventMap, Camera2DProperties, CanvasBatchable, CanvasItemEventMap, CanvasItemProperties, ColorAdjustEffectProperties, ColorFilterEffectProperties, ColorOverlayEffectProperties, ColorRemoveEffectProperties, ColorReplaceEffectProperties, ComputedLayout, ControlEventMap, ControlProperties, CoreObjectEventMap, CssFunction, CssFunctionArg, Cursor, CustomPropertyAccessor, DropShadowEffectProperties, Easing, EffectContext, EffectMode, EffectProperties, Element2DEventMap, Element2DProperties, Element2DStyleProperties, EmbossEffectProperties, EngineOptions, FillDraw, FlexBaseElement2DEventMap, FlexElement2DProperties, FlexElement2DStyleProperties, GaussianBlurEffectProperties, GeometryOptions, GlitchEffectProperties, GodrayEffectProperties, IAudioContext, IAudioNode, IPlayOptions, Image2DProperties, ImageFrame, ImageTextureOptions, IndexBufferOptions, InputEventKey, InputEventMap, InternalMode, KawaseBlurEffectProperties, Keyframe, Lottie2DProperties, MainLoopEventMap, MaskColor, MaskData, MaskEffectProperties, MaskObject, MaskRect, Maskable, MaterialOptions, MatrixLike, MatrixOperateOutput, Node2DEventMap, Node2DProperties, NodeEventMap, NodeProperties, NormalizedKeyframe, OutlineEffectProperties, PixelateEffectProperties, PlatformAudio, PlatformSound, ProcessMode, ProcessSortMode, RangeProperties, Rectangulable, RectangulableEventMap, RefCountedEventMap, RenderMode, RenderOptions, Renderable, ResourceEventMap, RulerProperties, ScalerEventMap, ScalerProperties, SceneTreeEventMap, ScrollBarProperties, StrokeDraw, Texture2DFilterMode, Texture2DPixelsSource, Texture2DSource, Texture2DWrapMode, TextureRect2DProperties, TimelineEventMap, TimelineNodeEventMap, TimelineNodeProperties, TimelineProperties, TimingFunctions, TransformObject, TransformRect2DProperties, TransformableObject, TransitionProperties, UVTransform, VectorLike, VectorOperateOutput, VertTransform, VertexAttributeOptions, VertexBufferOptions, Video2DProperties, VideoTextureOptions, VideoTextureSource, ViewportEventMap, ViewportFramebuffer, WebGLBufferMeta, WebGLBufferOptions, WebGLBufferTarget, WebGLBufferUsage, WebGLDrawMode, WebGLDrawOptions, WebGLExtensions, WebGLFramebufferMeta, WebGLFramebufferOptions, WebGLProgramMeta, WebGLProgramOptions, WebGLTarget, WebGLTextureFilterMode, WebGLTextureLocation, WebGLTextureMeta, WebGLTextureOptions, WebGLTextureSource, WebGLTextureTarget, WebGLTextureWrapMode, WebGLVertexArrayObjectMeta, WebGLVertexArrayObjectOptions, WebGLVertexAttrib, WebGLVertexAttribType, WebGLViewport, XScrollBarProperties, YScrollBarProperties, ZoomBlurEffectProperties };
|
package/dist/index.d.ts
CHANGED
|
@@ -498,9 +498,16 @@ declare class Rect2 {
|
|
|
498
498
|
readonly position: Vector2;
|
|
499
499
|
readonly size: Vector2;
|
|
500
500
|
constructor(from: Rect2);
|
|
501
|
+
constructor(pointArray: [number, number][]);
|
|
501
502
|
constructor(position: Vector2, size: Vector2);
|
|
502
503
|
constructor(x: number, y: number, width: number, height: number);
|
|
503
504
|
update(): this;
|
|
505
|
+
toMinmax(): {
|
|
506
|
+
minX: number;
|
|
507
|
+
minY: number;
|
|
508
|
+
maxX: number;
|
|
509
|
+
maxY: number;
|
|
510
|
+
};
|
|
504
511
|
toArray(): number[];
|
|
505
512
|
toJSON(): {
|
|
506
513
|
x: number;
|
|
@@ -510,7 +517,7 @@ declare class Rect2 {
|
|
|
510
517
|
};
|
|
511
518
|
}
|
|
512
519
|
|
|
513
|
-
interface
|
|
520
|
+
interface TransformObject {
|
|
514
521
|
a: number;
|
|
515
522
|
c: number;
|
|
516
523
|
tx: number;
|
|
@@ -519,6 +526,21 @@ interface Transform2DObject {
|
|
|
519
526
|
ty: number;
|
|
520
527
|
tz: number;
|
|
521
528
|
}
|
|
529
|
+
interface TransformableObject {
|
|
530
|
+
position: {
|
|
531
|
+
x: number;
|
|
532
|
+
y: number;
|
|
533
|
+
};
|
|
534
|
+
scale: {
|
|
535
|
+
x: number;
|
|
536
|
+
y: number;
|
|
537
|
+
};
|
|
538
|
+
skew: {
|
|
539
|
+
x: number;
|
|
540
|
+
y: number;
|
|
541
|
+
};
|
|
542
|
+
rotation: number;
|
|
543
|
+
}
|
|
522
544
|
/**
|
|
523
545
|
* Transform
|
|
524
546
|
*
|
|
@@ -552,10 +574,14 @@ declare class Transform2D extends Matrix3 {
|
|
|
552
574
|
protected _rotateToScale(rad: number): number;
|
|
553
575
|
protected _rotate3d(x: number, y: number, z: number, rad: number): number[];
|
|
554
576
|
makeRotation(theta: number): this;
|
|
555
|
-
applyToPoint(x: number, y: number): number
|
|
577
|
+
applyToPoint(x: number, y: number): [number, number];
|
|
578
|
+
decompose(pivot?: {
|
|
579
|
+
x: number;
|
|
580
|
+
y: number;
|
|
581
|
+
}, output?: TransformableObject): TransformableObject;
|
|
556
582
|
inverse(): this;
|
|
557
583
|
isIdentity(): boolean;
|
|
558
|
-
toObject():
|
|
584
|
+
toObject(): TransformObject;
|
|
559
585
|
}
|
|
560
586
|
|
|
561
587
|
declare const DEG_TO_RAD: number;
|
|
@@ -2125,6 +2151,17 @@ declare class BaseElement2D extends Node2D implements Rectangulable {
|
|
|
2125
2151
|
getTransform(cb?: (transform: Transform2D) => void): Transform2D;
|
|
2126
2152
|
updateGlobalTransform(): void;
|
|
2127
2153
|
getRect(): Rect2;
|
|
2154
|
+
protected _getPointArray(): [number, number][];
|
|
2155
|
+
getAabb(): Rect2;
|
|
2156
|
+
getGlobalAabb(): Rect2;
|
|
2157
|
+
getObb(): {
|
|
2158
|
+
rect: Rect2;
|
|
2159
|
+
rotation: number;
|
|
2160
|
+
};
|
|
2161
|
+
getGlobalObb(): {
|
|
2162
|
+
rect: Rect2;
|
|
2163
|
+
rotation: number;
|
|
2164
|
+
};
|
|
2128
2165
|
protected _updateOverflow(): void;
|
|
2129
2166
|
protected _draw(): void;
|
|
2130
2167
|
protected _drawContent(): void;
|
|
@@ -2713,7 +2750,7 @@ interface ColorFilterEffectProperties {
|
|
|
2713
2750
|
}
|
|
2714
2751
|
declare class ColorFilterEffect extends Effect {
|
|
2715
2752
|
static material: Material;
|
|
2716
|
-
filter
|
|
2753
|
+
filter?: string;
|
|
2717
2754
|
protected _colorMatrix: ColorMatrix;
|
|
2718
2755
|
constructor(properties?: Partial<ColorFilterEffectProperties>, children?: Node[]);
|
|
2719
2756
|
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
@@ -2881,7 +2918,7 @@ interface MaskEffectProperties extends EffectProperties {
|
|
|
2881
2918
|
}
|
|
2882
2919
|
declare class MaskEffect extends Effect {
|
|
2883
2920
|
static material: Material;
|
|
2884
|
-
texture
|
|
2921
|
+
texture?: Texture2D<ImageBitmap>;
|
|
2885
2922
|
src: string;
|
|
2886
2923
|
constructor(properties?: Partial<MaskEffectProperties>, children?: Node[]);
|
|
2887
2924
|
load(): Promise<void>;
|
|
@@ -2932,7 +2969,7 @@ interface ZoomBlurEffectProperties extends EffectProperties {
|
|
|
2932
2969
|
}
|
|
2933
2970
|
declare class ZoomBlurEffect extends Effect {
|
|
2934
2971
|
static material: Material;
|
|
2935
|
-
center
|
|
2972
|
+
center?: number[];
|
|
2936
2973
|
innerRadius: number;
|
|
2937
2974
|
radius: number;
|
|
2938
2975
|
strength: number;
|
|
@@ -3269,4 +3306,4 @@ interface RenderOptions {
|
|
|
3269
3306
|
declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
|
|
3270
3307
|
|
|
3271
3308
|
export { AnimatedTexture, Animation, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, BaseElement2D, BaseElement2DBackground, BaseElement2DFill, BaseElement2DForeground, BaseElement2DOutline, BaseElement2DShadow, BaseElement2DShape, BaseElement2DStyle, BaseElement2DText, Camera2D, CanvasContext, CanvasItem, CanvasItemEditor, CanvasTexture, Color, ColorAdjustEffect, ColorFilterEffect, ColorMatrix, ColorOverlayEffect, ColorRemoveEffect, ColorReplaceEffect, ColorTexture, Control, CoreObject, DEG_TO_RAD, DEVICE_PIXEL_RATIO, DropShadowEffect, Effect, EffectMaterial, Element2D, Element2DStyle, EmbossEffect, Engine, FlexElement2D, FlexElement2DStyle, FlexLayout, FontLoader, GIFLoader, GaussianBlurEffect, Geometry, GlitchEffect, GodrayEffect, GradientTexture, HTMLAudio, HTMLAudioContext, HTMLSound, IN_BROWSER, Image2D, ImageTexture, IndexBuffer, Input, InputEvent, JSONLoader, KawaseBlurEffect, KawaseTransition, KeyboardInputEvent, LeftEraseTransition, Loader, Lottie2D, LottieLoader, MainLoop, MaskEffect, Material, Matrix, Matrix2, Matrix3, Matrix4, MouseInputEvent, Node, Node2D, OutlineEffect, PI, PI_2, PixelateEffect, PixelsTexture, PointerInputEvent, Projection2D, QuadGeometry, QuadUvGeometry, RAD_TO_DEG, Range, RawWeakMap, Rect2, RefCounted, Renderer, Resource, Ruler, 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, SceneTree, ScrollBar, TextLoader, Texture2D, TextureLoader, TextureRect2D, Ticker, TiltShiftTransition, Timeline, TimelineNode, Transform2D, TransformRect2D, Transition, TwistTransition, UvGeometry, UvMaterial, Vector, Vector2, Vector3, Vector4, VertexAttribute, VertexBuffer, Video2D, VideoLoader, VideoTexture, Viewport, ViewportTexture, WebAudio, WebAudioContext, WebGLBatch2DModule, WebGLBlendMode, WebGLBufferModule, WebGLFramebufferModule, WebGLMaskModule, WebGLModule, WebGLProgramModule, WebGLRenderer, WebGLScissorModule, WebGLState, WebGLStateModule, WebGLStencilModule, WebGLTextureModule, WebGLVertexArrayModule, WebGLViewportModule, WebSound, WheelInputEvent, Window, XScrollBar, YScrollBar, ZoomBlurEffect, assets, clamp, clampFrag, createHTMLCanvas, createNode, crossOrigin, cubicBezier, curves, customNode, customNodes, defaultOptions, determineCrossOrigin, ease, easeIn, easeInOut, easeOut, frag, getDefaultCssPropertyValue, isCanvasElement, isElementNode, isImageElement, isPow2, isVideoElement, isWebgl2, lerp, linear, log2, mapWebGLBlendModes, nextPow2, nextTick, parseCSSFilter, parseCSSTransform, parseCSSTransformOrigin, parseCssFunctions, parseCssProperty, render, timingFunctions, uid };
|
|
3272
|
-
export type { AnimationEffectMode, AnimationProperties, AssetHandler, AudioWaveformProperties, BaseElement2DEventMap, BaseElement2DProperties, BaseElement2DStyleProperties, Batchable2D, CSSFilterKey, CSSFilters, Camera2DEventMap, Camera2DProperties, CanvasBatchable, CanvasItemEventMap, CanvasItemProperties, ColorAdjustEffectProperties, ColorFilterEffectProperties, ColorOverlayEffectProperties, ColorRemoveEffectProperties, ColorReplaceEffectProperties, ComputedLayout, ControlEventMap, ControlProperties, CoreObjectEventMap, CssFunction, CssFunctionArg, Cursor, CustomPropertyAccessor, DropShadowEffectProperties, Easing, EffectContext, EffectMode, EffectProperties, Element2DEventMap, Element2DProperties, Element2DStyleProperties, EmbossEffectProperties, EngineOptions, FillDraw, FlexBaseElement2DEventMap, FlexElement2DProperties, FlexElement2DStyleProperties, GaussianBlurEffectProperties, GeometryOptions, GlitchEffectProperties, GodrayEffectProperties, IAudioContext, IAudioNode, IPlayOptions, Image2DProperties, ImageFrame, ImageTextureOptions, IndexBufferOptions, InputEventKey, InputEventMap, InternalMode, KawaseBlurEffectProperties, Keyframe, Lottie2DProperties, MainLoopEventMap, MaskColor, MaskData, MaskEffectProperties, MaskObject, MaskRect, Maskable, MaterialOptions, MatrixLike, MatrixOperateOutput, Node2DEventMap, Node2DProperties, NodeEventMap, NodeProperties, NormalizedKeyframe, OutlineEffectProperties, PixelateEffectProperties, PlatformAudio, PlatformSound, ProcessMode, ProcessSortMode, RangeProperties, Rectangulable, RectangulableEventMap, RefCountedEventMap, RenderMode, RenderOptions, Renderable, ResourceEventMap, RulerProperties, ScalerEventMap, ScalerProperties, SceneTreeEventMap, ScrollBarProperties, StrokeDraw, Texture2DFilterMode, Texture2DPixelsSource, Texture2DSource, Texture2DWrapMode, TextureRect2DProperties, TimelineEventMap, TimelineNodeEventMap, TimelineNodeProperties, TimelineProperties, TimingFunctions,
|
|
3309
|
+
export type { AnimationEffectMode, AnimationProperties, AssetHandler, AudioWaveformProperties, BaseElement2DEventMap, BaseElement2DProperties, BaseElement2DStyleProperties, Batchable2D, CSSFilterKey, CSSFilters, Camera2DEventMap, Camera2DProperties, CanvasBatchable, CanvasItemEventMap, CanvasItemProperties, ColorAdjustEffectProperties, ColorFilterEffectProperties, ColorOverlayEffectProperties, ColorRemoveEffectProperties, ColorReplaceEffectProperties, ComputedLayout, ControlEventMap, ControlProperties, CoreObjectEventMap, CssFunction, CssFunctionArg, Cursor, CustomPropertyAccessor, DropShadowEffectProperties, Easing, EffectContext, EffectMode, EffectProperties, Element2DEventMap, Element2DProperties, Element2DStyleProperties, EmbossEffectProperties, EngineOptions, FillDraw, FlexBaseElement2DEventMap, FlexElement2DProperties, FlexElement2DStyleProperties, GaussianBlurEffectProperties, GeometryOptions, GlitchEffectProperties, GodrayEffectProperties, IAudioContext, IAudioNode, IPlayOptions, Image2DProperties, ImageFrame, ImageTextureOptions, IndexBufferOptions, InputEventKey, InputEventMap, InternalMode, KawaseBlurEffectProperties, Keyframe, Lottie2DProperties, MainLoopEventMap, MaskColor, MaskData, MaskEffectProperties, MaskObject, MaskRect, Maskable, MaterialOptions, MatrixLike, MatrixOperateOutput, Node2DEventMap, Node2DProperties, NodeEventMap, NodeProperties, NormalizedKeyframe, OutlineEffectProperties, PixelateEffectProperties, PlatformAudio, PlatformSound, ProcessMode, ProcessSortMode, RangeProperties, Rectangulable, RectangulableEventMap, RefCountedEventMap, RenderMode, RenderOptions, Renderable, ResourceEventMap, RulerProperties, ScalerEventMap, ScalerProperties, SceneTreeEventMap, ScrollBarProperties, StrokeDraw, Texture2DFilterMode, Texture2DPixelsSource, Texture2DSource, Texture2DWrapMode, TextureRect2DProperties, TimelineEventMap, TimelineNodeEventMap, TimelineNodeProperties, TimelineProperties, TimingFunctions, TransformObject, TransformRect2DProperties, TransformableObject, TransitionProperties, UVTransform, VectorLike, VectorOperateOutput, VertTransform, VertexAttributeOptions, VertexBufferOptions, Video2DProperties, VideoTextureOptions, VideoTextureSource, ViewportEventMap, ViewportFramebuffer, WebGLBufferMeta, WebGLBufferOptions, WebGLBufferTarget, WebGLBufferUsage, WebGLDrawMode, WebGLDrawOptions, WebGLExtensions, WebGLFramebufferMeta, WebGLFramebufferOptions, WebGLProgramMeta, WebGLProgramOptions, WebGLTarget, WebGLTextureFilterMode, WebGLTextureLocation, WebGLTextureMeta, WebGLTextureOptions, WebGLTextureSource, WebGLTextureTarget, WebGLTextureWrapMode, WebGLVertexArrayObjectMeta, WebGLVertexArrayObjectOptions, WebGLVertexAttrib, WebGLVertexAttribType, WebGLViewport, XScrollBarProperties, YScrollBarProperties, ZoomBlurEffectProperties };
|