@next2d/display 3.5.0 → 3.6.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/display",
3
- "version": "3.5.0",
3
+ "version": "3.6.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.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"
27
+ "@next2d/ui": "3.6.0",
28
+ "@next2d/text": "3.6.0",
29
+ "@next2d/geom": "3.6.0",
30
+ "@next2d/media": "3.6.0",
31
+ "@next2d/net": "3.6.0",
32
+ "@next2d/events": "3.6.0",
33
+ "@next2d/filters": "3.6.0",
34
+ "@next2d/render-queue": "3.6.0"
35
35
  }
36
36
  }
package/src/Stage.d.ts CHANGED
@@ -79,6 +79,15 @@ export declare class Stage extends DisplayObjectContainer {
79
79
  * @public
80
80
  */
81
81
  private _$backgroundColor;
82
+ /**
83
+ * @description Stageの機能を所持しているかを返却
84
+ * Returns whether Stage functions are possessed.
85
+ *
86
+ * @type {boolean}
87
+ * @readonly
88
+ * @public
89
+ */
90
+ readonly isStage: boolean;
82
91
  /**
83
92
  * @constructor
84
93
  * @public
package/src/Stage.js CHANGED
@@ -127,6 +127,20 @@ export class Stage extends DisplayObjectContainer {
127
127
  writable: true,
128
128
  value: void 0
129
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
+ });
130
144
  this.stageWidth = 0;
131
145
  this.stageHeight = 0;
132
146
  this.frameRate = 1;
@@ -136,6 +150,7 @@ export class Stage extends DisplayObjectContainer {
136
150
  // private
137
151
  this._$ready = false;
138
152
  this._$backgroundColor = -1;
153
+ this.isStage = true;
139
154
  }
140
155
  /**
141
156
  * @description 指定されたクラスの空間名を返します。