modern-canvas 0.7.15 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +150 -66
- package/dist/index.d.cts +78 -8
- package/dist/index.d.mts +78 -8
- package/dist/index.d.ts +78 -8
- package/dist/index.js +51 -44
- package/dist/index.mjs +137 -64
- package/package.json +19 -15
package/dist/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { AnimationItem } from 'lottie-web';
|
|
|
5
5
|
import { Colord, RgbaColor, HslaColor, HsvaColor } from 'colord';
|
|
6
6
|
import { Path2D, LineCap, LineJoin, LineStyle, Path2DSet } from 'modern-path2d';
|
|
7
7
|
import { Text, MeasureResult } from 'modern-text';
|
|
8
|
-
import { Node as Node$1
|
|
8
|
+
import { Node as Node$1 } from 'yoga-layout/load';
|
|
9
9
|
|
|
10
10
|
declare abstract class Loader {
|
|
11
11
|
abstract install(assets: Assets): this;
|
|
@@ -2221,6 +2221,76 @@ declare class Element2D extends BaseElement2D {
|
|
|
2221
2221
|
protected _updateStyleProperty(key: string, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2222
2222
|
}
|
|
2223
2223
|
|
|
2224
|
+
declare const edgeMap: {
|
|
2225
|
+
left: number;
|
|
2226
|
+
top: number;
|
|
2227
|
+
right: number;
|
|
2228
|
+
bottom: number;
|
|
2229
|
+
start: number;
|
|
2230
|
+
end: number;
|
|
2231
|
+
horizontal: number;
|
|
2232
|
+
vertical: number;
|
|
2233
|
+
all: number;
|
|
2234
|
+
};
|
|
2235
|
+
declare const gutterMap: {
|
|
2236
|
+
column: number;
|
|
2237
|
+
row: number;
|
|
2238
|
+
all: number;
|
|
2239
|
+
};
|
|
2240
|
+
declare const alignMap: {
|
|
2241
|
+
auto: number;
|
|
2242
|
+
'flex-start': number;
|
|
2243
|
+
center: number;
|
|
2244
|
+
'flex-end': number;
|
|
2245
|
+
stretch: number;
|
|
2246
|
+
baseline: number;
|
|
2247
|
+
'space-between': number;
|
|
2248
|
+
'space-around': number;
|
|
2249
|
+
'space-evenly': number;
|
|
2250
|
+
};
|
|
2251
|
+
declare const displayMap: {
|
|
2252
|
+
flex: number;
|
|
2253
|
+
none: number;
|
|
2254
|
+
contents: number;
|
|
2255
|
+
};
|
|
2256
|
+
declare const directionMap: {
|
|
2257
|
+
inherit: number;
|
|
2258
|
+
ltr: number;
|
|
2259
|
+
rtl: number;
|
|
2260
|
+
};
|
|
2261
|
+
declare const flexDirectionMap: {
|
|
2262
|
+
column: number;
|
|
2263
|
+
'column-reverse': number;
|
|
2264
|
+
row: number;
|
|
2265
|
+
'row-reverse': number;
|
|
2266
|
+
};
|
|
2267
|
+
declare const flexWrapMap: {
|
|
2268
|
+
'no-wrap': number;
|
|
2269
|
+
wrap: number;
|
|
2270
|
+
'Wrap-reverse': number;
|
|
2271
|
+
};
|
|
2272
|
+
declare const justifyMap: {
|
|
2273
|
+
'flex-start': number;
|
|
2274
|
+
center: number;
|
|
2275
|
+
'flex-end': number;
|
|
2276
|
+
'space-between': number;
|
|
2277
|
+
'space-around': number;
|
|
2278
|
+
'space-evenly': number;
|
|
2279
|
+
};
|
|
2280
|
+
declare const overflowMap: {
|
|
2281
|
+
visible: number;
|
|
2282
|
+
hidden: number;
|
|
2283
|
+
scroll: number;
|
|
2284
|
+
};
|
|
2285
|
+
declare const positionTypeMap: {
|
|
2286
|
+
static: number;
|
|
2287
|
+
relative: number;
|
|
2288
|
+
absolute: number;
|
|
2289
|
+
};
|
|
2290
|
+
declare const boxSizingMap: {
|
|
2291
|
+
'border-box': number;
|
|
2292
|
+
'content-box': number;
|
|
2293
|
+
};
|
|
2224
2294
|
interface ComputedLayout {
|
|
2225
2295
|
left: number;
|
|
2226
2296
|
right: number;
|
|
@@ -2240,7 +2310,7 @@ declare class FlexLayout {
|
|
|
2240
2310
|
get offsetWidth(): number;
|
|
2241
2311
|
get offsetHeight(): number;
|
|
2242
2312
|
constructor(_element: FlexElement2D);
|
|
2243
|
-
calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?:
|
|
2313
|
+
calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?: typeof displayMap[keyof typeof displayMap]): void;
|
|
2244
2314
|
getComputedLayout(): ComputedLayout;
|
|
2245
2315
|
updateStyleProperty(key: string, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2246
2316
|
}
|
|
@@ -2271,7 +2341,7 @@ declare class FlexElement2D extends BaseElement2D implements Rectangulable {
|
|
|
2271
2341
|
protected _unparented(oldParent: Node): void;
|
|
2272
2342
|
protected _updateStyleProperty(key: string, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2273
2343
|
updateTransform(): void;
|
|
2274
|
-
calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?:
|
|
2344
|
+
calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?: typeof directionMap[keyof typeof directionMap]): void;
|
|
2275
2345
|
}
|
|
2276
2346
|
|
|
2277
2347
|
interface Image2DProperties extends Element2DProperties {
|
|
@@ -3142,12 +3212,12 @@ declare class TwistTransition extends Transition {
|
|
|
3142
3212
|
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
3143
3213
|
}
|
|
3144
3214
|
|
|
3145
|
-
declare class
|
|
3215
|
+
declare class GifLoader extends Loader {
|
|
3146
3216
|
load: (url: string) => Promise<AnimatedTexture>;
|
|
3147
3217
|
install(assets: Assets): this;
|
|
3148
3218
|
}
|
|
3149
3219
|
|
|
3150
|
-
declare class
|
|
3220
|
+
declare class JsonLoader extends Loader {
|
|
3151
3221
|
load: (url: string) => Promise<Record<string, any>>;
|
|
3152
3222
|
install(assets: Assets): this;
|
|
3153
3223
|
}
|
|
@@ -3175,8 +3245,8 @@ declare class VideoLoader extends Loader {
|
|
|
3175
3245
|
type AssetHandler = (url: string, options?: any) => any | Promise<any>;
|
|
3176
3246
|
interface Assets {
|
|
3177
3247
|
font: FontLoader;
|
|
3178
|
-
gif:
|
|
3179
|
-
json:
|
|
3248
|
+
gif: GifLoader;
|
|
3249
|
+
json: JsonLoader;
|
|
3180
3250
|
lottie: LottieLoader;
|
|
3181
3251
|
text: TextLoader;
|
|
3182
3252
|
texture: TextureLoader;
|
|
@@ -3311,5 +3381,5 @@ interface RenderOptions {
|
|
|
3311
3381
|
}
|
|
3312
3382
|
declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
|
|
3313
3383
|
|
|
3314
|
-
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,
|
|
3384
|
+
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, GaussianBlurEffect, Geometry, GifLoader, 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, alignMap, assets, boxSizingMap, clamp, clampFrag, createHTMLCanvas, createNode, crossOrigin, cubicBezier, curves, customNode, customNodes, defaultOptions, determineCrossOrigin, directionMap, displayMap, ease, easeIn, easeInOut, easeOut, edgeMap, flexDirectionMap, flexWrapMap, frag, getDefaultCssPropertyValue, gutterMap, isCanvasElement, isElementNode, isImageElement, isPow2, isVideoElement, isWebgl2, justifyMap, lerp, linear, log2, mapWebGLBlendModes, nextPow2, nextTick, overflowMap, parseCSSFilter, parseCSSTransform, parseCSSTransformOrigin, parseCssFunctions, parseCssProperty, positionTypeMap, render, timingFunctions, uid };
|
|
3315
3385
|
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, Vector2Data, 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
|
@@ -5,7 +5,7 @@ import { AnimationItem } from 'lottie-web';
|
|
|
5
5
|
import { Colord, RgbaColor, HslaColor, HsvaColor } from 'colord';
|
|
6
6
|
import { Path2D, LineCap, LineJoin, LineStyle, Path2DSet } from 'modern-path2d';
|
|
7
7
|
import { Text, MeasureResult } from 'modern-text';
|
|
8
|
-
import { Node as Node$1
|
|
8
|
+
import { Node as Node$1 } from 'yoga-layout/load';
|
|
9
9
|
|
|
10
10
|
declare abstract class Loader {
|
|
11
11
|
abstract install(assets: Assets): this;
|
|
@@ -2221,6 +2221,76 @@ declare class Element2D extends BaseElement2D {
|
|
|
2221
2221
|
protected _updateStyleProperty(key: string, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2222
2222
|
}
|
|
2223
2223
|
|
|
2224
|
+
declare const edgeMap: {
|
|
2225
|
+
left: number;
|
|
2226
|
+
top: number;
|
|
2227
|
+
right: number;
|
|
2228
|
+
bottom: number;
|
|
2229
|
+
start: number;
|
|
2230
|
+
end: number;
|
|
2231
|
+
horizontal: number;
|
|
2232
|
+
vertical: number;
|
|
2233
|
+
all: number;
|
|
2234
|
+
};
|
|
2235
|
+
declare const gutterMap: {
|
|
2236
|
+
column: number;
|
|
2237
|
+
row: number;
|
|
2238
|
+
all: number;
|
|
2239
|
+
};
|
|
2240
|
+
declare const alignMap: {
|
|
2241
|
+
auto: number;
|
|
2242
|
+
'flex-start': number;
|
|
2243
|
+
center: number;
|
|
2244
|
+
'flex-end': number;
|
|
2245
|
+
stretch: number;
|
|
2246
|
+
baseline: number;
|
|
2247
|
+
'space-between': number;
|
|
2248
|
+
'space-around': number;
|
|
2249
|
+
'space-evenly': number;
|
|
2250
|
+
};
|
|
2251
|
+
declare const displayMap: {
|
|
2252
|
+
flex: number;
|
|
2253
|
+
none: number;
|
|
2254
|
+
contents: number;
|
|
2255
|
+
};
|
|
2256
|
+
declare const directionMap: {
|
|
2257
|
+
inherit: number;
|
|
2258
|
+
ltr: number;
|
|
2259
|
+
rtl: number;
|
|
2260
|
+
};
|
|
2261
|
+
declare const flexDirectionMap: {
|
|
2262
|
+
column: number;
|
|
2263
|
+
'column-reverse': number;
|
|
2264
|
+
row: number;
|
|
2265
|
+
'row-reverse': number;
|
|
2266
|
+
};
|
|
2267
|
+
declare const flexWrapMap: {
|
|
2268
|
+
'no-wrap': number;
|
|
2269
|
+
wrap: number;
|
|
2270
|
+
'Wrap-reverse': number;
|
|
2271
|
+
};
|
|
2272
|
+
declare const justifyMap: {
|
|
2273
|
+
'flex-start': number;
|
|
2274
|
+
center: number;
|
|
2275
|
+
'flex-end': number;
|
|
2276
|
+
'space-between': number;
|
|
2277
|
+
'space-around': number;
|
|
2278
|
+
'space-evenly': number;
|
|
2279
|
+
};
|
|
2280
|
+
declare const overflowMap: {
|
|
2281
|
+
visible: number;
|
|
2282
|
+
hidden: number;
|
|
2283
|
+
scroll: number;
|
|
2284
|
+
};
|
|
2285
|
+
declare const positionTypeMap: {
|
|
2286
|
+
static: number;
|
|
2287
|
+
relative: number;
|
|
2288
|
+
absolute: number;
|
|
2289
|
+
};
|
|
2290
|
+
declare const boxSizingMap: {
|
|
2291
|
+
'border-box': number;
|
|
2292
|
+
'content-box': number;
|
|
2293
|
+
};
|
|
2224
2294
|
interface ComputedLayout {
|
|
2225
2295
|
left: number;
|
|
2226
2296
|
right: number;
|
|
@@ -2240,7 +2310,7 @@ declare class FlexLayout {
|
|
|
2240
2310
|
get offsetWidth(): number;
|
|
2241
2311
|
get offsetHeight(): number;
|
|
2242
2312
|
constructor(_element: FlexElement2D);
|
|
2243
|
-
calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?:
|
|
2313
|
+
calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?: typeof displayMap[keyof typeof displayMap]): void;
|
|
2244
2314
|
getComputedLayout(): ComputedLayout;
|
|
2245
2315
|
updateStyleProperty(key: string, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2246
2316
|
}
|
|
@@ -2271,7 +2341,7 @@ declare class FlexElement2D extends BaseElement2D implements Rectangulable {
|
|
|
2271
2341
|
protected _unparented(oldParent: Node): void;
|
|
2272
2342
|
protected _updateStyleProperty(key: string, value: any, oldValue: any, declaration?: PropertyDeclaration): void;
|
|
2273
2343
|
updateTransform(): void;
|
|
2274
|
-
calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?:
|
|
2344
|
+
calculateLayout(width?: number | 'auto', height?: number | 'auto', direction?: typeof directionMap[keyof typeof directionMap]): void;
|
|
2275
2345
|
}
|
|
2276
2346
|
|
|
2277
2347
|
interface Image2DProperties extends Element2DProperties {
|
|
@@ -3142,12 +3212,12 @@ declare class TwistTransition extends Transition {
|
|
|
3142
3212
|
apply(renderer: WebGLRenderer, source: Viewport): void;
|
|
3143
3213
|
}
|
|
3144
3214
|
|
|
3145
|
-
declare class
|
|
3215
|
+
declare class GifLoader extends Loader {
|
|
3146
3216
|
load: (url: string) => Promise<AnimatedTexture>;
|
|
3147
3217
|
install(assets: Assets): this;
|
|
3148
3218
|
}
|
|
3149
3219
|
|
|
3150
|
-
declare class
|
|
3220
|
+
declare class JsonLoader extends Loader {
|
|
3151
3221
|
load: (url: string) => Promise<Record<string, any>>;
|
|
3152
3222
|
install(assets: Assets): this;
|
|
3153
3223
|
}
|
|
@@ -3175,8 +3245,8 @@ declare class VideoLoader extends Loader {
|
|
|
3175
3245
|
type AssetHandler = (url: string, options?: any) => any | Promise<any>;
|
|
3176
3246
|
interface Assets {
|
|
3177
3247
|
font: FontLoader;
|
|
3178
|
-
gif:
|
|
3179
|
-
json:
|
|
3248
|
+
gif: GifLoader;
|
|
3249
|
+
json: JsonLoader;
|
|
3180
3250
|
lottie: LottieLoader;
|
|
3181
3251
|
text: TextLoader;
|
|
3182
3252
|
texture: TextureLoader;
|
|
@@ -3311,5 +3381,5 @@ interface RenderOptions {
|
|
|
3311
3381
|
}
|
|
3312
3382
|
declare function render(options: RenderOptions): Promise<HTMLCanvasElement>;
|
|
3313
3383
|
|
|
3314
|
-
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,
|
|
3384
|
+
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, GaussianBlurEffect, Geometry, GifLoader, 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, alignMap, assets, boxSizingMap, clamp, clampFrag, createHTMLCanvas, createNode, crossOrigin, cubicBezier, curves, customNode, customNodes, defaultOptions, determineCrossOrigin, directionMap, displayMap, ease, easeIn, easeInOut, easeOut, edgeMap, flexDirectionMap, flexWrapMap, frag, getDefaultCssPropertyValue, gutterMap, isCanvasElement, isElementNode, isImageElement, isPow2, isVideoElement, isWebgl2, justifyMap, lerp, linear, log2, mapWebGLBlendModes, nextPow2, nextTick, overflowMap, parseCSSFilter, parseCSSTransform, parseCSSTransformOrigin, parseCssFunctions, parseCssProperty, positionTypeMap, render, timingFunctions, uid };
|
|
3315
3385
|
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, Vector2Data, 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 };
|