@designcombo/video 0.1.5 → 0.1.7
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/{SharedSystems-Cxz06gEh.js → SharedSystems-84EoMkf6.js} +1 -1
- package/dist/{WebGLRenderer-BdHmEAKL.js → WebGLRenderer-t-t-51YG.js} +2 -2
- package/dist/{WebGPURenderer-Bt_jF2ou.js → WebGPURenderer-BIy0qtY7.js} +2 -2
- package/dist/{browserAll-Du4yeFI0.js → browserAll-gdNZPp2i.js} +2 -2
- package/dist/clips/caption-clip.d.ts +2 -40
- package/dist/clips/iclip.d.ts +4 -0
- package/dist/clips/text-clip.d.ts +4 -0
- package/dist/{index-C2fuEuN1.js → index-vzWoc22W.js} +3544 -2888
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +243 -124
- package/dist/json-serialization.d.ts +1 -0
- package/dist/sprite/base-sprite.d.ts +7 -0
- package/dist/sprite/pixi-sprite-renderer.d.ts +13 -0
- package/dist/{webworkerAll-BTpWESyl.js → webworkerAll-D3uve5FK.js} +1 -1
- package/package.json +1 -1
|
@@ -131,6 +131,13 @@ export declare abstract class BaseSprite extends EventEmitter<BaseSpriteEvents>
|
|
|
131
131
|
duration: number;
|
|
132
132
|
targets?: number[];
|
|
133
133
|
}>;
|
|
134
|
+
/**
|
|
135
|
+
* Styling properties (e.g., stroke, dropShadow, borderRadius)
|
|
136
|
+
* This is a generic object to hold visual styles across different clip types
|
|
137
|
+
*/
|
|
138
|
+
protected _style: any;
|
|
139
|
+
get style(): any;
|
|
140
|
+
set style(v: any);
|
|
134
141
|
private animatKeyFrame;
|
|
135
142
|
private animatOpts;
|
|
136
143
|
/**
|
|
@@ -18,6 +18,12 @@ export declare class PixiSpriteRenderer {
|
|
|
18
18
|
private texture;
|
|
19
19
|
private canvas;
|
|
20
20
|
private context;
|
|
21
|
+
private root;
|
|
22
|
+
private strokeGraphics;
|
|
23
|
+
private maskGraphics;
|
|
24
|
+
private shadowGraphics;
|
|
25
|
+
private shadowContainer;
|
|
26
|
+
private resolution;
|
|
21
27
|
private destroyed;
|
|
22
28
|
constructor(_pixiApp: Application | null, sprite: IClip, targetContainer?: Container | null);
|
|
23
29
|
/**
|
|
@@ -30,7 +36,14 @@ export declare class PixiSpriteRenderer {
|
|
|
30
36
|
* Apply sprite transformations to the Pixi Sprite
|
|
31
37
|
*/
|
|
32
38
|
private applySpriteTransforms;
|
|
39
|
+
/**
|
|
40
|
+
* Apply all styles (stroke, borderRadius, dropShadow) to the sprite
|
|
41
|
+
*/
|
|
42
|
+
private applyStyle;
|
|
43
|
+
private applyStroke;
|
|
44
|
+
private applyShadow;
|
|
33
45
|
updateTransforms(): void;
|
|
34
46
|
getSprite(): Sprite | null;
|
|
47
|
+
getRoot(): Container | null;
|
|
35
48
|
destroy(): void;
|
|
36
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as p, U as Ne, T as ee, F as je, G as he, v as fe, M as P, l as C, d as pe, I as v, t as w, a8 as $, R as N, w as L, H as me, a5 as G, a6 as ge, c as F, B as T, D as j, S as M, y as D, af as qe, ag as q, L as Y, ah as U, s as Q, a0 as Qe, $ as X, n as xe, q as _e, aa as be, ad as ye, o as Je, p as Ze, ab as et, ac as tt, ae as rt, ai as nt, aj as st, ak as it, al as H, am as at, an as ot, m as ve, ao as te, ap as k, e as b, aq as ut } from "./index-
|
|
1
|
+
import { E as p, U as Ne, T as ee, F as je, G as he, v as fe, M as P, l as C, d as pe, I as v, t as w, a8 as $, R as N, w as L, H as me, a5 as G, a6 as ge, c as F, B as T, D as j, S as M, y as D, af as qe, ag as q, L as Y, ah as U, s as Q, a0 as Qe, $ as X, n as xe, q as _e, aa as be, ad as ye, o as Je, p as Ze, ab as et, ac as tt, ae as rt, ai as nt, aj as st, ak as it, al as H, am as at, an as ot, m as ve, ao as te, ap as k, e as b, aq as ut } from "./index-vzWoc22W.js";
|
|
2
2
|
import { c as z, a as lt, b as ct, B as Te } from "./colorToUniform-C2jGzNe1.js";
|
|
3
3
|
class Pe {
|
|
4
4
|
/**
|