modern-canvas 0.4.22 → 0.4.24
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 +663 -369
- package/dist/index.d.cts +109 -50
- package/dist/index.d.mts +109 -50
- package/dist/index.d.ts +109 -50
- package/dist/index.js +42 -42
- package/dist/index.mjs +659 -370
- package/package.json +3 -3
package/dist/index.d.ts
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 {
|
|
5
|
-
import {
|
|
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, ImageFillStretch, FillDeclaration, Path2DDeclaration, GeometryDeclaration, 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;
|
|
@@ -1411,14 +1411,14 @@ interface CanvasBatchable extends Batchable2D {
|
|
|
1411
1411
|
type: 'stroke' | 'fill';
|
|
1412
1412
|
texture?: Texture2D;
|
|
1413
1413
|
}
|
|
1414
|
-
interface StrokeDraw {
|
|
1414
|
+
interface StrokeDraw extends Partial<CanvasBatchable> {
|
|
1415
1415
|
type: 'stroke';
|
|
1416
1416
|
path: Path2D;
|
|
1417
1417
|
texture?: Texture2D;
|
|
1418
1418
|
textureTransform?: Transform2D;
|
|
1419
1419
|
style: LineStyle;
|
|
1420
1420
|
}
|
|
1421
|
-
interface FillDraw {
|
|
1421
|
+
interface FillDraw extends Partial<CanvasBatchable> {
|
|
1422
1422
|
type: 'fill';
|
|
1423
1423
|
path: Path2D;
|
|
1424
1424
|
texture?: Texture2D;
|
|
@@ -1434,10 +1434,10 @@ declare class CanvasContext extends Path2D {
|
|
|
1434
1434
|
miterLimit?: number;
|
|
1435
1435
|
_defaultStyle: Texture2D<Texture2DSource>;
|
|
1436
1436
|
_draws: (StrokeDraw | FillDraw)[];
|
|
1437
|
-
stroke(): void;
|
|
1437
|
+
stroke(options?: Partial<StrokeDraw>): void;
|
|
1438
1438
|
fillRect(x: number, y: number, width: number, height: number): void;
|
|
1439
1439
|
strokeRect(x: number, y: number, width: number, height: number): void;
|
|
1440
|
-
fill(): void;
|
|
1440
|
+
fill(options?: Partial<FillDraw>): void;
|
|
1441
1441
|
copy(source: CanvasContext): this;
|
|
1442
1442
|
reset(): this;
|
|
1443
1443
|
buildUvs(start: number, vertices: number[], uvs: number[], texture?: Texture2D, textureTransform?: Transform2D): void;
|
|
@@ -1767,7 +1767,6 @@ declare class CanvasItem extends TimelineNode {
|
|
|
1767
1767
|
protected _globalOpacity?: number;
|
|
1768
1768
|
get globalOpacity(): number;
|
|
1769
1769
|
protected _modulate: Color;
|
|
1770
|
-
protected _backgroundImage?: Texture2D;
|
|
1771
1770
|
context: CanvasContext;
|
|
1772
1771
|
protected _resetContext: boolean;
|
|
1773
1772
|
protected _redrawing: boolean;
|
|
@@ -1850,6 +1849,65 @@ declare class Transition extends Effect {
|
|
|
1850
1849
|
constructor(properties?: Partial<TransitionProperties>, children?: Node[]);
|
|
1851
1850
|
}
|
|
1852
1851
|
|
|
1852
|
+
type BaseElement2DFillProperties = FillDeclaration;
|
|
1853
|
+
declare class BaseElement2DFill extends CoreObject {
|
|
1854
|
+
parent: BaseElement2D;
|
|
1855
|
+
color?: ColorValue;
|
|
1856
|
+
image?: ImageFillSource;
|
|
1857
|
+
dpi?: number;
|
|
1858
|
+
rotateWithShape?: boolean;
|
|
1859
|
+
tile?: ImageFillTile;
|
|
1860
|
+
stretch?: ImageFillStretch;
|
|
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
|
+
type BaseElement2DGeometryProperties = GeometryDeclaration;
|
|
1871
|
+
declare class BaseElement2DGeometry extends CoreObject {
|
|
1872
|
+
parent: BaseElement2D;
|
|
1873
|
+
name?: string;
|
|
1874
|
+
svg?: string;
|
|
1875
|
+
viewBox: number[];
|
|
1876
|
+
data: Path2DDeclaration[];
|
|
1877
|
+
protected _path2DSet: Path2DSet;
|
|
1878
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DGeometryProperties>);
|
|
1879
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1880
|
+
protected _updatePath2DSet(): void;
|
|
1881
|
+
draw(): void;
|
|
1882
|
+
drawRect(): void;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
type BaseElement2DOutlineProperties = OutlineDeclaration;
|
|
1886
|
+
declare class BaseElement2DOutline extends CoreObject {
|
|
1887
|
+
parent: BaseElement2D;
|
|
1888
|
+
color: ColorValue;
|
|
1889
|
+
width: number;
|
|
1890
|
+
style: 'dashed' | 'solid' | string;
|
|
1891
|
+
image?: string;
|
|
1892
|
+
opacity: number;
|
|
1893
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DOutlineProperties>);
|
|
1894
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1895
|
+
canDraw(): boolean;
|
|
1896
|
+
draw(): void;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
type BaseElement2DShadowProperties = ShadowDeclaration;
|
|
1900
|
+
declare class BaseElement2DShadow extends CoreObject {
|
|
1901
|
+
parent: BaseElement2D;
|
|
1902
|
+
color: string;
|
|
1903
|
+
blur: number;
|
|
1904
|
+
offsetY: number;
|
|
1905
|
+
offsetX: number;
|
|
1906
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DShadowProperties>);
|
|
1907
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1908
|
+
updateEffect(): void;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1853
1911
|
interface BaseElement2DStyleProperties extends Omit<StyleDeclaration, 'left' | 'top' | 'width' | 'height' | 'backgroundColor' | 'borderColor' | 'outlineColor'> {
|
|
1854
1912
|
left: number;
|
|
1855
1913
|
top: number;
|
|
@@ -1869,6 +1927,25 @@ declare class BaseElement2DStyle extends Resource {
|
|
|
1869
1927
|
loadBackgroundImage(): Promise<Texture2D<ImageBitmap> | undefined>;
|
|
1870
1928
|
}
|
|
1871
1929
|
|
|
1930
|
+
type BaseElement2DTextProperties = TextOptions;
|
|
1931
|
+
declare class BaseElement2DText extends CoreObject {
|
|
1932
|
+
parent: BaseElement2D;
|
|
1933
|
+
content: TextOptions['content'];
|
|
1934
|
+
effects?: TextOptions['effects'];
|
|
1935
|
+
measureDom?: TextOptions['measureDom'];
|
|
1936
|
+
fonts?: TextOptions['fonts'];
|
|
1937
|
+
constructor(parent: BaseElement2D, properties?: Partial<BaseElement2DTextProperties>);
|
|
1938
|
+
texture: CanvasTexture;
|
|
1939
|
+
baseText: Text;
|
|
1940
|
+
measureResult?: MeasureResult;
|
|
1941
|
+
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1942
|
+
protected _updateText(): void;
|
|
1943
|
+
measure(): MeasureResult;
|
|
1944
|
+
updateMeasure(): this;
|
|
1945
|
+
canDraw(): boolean;
|
|
1946
|
+
draw(): void;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1872
1949
|
interface Node2DProperties extends CanvasItemProperties {
|
|
1873
1950
|
}
|
|
1874
1951
|
declare class Node2D extends CanvasItem {
|
|
@@ -1891,38 +1968,18 @@ declare class Node2D extends CanvasItem {
|
|
|
1891
1968
|
protected _process(delta: number): void;
|
|
1892
1969
|
}
|
|
1893
1970
|
|
|
1894
|
-
declare class BaseElement2DOutline extends CoreObject {
|
|
1895
|
-
parent: BaseElement2D;
|
|
1896
|
-
color: string;
|
|
1897
|
-
width: number;
|
|
1898
|
-
style: 'dashed' | 'solid' | string;
|
|
1899
|
-
image?: string;
|
|
1900
|
-
opacity: number;
|
|
1901
|
-
constructor(parent: BaseElement2D);
|
|
1902
|
-
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1903
|
-
updateEffect(): void;
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
declare class BaseElement2DShadow extends CoreObject {
|
|
1907
|
-
parent: BaseElement2D;
|
|
1908
|
-
color: string;
|
|
1909
|
-
blur: number;
|
|
1910
|
-
offsetY: number;
|
|
1911
|
-
offsetX: number;
|
|
1912
|
-
constructor(parent: BaseElement2D);
|
|
1913
|
-
protected _updateProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1914
|
-
updateEffect(): void;
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
1971
|
interface BaseElement2DEventMap extends CanvasItemEventMap {
|
|
1918
1972
|
updateStyleProperty: (key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration) => void;
|
|
1919
1973
|
}
|
|
1920
1974
|
interface BaseElement2DProperties extends Node2DProperties {
|
|
1921
|
-
style: Partial<BaseElement2DStyleProperties>;
|
|
1922
|
-
shadow: Partial<ShadowDeclaration>;
|
|
1923
|
-
outline: Partial<OutlineDeclaration>;
|
|
1924
1975
|
modulate: ColorValue;
|
|
1925
1976
|
blendMode: WebGLBlendMode;
|
|
1977
|
+
style: Partial<BaseElement2DStyleProperties>;
|
|
1978
|
+
text: Partial<BaseElement2DTextProperties>;
|
|
1979
|
+
geometry: Partial<BaseElement2DGeometryProperties>;
|
|
1980
|
+
fill: Partial<BaseElement2DFillProperties>;
|
|
1981
|
+
shadow: Partial<BaseElement2DShadowProperties>;
|
|
1982
|
+
outline: Partial<BaseElement2DOutlineProperties>;
|
|
1926
1983
|
}
|
|
1927
1984
|
interface BaseElement2D {
|
|
1928
1985
|
on: (<K extends keyof BaseElement2DEventMap>(type: K, listener: BaseElement2DEventMap[K], options?: EventListenerOptions) => this) & ((type: string, listener: EventListenerValue, options?: EventListenerOptions) => this);
|
|
@@ -1935,32 +1992,34 @@ declare class BaseElement2D extends Node2D implements Rectangulable {
|
|
|
1935
1992
|
protected _style: BaseElement2DStyle;
|
|
1936
1993
|
get style(): BaseElement2DStyle;
|
|
1937
1994
|
set style(style: BaseElement2DStyle);
|
|
1938
|
-
|
|
1939
|
-
|
|
1995
|
+
protected _text: BaseElement2DText;
|
|
1996
|
+
get text(): BaseElement2DText;
|
|
1997
|
+
set text(value: Partial<BaseElement2DTextProperties>);
|
|
1998
|
+
protected _geometry: BaseElement2DGeometry;
|
|
1999
|
+
get geometry(): BaseElement2DGeometry;
|
|
2000
|
+
set geometry(value: Partial<BaseElement2DGeometryProperties>);
|
|
2001
|
+
protected _fill: BaseElement2DFill;
|
|
2002
|
+
get fill(): BaseElement2DFill;
|
|
2003
|
+
set fill(value: Partial<BaseElement2DFillProperties>);
|
|
2004
|
+
protected _outline: BaseElement2DOutline;
|
|
2005
|
+
get outline(): BaseElement2DOutline;
|
|
2006
|
+
set outline(value: Partial<BaseElement2DOutlineProperties>);
|
|
2007
|
+
protected _shadow: BaseElement2DShadow;
|
|
2008
|
+
get shadow(): BaseElement2DShadow;
|
|
2009
|
+
set shadow(value: Partial<BaseElement2DShadowProperties>);
|
|
1940
2010
|
constructor(properties?: Partial<BaseElement2DProperties>, nodes?: Node[]);
|
|
1941
2011
|
setProperties(properties?: Record<PropertyKey, any>): this;
|
|
1942
2012
|
protected _updateStyleProperty(key: PropertyKey, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
1943
2013
|
protected _updateMaskImage(): void;
|
|
1944
|
-
protected _updateBackgroundColor(): void;
|
|
1945
|
-
protected _updateBackgroundImage(): Promise<void>;
|
|
1946
2014
|
protected _updateTransform(): void;
|
|
1947
2015
|
protected _updateGlobalTransform(): void;
|
|
1948
2016
|
getRect(): Rect2;
|
|
1949
2017
|
protected _updateOverflow(): void;
|
|
1950
2018
|
protected _draw(): void;
|
|
1951
|
-
protected _drawBackground(): void;
|
|
1952
2019
|
protected _drawContent(): void;
|
|
1953
|
-
protected _drawBorder(): void;
|
|
1954
|
-
protected _drawOutline(): void;
|
|
1955
|
-
protected _drawBoundingRect(): void;
|
|
1956
|
-
protected _fillBoundingRect(): void;
|
|
1957
|
-
protected _strokeBoundingRect(): void;
|
|
1958
2020
|
protected _repaint(batchables: CanvasBatchable[]): CanvasBatchable[];
|
|
1959
2021
|
canPointerEvents(): boolean;
|
|
1960
2022
|
input(event: InputEvent, key: InputEventKey): void;
|
|
1961
|
-
protected _pointerEntering: boolean;
|
|
1962
|
-
protected _pointerEntered(): void;
|
|
1963
|
-
protected _pointerExited(): void;
|
|
1964
2023
|
protected _pointerInput(point: {
|
|
1965
2024
|
x: number;
|
|
1966
2025
|
y: number;
|
|
@@ -2092,8 +2151,8 @@ interface Image2DProperties extends Element2DProperties {
|
|
|
2092
2151
|
}
|
|
2093
2152
|
declare class Image2D extends Element2D {
|
|
2094
2153
|
texture?: AnimatedTexture;
|
|
2095
|
-
srcRect: ImageSourceRect;
|
|
2096
2154
|
src: string;
|
|
2155
|
+
srcRect: ImageSourceRect;
|
|
2097
2156
|
gif: boolean;
|
|
2098
2157
|
get currentFrameTexture(): Texture2D | undefined;
|
|
2099
2158
|
get textureDuration(): number;
|
|
@@ -2157,7 +2216,7 @@ declare class Text2D extends TextureRect2D<CanvasTexture> {
|
|
|
2157
2216
|
measureDom?: TextOptions['measureDom'];
|
|
2158
2217
|
fonts?: TextOptions['fonts'];
|
|
2159
2218
|
texture: CanvasTexture;
|
|
2160
|
-
|
|
2219
|
+
protected _baseText: Text;
|
|
2161
2220
|
measureResult?: MeasureResult;
|
|
2162
2221
|
protected _subTextsCount: number;
|
|
2163
2222
|
constructor(properties?: Partial<Text2DProperties>, children?: Node[]);
|
|
@@ -3158,4 +3217,4 @@ interface RenderOptions {
|
|
|
3158
3217
|
}
|
|
3159
3218
|
declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
|
|
3160
3219
|
|
|
3161
|
-
export { AnimatedTexture, Animation, type AnimationEffectMode, type AnimationProperties, type AssetHandler, Assets, Audio, AudioPipeline, AudioProcessor, AudioSpectrum, AudioWaveform, type AudioWaveformProperties, BaseElement2D, type BaseElement2DEventMap, type BaseElement2DProperties, BaseElement2DStyle, type BaseElement2DStyleProperties, type Batchable2D, 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 };
|
|
3220
|
+
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 };
|