@next2d/display 3.15.1 → 3.17.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/package.json +9 -9
- package/src/BitmapData.js +0 -38
- package/src/DisplayObject/service/DisplayObjectGenerateHashService.d.ts +13 -0
- package/src/DisplayObject/service/DisplayObjectGenerateHashService.js +33 -50
- package/src/DisplayObject.js +1 -544
- package/src/DisplayObjectContainer.js +0 -99
- package/src/FrameLabel.js +0 -28
- package/src/Graphics/GraphicsCommand.d.ts +22 -0
- package/src/Graphics/GraphicsCommand.js +22 -0
- package/src/Graphics/service/GraphicsCalcFillBoundsService.js +13 -4
- package/src/Graphics/service/GraphicsCalcLineBoundsService.js +82 -20
- package/src/Graphics/service/GraphicsToNumberArrayService.js +16 -16
- package/src/Graphics.js +152 -327
- package/src/GraphicsBitmapFill.js +0 -24
- package/src/GraphicsGradientFill.js +0 -54
- package/src/InteractiveObject.js +0 -28
- package/src/Loader.js +0 -25
- package/src/LoaderInfo.js +0 -69
- package/src/LoopConfig.js +0 -59
- package/src/MovieClip.js +0 -156
- package/src/Shape/usecase/ShapeLoadSrcUseCase.js +4 -1
- package/src/Shape.js +0 -91
- package/src/Sprite.js +4 -92
- package/src/Stage.js +0 -122
package/src/Stage.js
CHANGED
|
@@ -19,128 +19,6 @@ export class Stage extends DisplayObjectContainer {
|
|
|
19
19
|
*/
|
|
20
20
|
constructor() {
|
|
21
21
|
super();
|
|
22
|
-
/**
|
|
23
|
-
* @description 初期起動の準備完了したかどうか
|
|
24
|
-
* Whether the initial startup is ready
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @default false
|
|
28
|
-
* @private
|
|
29
|
-
*/
|
|
30
|
-
Object.defineProperty(this, "_$ready", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true,
|
|
33
|
-
writable: true,
|
|
34
|
-
value: void 0
|
|
35
|
-
});
|
|
36
|
-
/**
|
|
37
|
-
* @description ステージ幅
|
|
38
|
-
* Stage width
|
|
39
|
-
*
|
|
40
|
-
* @type {number}
|
|
41
|
-
* @public
|
|
42
|
-
*/
|
|
43
|
-
Object.defineProperty(this, "stageWidth", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
configurable: true,
|
|
46
|
-
writable: true,
|
|
47
|
-
value: void 0
|
|
48
|
-
});
|
|
49
|
-
/**
|
|
50
|
-
* @description ステージ高さ
|
|
51
|
-
* Stage height
|
|
52
|
-
*
|
|
53
|
-
* @type {number}
|
|
54
|
-
* @public
|
|
55
|
-
*/
|
|
56
|
-
Object.defineProperty(this, "stageHeight", {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
configurable: true,
|
|
59
|
-
writable: true,
|
|
60
|
-
value: void 0
|
|
61
|
-
});
|
|
62
|
-
/**
|
|
63
|
-
* @description フレームレート
|
|
64
|
-
* Frame rate
|
|
65
|
-
*
|
|
66
|
-
* @type {number}
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
Object.defineProperty(this, "frameRate", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
configurable: true,
|
|
72
|
-
writable: true,
|
|
73
|
-
value: void 0
|
|
74
|
-
});
|
|
75
|
-
/**
|
|
76
|
-
* @description devicePixelRatioを含んだcanvasの描画領域の拡大率
|
|
77
|
-
* The magnification of the drawing area of the canvas including devicePixelRatio
|
|
78
|
-
*
|
|
79
|
-
* @member {number}
|
|
80
|
-
* @default 1
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
Object.defineProperty(this, "rendererScale", {
|
|
84
|
-
enumerable: true,
|
|
85
|
-
configurable: true,
|
|
86
|
-
writable: true,
|
|
87
|
-
value: void 0
|
|
88
|
-
});
|
|
89
|
-
/**
|
|
90
|
-
* @description devicePixelRatioを含んだcanvasの描画領域の幅
|
|
91
|
-
* The width of the drawing area of the canvas including devicePixelRatio
|
|
92
|
-
*
|
|
93
|
-
* @member {number}
|
|
94
|
-
* @default 0
|
|
95
|
-
* @public
|
|
96
|
-
*/
|
|
97
|
-
Object.defineProperty(this, "rendererWidth", {
|
|
98
|
-
enumerable: true,
|
|
99
|
-
configurable: true,
|
|
100
|
-
writable: true,
|
|
101
|
-
value: void 0
|
|
102
|
-
});
|
|
103
|
-
/**
|
|
104
|
-
* @description devicePixelRatioを含んだcanvasの描画領域の高さ
|
|
105
|
-
* The height of the drawing area of the canvas including devicePixelRatio
|
|
106
|
-
*
|
|
107
|
-
* @member {number}
|
|
108
|
-
* @default 0
|
|
109
|
-
* @public
|
|
110
|
-
*/
|
|
111
|
-
Object.defineProperty(this, "rendererHeight", {
|
|
112
|
-
enumerable: true,
|
|
113
|
-
configurable: true,
|
|
114
|
-
writable: true,
|
|
115
|
-
value: void 0
|
|
116
|
-
});
|
|
117
|
-
/**
|
|
118
|
-
* @description 背景色
|
|
119
|
-
* Background color
|
|
120
|
-
*
|
|
121
|
-
* @type {number}
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
124
|
-
Object.defineProperty(this, "_$backgroundColor", {
|
|
125
|
-
enumerable: true,
|
|
126
|
-
configurable: true,
|
|
127
|
-
writable: true,
|
|
128
|
-
value: void 0
|
|
129
|
-
});
|
|
130
|
-
/**
|
|
131
|
-
* @description Stageの機能を所持しているかを返却
|
|
132
|
-
* Returns whether Stage functions are possessed.
|
|
133
|
-
*
|
|
134
|
-
* @type {boolean}
|
|
135
|
-
* @readonly
|
|
136
|
-
* @public
|
|
137
|
-
*/
|
|
138
|
-
Object.defineProperty(this, "isStage", {
|
|
139
|
-
enumerable: true,
|
|
140
|
-
configurable: true,
|
|
141
|
-
writable: true,
|
|
142
|
-
value: void 0
|
|
143
|
-
});
|
|
144
22
|
this.stageWidth = 0;
|
|
145
23
|
this.stageHeight = 0;
|
|
146
24
|
this.frameRate = 1;
|