@next2d/player 1.14.9 → 1.14.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/player/index.js +5 -3
- package/dist/player/next2d/display/GraphicsGradientFill.d.ts +1 -1
- package/dist/player/next2d/display/GraphicsGradientFill.js +6 -2
- package/dist/player/next2d/display/Loader.d.ts +1 -1
- package/dist/player/player/Next2D.d.ts +1 -2
- package/dist/player/player/Next2D.js +7 -11
- package/package.json +1 -1
- package/dist/interface/ClassNameMap.d.ts +0 -4
- package/dist/interface/ClassNameMap.js +0 -1
- package/dist/interface/RenderDisplayObjectImpl.d.ts +0 -2
- package/dist/interface/RenderDisplayObjectImpl.js +0 -1
- package/dist/interface/TextFormatImpl.d.ts +0 -16
- package/dist/interface/TextFormatImpl.js +0 -1
- package/dist/interface/TextModeImpl.d.ts +0 -1
- package/dist/interface/TextModeImpl.js +0 -1
- package/dist/renderer/RenderDisplayObject.d.ts +0 -129
- package/dist/renderer/RenderDisplayObject.js +0 -567
- package/dist/renderer/RenderDisplayObjectContainer.d.ts +0 -70
- package/dist/renderer/RenderDisplayObjectContainer.js +0 -670
- package/dist/renderer/RenderGlobal.d.ts +0 -76
- package/dist/renderer/RenderGlobal.js +0 -88
- package/dist/renderer/RenderGraphics.d.ts +0 -90
- package/dist/renderer/RenderGraphics.js +0 -597
- package/dist/renderer/RenderPlayer.d.ts +0 -164
- package/dist/renderer/RenderPlayer.js +0 -421
- package/dist/renderer/RenderShape.d.ts +0 -32
- package/dist/renderer/RenderShape.js +0 -104
- package/dist/renderer/RenderTextField.d.ts +0 -119
- package/dist/renderer/RenderTextField.js +0 -709
- package/dist/renderer/RenderVideo.d.ts +0 -59
- package/dist/renderer/RenderVideo.js +0 -272
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { RenderPlayer } from "./RenderPlayer";
|
|
2
|
-
import { RenderShape } from "./RenderShape";
|
|
3
|
-
import { RenderTextField } from "./RenderTextField";
|
|
4
|
-
import { RenderDisplayObjectContainer } from "./RenderDisplayObjectContainer";
|
|
5
|
-
import { RenderVideo } from "./RenderVideo";
|
|
6
|
-
/**
|
|
7
|
-
* @type {number}
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export declare let $devicePixelRatio: number;
|
|
11
|
-
/**
|
|
12
|
-
* @param {number} device_pixel_ratio
|
|
13
|
-
* @method
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export declare const $setDevicePixelRatio: (device_pixel_ratio: number) => void;
|
|
17
|
-
/**
|
|
18
|
-
* @type {boolean}
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export declare let $isSafari: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* @param {boolean} is_safari
|
|
24
|
-
* @method
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
export declare const $setSafari: (is_safari: boolean) => void;
|
|
28
|
-
/**
|
|
29
|
-
* @type {RenderPlayer}
|
|
30
|
-
* @const
|
|
31
|
-
*/
|
|
32
|
-
export declare const $renderPlayer: RenderPlayer;
|
|
33
|
-
/**
|
|
34
|
-
* @type {array}
|
|
35
|
-
* @static
|
|
36
|
-
*/
|
|
37
|
-
export declare const $shapes: RenderShape[];
|
|
38
|
-
/**
|
|
39
|
-
* @type {array}
|
|
40
|
-
* @static
|
|
41
|
-
*/
|
|
42
|
-
export declare const $textFields: RenderTextField[];
|
|
43
|
-
/**
|
|
44
|
-
* @type {array}
|
|
45
|
-
* @static
|
|
46
|
-
*/
|
|
47
|
-
export declare const $containers: RenderDisplayObjectContainer[];
|
|
48
|
-
/**
|
|
49
|
-
* @type {array}
|
|
50
|
-
* @static
|
|
51
|
-
*/
|
|
52
|
-
export declare const $videos: RenderVideo[];
|
|
53
|
-
/**
|
|
54
|
-
* @return {RenderDisplayObjectContainer}
|
|
55
|
-
* @method
|
|
56
|
-
* @static
|
|
57
|
-
*/
|
|
58
|
-
export declare const $getDisplayObjectContainer: () => RenderDisplayObjectContainer;
|
|
59
|
-
/**
|
|
60
|
-
* @return {RenderTextField}
|
|
61
|
-
* @method
|
|
62
|
-
* @static
|
|
63
|
-
*/
|
|
64
|
-
export declare const $getTextField: () => RenderTextField;
|
|
65
|
-
/**
|
|
66
|
-
* @return {RenderVideo}
|
|
67
|
-
* @method
|
|
68
|
-
* @static
|
|
69
|
-
*/
|
|
70
|
-
export declare const $getVideo: () => RenderVideo;
|
|
71
|
-
/**
|
|
72
|
-
* @return {RenderShape}
|
|
73
|
-
* @method
|
|
74
|
-
* @static
|
|
75
|
-
*/
|
|
76
|
-
export declare const $getShape: () => RenderShape;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { RenderPlayer } from "./RenderPlayer";
|
|
2
|
-
import { RenderShape } from "./RenderShape";
|
|
3
|
-
import { RenderTextField } from "./RenderTextField";
|
|
4
|
-
import { RenderDisplayObjectContainer } from "./RenderDisplayObjectContainer";
|
|
5
|
-
import { RenderVideo } from "./RenderVideo";
|
|
6
|
-
/**
|
|
7
|
-
* @type {number}
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export let $devicePixelRatio = 2;
|
|
11
|
-
/**
|
|
12
|
-
* @param {number} device_pixel_ratio
|
|
13
|
-
* @method
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export const $setDevicePixelRatio = (device_pixel_ratio) => {
|
|
17
|
-
$devicePixelRatio = device_pixel_ratio;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
export let $isSafari = false;
|
|
24
|
-
/**
|
|
25
|
-
* @param {boolean} is_safari
|
|
26
|
-
* @method
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export const $setSafari = (is_safari) => {
|
|
30
|
-
$isSafari = is_safari;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @type {RenderPlayer}
|
|
34
|
-
* @const
|
|
35
|
-
*/
|
|
36
|
-
export const $renderPlayer = new RenderPlayer();
|
|
37
|
-
/**
|
|
38
|
-
* @type {array}
|
|
39
|
-
* @static
|
|
40
|
-
*/
|
|
41
|
-
export const $shapes = [];
|
|
42
|
-
/**
|
|
43
|
-
* @type {array}
|
|
44
|
-
* @static
|
|
45
|
-
*/
|
|
46
|
-
export const $textFields = [];
|
|
47
|
-
/**
|
|
48
|
-
* @type {array}
|
|
49
|
-
* @static
|
|
50
|
-
*/
|
|
51
|
-
export const $containers = [];
|
|
52
|
-
/**
|
|
53
|
-
* @type {array}
|
|
54
|
-
* @static
|
|
55
|
-
*/
|
|
56
|
-
export const $videos = [];
|
|
57
|
-
/**
|
|
58
|
-
* @return {RenderDisplayObjectContainer}
|
|
59
|
-
* @method
|
|
60
|
-
* @static
|
|
61
|
-
*/
|
|
62
|
-
export const $getDisplayObjectContainer = () => {
|
|
63
|
-
return $containers.pop() || new RenderDisplayObjectContainer();
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* @return {RenderTextField}
|
|
67
|
-
* @method
|
|
68
|
-
* @static
|
|
69
|
-
*/
|
|
70
|
-
export const $getTextField = () => {
|
|
71
|
-
return $textFields.pop() || new RenderTextField();
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* @return {RenderVideo}
|
|
75
|
-
* @method
|
|
76
|
-
* @static
|
|
77
|
-
*/
|
|
78
|
-
export const $getVideo = () => {
|
|
79
|
-
return $videos.pop() || new RenderVideo();
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* @return {RenderShape}
|
|
83
|
-
* @method
|
|
84
|
-
* @static
|
|
85
|
-
*/
|
|
86
|
-
export const $getShape = () => {
|
|
87
|
-
return $shapes.pop() || new RenderShape();
|
|
88
|
-
};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { RenderDisplayObject } from "./RenderDisplayObject";
|
|
2
|
-
import type { CanvasToWebGLContext } from "../webgl/CanvasToWebGLContext";
|
|
3
|
-
import type { BlendModeImpl } from "../interface/BlendModeImpl";
|
|
4
|
-
import type { FilterArrayImpl } from "../interface/FilterArrayImpl";
|
|
5
|
-
import type { CanvasGradientToWebGL } from "../webgl/CanvasGradientToWebGL";
|
|
6
|
-
import type { ColorStopImpl } from "../interface/ColorStopImpl";
|
|
7
|
-
import type { PropertyMessageMapImpl } from "../interface/PropertyMessageMapImpl";
|
|
8
|
-
/**
|
|
9
|
-
* @class
|
|
10
|
-
*/
|
|
11
|
-
export declare class RenderGraphics extends RenderDisplayObject {
|
|
12
|
-
_$recodes: Float32Array | null;
|
|
13
|
-
_$maxAlpha: number;
|
|
14
|
-
_$canDraw: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* @constructor
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
constructor();
|
|
20
|
-
/**
|
|
21
|
-
* @param {CanvasToWebGLContext} context
|
|
22
|
-
* @param {Float32Array} matrix
|
|
23
|
-
* @return {void}
|
|
24
|
-
* @method
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
|
-
_$clip(context: CanvasToWebGLContext, matrix: Float32Array): void;
|
|
28
|
-
/**
|
|
29
|
-
* @param {CanvasToWebGLContext} context
|
|
30
|
-
* @param {Float32Array} matrix
|
|
31
|
-
* @param {Float32Array} color_transform
|
|
32
|
-
* @param {string} [blend_mode=BlendMode.NORMAL]
|
|
33
|
-
* @param {array} [filters=null]
|
|
34
|
-
* @return {void}
|
|
35
|
-
* @method
|
|
36
|
-
* @private
|
|
37
|
-
*/
|
|
38
|
-
_$draw(context: CanvasToWebGLContext, matrix: Float32Array, color_transform: Float32Array, blend_mode?: BlendModeImpl, filters?: FilterArrayImpl | null): void;
|
|
39
|
-
/**
|
|
40
|
-
* @description strokeのセットアップ
|
|
41
|
-
*
|
|
42
|
-
* @param {CanvasToWebGLContext} context
|
|
43
|
-
* @param {number} line_width
|
|
44
|
-
* @param {number} line_cap
|
|
45
|
-
* @param {number} line_join
|
|
46
|
-
* @param {number} miter_limit
|
|
47
|
-
* @return {void}
|
|
48
|
-
* @method
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
setupStroke(context: CanvasToWebGLContext, line_width: number, line_cap: number, line_join: number, miter_limit: number): void;
|
|
52
|
-
/**
|
|
53
|
-
* @description CanvasGradientToWebGLオブジェクトを生成
|
|
54
|
-
*
|
|
55
|
-
* @param {CanvasToWebGLContext} context
|
|
56
|
-
* @param {number} type
|
|
57
|
-
* @param {array} stops
|
|
58
|
-
* @param {Float32Array} matrix
|
|
59
|
-
* @param {number} spread
|
|
60
|
-
* @param {number} interpolation
|
|
61
|
-
* @param {number} focal
|
|
62
|
-
* @param {Float32Array} [color_transform=null]
|
|
63
|
-
* @return {CanvasGradientToWebGL}
|
|
64
|
-
* @method
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
67
|
-
createGradientStyle(context: CanvasToWebGLContext, type: number, stops: ColorStopImpl[], matrix: Float32Array, spread: number, interpolation: number, focal: number, color_transform?: Float32Array | null): CanvasGradientToWebGL;
|
|
68
|
-
/**
|
|
69
|
-
* @description Graphicsクラスの描画を実行
|
|
70
|
-
* Execute drawing in the Graphics class
|
|
71
|
-
*
|
|
72
|
-
* @param {CanvasToWebGLContext} context
|
|
73
|
-
* @param {Float32Array} recodes
|
|
74
|
-
* @param {Float32Array} [color_transform=null]
|
|
75
|
-
* @param {boolean} [is_clip=false]
|
|
76
|
-
* @return {void}
|
|
77
|
-
* @method
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
_$runCommand(context: CanvasToWebGLContext, recodes: Float32Array, color_transform?: Float32Array | null, is_clip?: boolean): void;
|
|
81
|
-
/**
|
|
82
|
-
* @description 描画情報を更新
|
|
83
|
-
*
|
|
84
|
-
* @param {object} object
|
|
85
|
-
* @return {void}
|
|
86
|
-
* @method
|
|
87
|
-
* @private
|
|
88
|
-
*/
|
|
89
|
-
_$update(object: PropertyMessageMapImpl<any>): void;
|
|
90
|
-
}
|