lyb-pixi-js 1.0.7 → 1.0.8
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/README.md +1 -1
- package/dist/Base/LibPixiBitText/index.d.ts +3 -1
- package/dist/Base/LibPixiContainer/index.d.ts +3 -1
- package/dist/Base/LibPixiParticleMove/index.d.ts +3 -1
- package/dist/Base/LibPixiRectBgColor/index.d.ts +3 -1
- package/dist/Base/LibPixiSpine/index.d.ts +3 -1
- package/dist/Base/LibPixiText/index.d.ts +3 -1
- package/dist/libPixiJs.d.ts +18 -6
- package/package.json +1 -1
- package/umd/lyb-pixi.js +63 -63
package/README.md
CHANGED
|
@@ -9,7 +9,9 @@ interface LibPixiContainerParams {
|
|
|
9
9
|
/** 背景色 */
|
|
10
10
|
bgColor?: string;
|
|
11
11
|
}
|
|
12
|
-
/** @description 自定义容器大小及背景色
|
|
12
|
+
/** @description 自定义容器大小及背景色
|
|
13
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiContainer-容器
|
|
14
|
+
*/
|
|
13
15
|
export declare class LibPixiContainer extends Container {
|
|
14
16
|
/** 填充容器 */
|
|
15
17
|
private _fill?;
|
|
@@ -27,7 +27,9 @@ export interface LibPixiParticleMoveParams {
|
|
|
27
27
|
/** 是否循环,调试使用 */
|
|
28
28
|
loop?: boolean;
|
|
29
29
|
}
|
|
30
|
-
/** @description 利用贝塞尔曲线实现粒子移动
|
|
30
|
+
/** @description 利用贝塞尔曲线实现粒子移动
|
|
31
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiParticleMove-粒子容器
|
|
32
|
+
*/
|
|
31
33
|
export declare class LibPixiParticleMove extends Container {
|
|
32
34
|
private _particleContainer;
|
|
33
35
|
constructor(params: LibPixiParticleMoveParams);
|
|
@@ -13,7 +13,9 @@ export interface LibPixiRectBgColorParams {
|
|
|
13
13
|
/** 是否启用变色功能 */
|
|
14
14
|
enableTint?: boolean;
|
|
15
15
|
}
|
|
16
|
-
/** @description 自定义矩形背景色
|
|
16
|
+
/** @description 自定义矩形背景色
|
|
17
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiRectBgColor-矩形
|
|
18
|
+
*/
|
|
17
19
|
export declare class LibPixiRectBgColor extends Graphics {
|
|
18
20
|
/** 启用着色 */
|
|
19
21
|
private enableTint;
|
|
@@ -24,7 +24,9 @@ export interface LibPixiSpineParams {
|
|
|
24
24
|
onUpdate?: (config: OnUpdateParams) => void;
|
|
25
25
|
}[];
|
|
26
26
|
}
|
|
27
|
-
/** @description 自定义 Spine 动画
|
|
27
|
+
/** @description 自定义 Spine 动画
|
|
28
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiSpine-动画
|
|
29
|
+
*/
|
|
28
30
|
export declare class LibPixiSpine extends Spine {
|
|
29
31
|
/** 挂点 */
|
|
30
32
|
private _followDots;
|
|
@@ -29,7 +29,9 @@ export interface LibPixiTextParams {
|
|
|
29
29
|
/** 阴影-颜色 角度 模糊度 阴影距离 */
|
|
30
30
|
shadow?: [string, number, number, number];
|
|
31
31
|
}
|
|
32
|
-
/** @description 自定义文本类
|
|
32
|
+
/** @description 自定义文本类
|
|
33
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiText-文本
|
|
34
|
+
*/
|
|
33
35
|
export declare class LibPixiText extends Text {
|
|
34
36
|
constructor(options: LibPixiTextParams);
|
|
35
37
|
}
|
package/dist/libPixiJs.d.ts
CHANGED
|
@@ -6,16 +6,28 @@ import { LibPixiSpine } from "./Base/LibPixiSpine";
|
|
|
6
6
|
import { LibPixiText } from "./Base/LibPixiText";
|
|
7
7
|
/** @description 基础方法 */
|
|
8
8
|
export declare const Base: {
|
|
9
|
-
/** @description 自定义位图文本
|
|
9
|
+
/** @description 自定义位图文本
|
|
10
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiBitText-位图
|
|
11
|
+
*/
|
|
10
12
|
LibPixiBitText: typeof LibPixiBitText;
|
|
11
|
-
/** @description 自定义容器大小及背景色
|
|
13
|
+
/** @description 自定义容器大小及背景色
|
|
14
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiContainer-容器
|
|
15
|
+
*/
|
|
12
16
|
LibPixiContainer: typeof LibPixiContainer;
|
|
13
|
-
/** @description
|
|
17
|
+
/** @description 利用贝塞尔曲线实现粒子移动
|
|
18
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiParticleMove-粒子容器
|
|
19
|
+
*/
|
|
14
20
|
LibPixiParticleMove: typeof LibPixiParticleMove;
|
|
15
|
-
/** @description 自定义矩形背景色
|
|
21
|
+
/** @description 自定义矩形背景色
|
|
22
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiRectBgColor-矩形
|
|
23
|
+
*/
|
|
16
24
|
LibPixiRectBgColor: typeof LibPixiRectBgColor;
|
|
17
|
-
/** @description 自定义 Spine 动画
|
|
25
|
+
/** @description 自定义 Spine 动画
|
|
26
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiSpine-动画
|
|
27
|
+
*/
|
|
18
28
|
LibPixiSpine: typeof LibPixiSpine;
|
|
19
|
-
/** @description
|
|
29
|
+
/** @description 自定义文本类
|
|
30
|
+
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiText-文本
|
|
31
|
+
*/
|
|
20
32
|
LibPixiText: typeof LibPixiText;
|
|
21
33
|
};
|