@next2d/display 3.4.1 → 3.5.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/Loader.d.ts +18 -0
- package/src/Loader.js +22 -0
- package/src/Sprite.d.ts +18 -0
- package/src/Sprite.js +22 -0
- package/src/Stage.d.ts +18 -0
- package/src/Stage.js +22 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/display",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Next2D Display Package",
|
|
5
5
|
"author": "Toshiyuki Ienaga<ienaga@next2d.app> (https://github.com/ienaga/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"url": "git+https://github.com/Next2D/Player.git"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@next2d/ui": "3.
|
|
28
|
-
"@next2d/text": "3.
|
|
29
|
-
"@next2d/geom": "3.
|
|
30
|
-
"@next2d/media": "3.
|
|
31
|
-
"@next2d/net": "3.
|
|
32
|
-
"@next2d/events": "3.
|
|
33
|
-
"@next2d/filters": "3.
|
|
34
|
-
"@next2d/render-queue": "3.
|
|
27
|
+
"@next2d/ui": "3.5.0",
|
|
28
|
+
"@next2d/text": "3.5.0",
|
|
29
|
+
"@next2d/geom": "3.5.0",
|
|
30
|
+
"@next2d/media": "3.5.0",
|
|
31
|
+
"@next2d/net": "3.5.0",
|
|
32
|
+
"@next2d/events": "3.5.0",
|
|
33
|
+
"@next2d/filters": "3.5.0",
|
|
34
|
+
"@next2d/render-queue": "3.5.0"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/src/Loader.d.ts
CHANGED
|
@@ -36,6 +36,24 @@ export declare class Loader {
|
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
38
|
constructor();
|
|
39
|
+
/**
|
|
40
|
+
* @description 指定されたクラスの空間名を返します。
|
|
41
|
+
* Returns the space name of the specified class.
|
|
42
|
+
*
|
|
43
|
+
* @return {string}
|
|
44
|
+
* @const
|
|
45
|
+
* @static
|
|
46
|
+
*/
|
|
47
|
+
static get namespace(): string;
|
|
48
|
+
/**
|
|
49
|
+
* @description 指定されたオブジェクトの空間名を返します。
|
|
50
|
+
* Returns the space name of the specified object.
|
|
51
|
+
*
|
|
52
|
+
* @return {string}
|
|
53
|
+
* @const
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
get namespace(): string;
|
|
39
57
|
/**
|
|
40
58
|
* @description load メソッドを使用して読み込まれた JSON のルート表示オブジェクトが含まれます。
|
|
41
59
|
* It contains a JSON root display object loaded using the load method.
|
package/src/Loader.js
CHANGED
|
@@ -45,6 +45,28 @@ export class Loader {
|
|
|
45
45
|
this.root = null;
|
|
46
46
|
this.contentLoaderInfo = new LoaderInfo();
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* @description 指定されたクラスの空間名を返します。
|
|
50
|
+
* Returns the space name of the specified class.
|
|
51
|
+
*
|
|
52
|
+
* @return {string}
|
|
53
|
+
* @const
|
|
54
|
+
* @static
|
|
55
|
+
*/
|
|
56
|
+
static get namespace() {
|
|
57
|
+
return "next2d.display.Loader";
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @description 指定されたオブジェクトの空間名を返します。
|
|
61
|
+
* Returns the space name of the specified object.
|
|
62
|
+
*
|
|
63
|
+
* @return {string}
|
|
64
|
+
* @const
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
get namespace() {
|
|
68
|
+
return "next2d.display.Loader";
|
|
69
|
+
}
|
|
48
70
|
/**
|
|
49
71
|
* @description load メソッドを使用して読み込まれた JSON のルート表示オブジェクトが含まれます。
|
|
50
72
|
* It contains a JSON root display object loaded using the load method.
|
package/src/Sprite.d.ts
CHANGED
|
@@ -91,6 +91,24 @@ export declare class Sprite extends DisplayObjectContainer {
|
|
|
91
91
|
* @public
|
|
92
92
|
*/
|
|
93
93
|
constructor();
|
|
94
|
+
/**
|
|
95
|
+
* @description 指定されたクラスの空間名を返します。
|
|
96
|
+
* Returns the space name of the specified class.
|
|
97
|
+
*
|
|
98
|
+
* @return {string}
|
|
99
|
+
* @const
|
|
100
|
+
* @static
|
|
101
|
+
*/
|
|
102
|
+
static get namespace(): string;
|
|
103
|
+
/**
|
|
104
|
+
* @description 指定されたオブジェクトの空間名を返します。
|
|
105
|
+
* Returns the space name of the specified object.
|
|
106
|
+
*
|
|
107
|
+
* @return {string}
|
|
108
|
+
* @const
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
get namespace(): string;
|
|
94
112
|
/**
|
|
95
113
|
* @description このスプライト内のサウンドを制御します。
|
|
96
114
|
* Controls sound within this sprite.
|
package/src/Sprite.js
CHANGED
|
@@ -149,6 +149,28 @@ export class Sprite extends DisplayObjectContainer {
|
|
|
149
149
|
// private
|
|
150
150
|
this._$soundTransform = null;
|
|
151
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* @description 指定されたクラスの空間名を返します。
|
|
154
|
+
* Returns the space name of the specified class.
|
|
155
|
+
*
|
|
156
|
+
* @return {string}
|
|
157
|
+
* @const
|
|
158
|
+
* @static
|
|
159
|
+
*/
|
|
160
|
+
static get namespace() {
|
|
161
|
+
return "next2d.display.Sprite";
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @description 指定されたオブジェクトの空間名を返します。
|
|
165
|
+
* Returns the space name of the specified object.
|
|
166
|
+
*
|
|
167
|
+
* @return {string}
|
|
168
|
+
* @const
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
get namespace() {
|
|
172
|
+
return "next2d.display.Sprite";
|
|
173
|
+
}
|
|
152
174
|
/**
|
|
153
175
|
* @description このスプライト内のサウンドを制御します。
|
|
154
176
|
* Controls sound within this sprite.
|
package/src/Stage.d.ts
CHANGED
|
@@ -84,6 +84,24 @@ export declare class Stage extends DisplayObjectContainer {
|
|
|
84
84
|
* @public
|
|
85
85
|
*/
|
|
86
86
|
constructor();
|
|
87
|
+
/**
|
|
88
|
+
* @description 指定されたクラスの空間名を返します。
|
|
89
|
+
* Returns the space name of the specified class.
|
|
90
|
+
*
|
|
91
|
+
* @return {string}
|
|
92
|
+
* @const
|
|
93
|
+
* @static
|
|
94
|
+
*/
|
|
95
|
+
static get namespace(): string;
|
|
96
|
+
/**
|
|
97
|
+
* @description 指定されたオブジェクトの空間名を返します。
|
|
98
|
+
* Returns the space name of the specified object.
|
|
99
|
+
*
|
|
100
|
+
* @return {string}
|
|
101
|
+
* @const
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
get namespace(): string;
|
|
87
105
|
/**
|
|
88
106
|
* @description 背景色
|
|
89
107
|
* Background color
|
package/src/Stage.js
CHANGED
|
@@ -137,6 +137,28 @@ export class Stage extends DisplayObjectContainer {
|
|
|
137
137
|
this._$ready = false;
|
|
138
138
|
this._$backgroundColor = -1;
|
|
139
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* @description 指定されたクラスの空間名を返します。
|
|
142
|
+
* Returns the space name of the specified class.
|
|
143
|
+
*
|
|
144
|
+
* @return {string}
|
|
145
|
+
* @const
|
|
146
|
+
* @static
|
|
147
|
+
*/
|
|
148
|
+
static get namespace() {
|
|
149
|
+
return "next2d.display.Stage";
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* @description 指定されたオブジェクトの空間名を返します。
|
|
153
|
+
* Returns the space name of the specified object.
|
|
154
|
+
*
|
|
155
|
+
* @return {string}
|
|
156
|
+
* @const
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
get namespace() {
|
|
160
|
+
return "next2d.display.Stage";
|
|
161
|
+
}
|
|
140
162
|
/**
|
|
141
163
|
* @description 背景色
|
|
142
164
|
* Background color
|