@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.
Files changed (31) hide show
  1. package/dist/player/index.js +5 -3
  2. package/dist/player/next2d/display/GraphicsGradientFill.d.ts +1 -1
  3. package/dist/player/next2d/display/GraphicsGradientFill.js +6 -2
  4. package/dist/player/next2d/display/Loader.d.ts +1 -1
  5. package/dist/player/player/Next2D.d.ts +1 -2
  6. package/dist/player/player/Next2D.js +7 -11
  7. package/package.json +1 -1
  8. package/dist/interface/ClassNameMap.d.ts +0 -4
  9. package/dist/interface/ClassNameMap.js +0 -1
  10. package/dist/interface/RenderDisplayObjectImpl.d.ts +0 -2
  11. package/dist/interface/RenderDisplayObjectImpl.js +0 -1
  12. package/dist/interface/TextFormatImpl.d.ts +0 -16
  13. package/dist/interface/TextFormatImpl.js +0 -1
  14. package/dist/interface/TextModeImpl.d.ts +0 -1
  15. package/dist/interface/TextModeImpl.js +0 -1
  16. package/dist/renderer/RenderDisplayObject.d.ts +0 -129
  17. package/dist/renderer/RenderDisplayObject.js +0 -567
  18. package/dist/renderer/RenderDisplayObjectContainer.d.ts +0 -70
  19. package/dist/renderer/RenderDisplayObjectContainer.js +0 -670
  20. package/dist/renderer/RenderGlobal.d.ts +0 -76
  21. package/dist/renderer/RenderGlobal.js +0 -88
  22. package/dist/renderer/RenderGraphics.d.ts +0 -90
  23. package/dist/renderer/RenderGraphics.js +0 -597
  24. package/dist/renderer/RenderPlayer.d.ts +0 -164
  25. package/dist/renderer/RenderPlayer.js +0 -421
  26. package/dist/renderer/RenderShape.d.ts +0 -32
  27. package/dist/renderer/RenderShape.js +0 -104
  28. package/dist/renderer/RenderTextField.d.ts +0 -119
  29. package/dist/renderer/RenderTextField.js +0 -709
  30. package/dist/renderer/RenderVideo.d.ts +0 -59
  31. package/dist/renderer/RenderVideo.js +0 -272
@@ -1,164 +0,0 @@
1
- import { CacheStore } from "../player/util/CacheStore";
2
- import { CanvasToWebGLContext } from "../webgl/CanvasToWebGLContext";
3
- import type { RenderDisplayObjectImpl } from "../interface/RenderDisplayObjectImpl";
4
- import type { PropertyContainerMessageImpl } from "../interface/PropertyContainerMessageImpl";
5
- import type { PropertyShapeMessageImpl } from "../interface/PropertyShapeMessageImpl";
6
- import type { PropertyTextMessageImpl } from "../interface/PropertyTextMessageImpl";
7
- import type { PropertyVideoMessageImpl } from "../interface/PropertyVideoMessageImpl";
8
- /**
9
- * @class
10
- */
11
- export declare class RenderPlayer {
12
- private readonly _$instances;
13
- private readonly _$cacheStore;
14
- private readonly _$matrix;
15
- private readonly _$colorTransform;
16
- private _$context;
17
- private _$canvas;
18
- private _$samples;
19
- private _$width;
20
- private _$height;
21
- private readonly _$stage;
22
- private _$attachment;
23
- /**
24
- * @constructor
25
- * @public
26
- */
27
- constructor();
28
- /**
29
- * @return {Map}
30
- * @readonly
31
- * @public
32
- */
33
- get instances(): Map<number, RenderDisplayObjectImpl<any>>;
34
- /**
35
- * @return {CacheStore}
36
- * @readonly
37
- * @public
38
- */
39
- get cacheStore(): CacheStore;
40
- /**
41
- * @return {CanvasToWebGLContext}
42
- * @readonly
43
- * @public
44
- */
45
- get context(): CanvasToWebGLContext | null;
46
- /**
47
- * @return {number}
48
- * @readonly
49
- * @public
50
- */
51
- get scaleX(): number;
52
- /**
53
- * @description 描画の停止
54
- *
55
- * @return {void}
56
- * @method
57
- * @public
58
- */
59
- stop(): void;
60
- /**
61
- * @description WebGLを起動
62
- *
63
- * @param {OffscreenCanvas} canvas
64
- * @param {number} [samples=4]
65
- * @param {number} [device_pixel_ratio=2]
66
- * @return {void}
67
- * @method
68
- * @public
69
- */
70
- _$initialize(canvas: OffscreenCanvas, samples?: number, device_pixel_ratio?: number): void;
71
- /**
72
- * @description 背景色をセット
73
- *
74
- * @param {string} [background_color="transparent"]
75
- * @return {void}
76
- * @method
77
- * @public
78
- */
79
- _$setBackgroundColor(background_color?: string): void;
80
- /**
81
- * @description 指定canvasに転写
82
- *
83
- * @param {RenderDisplayObject} source
84
- * @param {Float32Array} matrix
85
- * @param {Float32Array} color_transform
86
- * @param {OffscreenCanvas} canvas
87
- * @return {void}
88
- * @method
89
- * @private
90
- */
91
- _$bitmapDraw(source: RenderDisplayObjectImpl<any>, matrix: Float32Array, color_transform: Float32Array, canvas: OffscreenCanvas): void;
92
- /**
93
- * @description 描画処理を実行
94
- *
95
- * @return {void}
96
- * @method
97
- * @private
98
- */
99
- _$draw(): void;
100
- /**
101
- * @description 描画範囲のサイズを変更
102
- *
103
- * @param {number} width
104
- * @param {number} height
105
- * @param {number} scale
106
- * @param {number} [tx = 0]
107
- * @param {number} [ty = 0]
108
- * @return {void}
109
- * @method
110
- * @private
111
- */
112
- _$resize(width: number, height: number, scale: number, tx?: number, ty?: number): void;
113
- /**
114
- * @param {number} instance_id
115
- * @return {void}
116
- * @method
117
- * @private
118
- */
119
- _$setStage(instance_id: number): void;
120
- /**
121
- * @description Stageの更新情報をセット
122
- *
123
- * @return {void}
124
- * @method
125
- * @private
126
- */
127
- _$updateStage(): void;
128
- /**
129
- * @description DisplayObjectContainerクラスを生成
130
- *
131
- * @param {object} object
132
- * @return {void}
133
- * @method
134
- * @private
135
- */
136
- _$createDisplayObjectContainer(object: PropertyContainerMessageImpl): void;
137
- /**
138
- * @description Shapeクラスを生成
139
- *
140
- * @param {object} object
141
- * @return {void}
142
- * @method
143
- * @private
144
- */
145
- _$createShape(object: PropertyShapeMessageImpl): void;
146
- /**
147
- * @description Videoクラスを生成
148
- *
149
- * @param {object} object
150
- * @return {void}
151
- * @method
152
- * @private
153
- */
154
- _$createVideo(object: PropertyVideoMessageImpl): void;
155
- /**
156
- * @description TextFieldクラスを生成
157
- *
158
- * @param {object} object
159
- * @return {void}
160
- * @method
161
- * @private
162
- */
163
- _$createTextField(object: PropertyTextMessageImpl): void;
164
- }
@@ -1,421 +0,0 @@
1
- import { CacheStore } from "../player/util/CacheStore";
2
- import { RenderDisplayObjectContainer } from "./RenderDisplayObjectContainer";
3
- import { Rectangle } from "../player/next2d/geom/Rectangle";
4
- import { CanvasToWebGLContext } from "../webgl/CanvasToWebGLContext";
5
- import { $COLOR_ARRAY_IDENTITY, $Float32Array, $getFloat32Array6, $toColorInt, $uintToRGBA } from "../player/util/RenderUtil";
6
- import { $getDisplayObjectContainer, $getShape, $getTextField, $getVideo, $setDevicePixelRatio } from "./RenderGlobal";
7
- /**
8
- * @class
9
- */
10
- export class RenderPlayer {
11
- _$instances;
12
- _$cacheStore;
13
- _$matrix;
14
- _$colorTransform;
15
- _$context;
16
- _$canvas;
17
- _$samples;
18
- _$width;
19
- _$height;
20
- _$stage;
21
- _$attachment;
22
- /**
23
- * @constructor
24
- * @public
25
- */
26
- constructor() {
27
- /**
28
- * @type {Map}
29
- * @private
30
- */
31
- this._$instances = new Map();
32
- /**
33
- * @type {CacheStore}
34
- * @private
35
- */
36
- this._$cacheStore = new CacheStore();
37
- /**
38
- * @type {Float32Array}
39
- * @default null
40
- * @private
41
- */
42
- this._$matrix = $getFloat32Array6(1, 0, 0, 1, 0, 0);
43
- /**
44
- * @type {Float32Array}
45
- * @default null
46
- * @private
47
- */
48
- this._$colorTransform = new $Float32Array([1, 1, 1, 1, 0, 0, 0, 0]);
49
- /**
50
- * @type {number}
51
- * @default 0
52
- * @private
53
- */
54
- this._$width = 0;
55
- /**
56
- * @type {number}
57
- * @default 0
58
- * @private
59
- */
60
- this._$height = 0;
61
- /**
62
- * @type {RenderDisplayObjectContainer}
63
- * @default null
64
- * @private
65
- */
66
- this._$stage = new RenderDisplayObjectContainer();
67
- /**
68
- * @type {number}
69
- * @default 4
70
- * @private
71
- */
72
- this._$samples = 4;
73
- /**
74
- * @type {OffscreenCanvas}
75
- * @default null
76
- * @private
77
- */
78
- this._$canvas = null;
79
- /**
80
- * @type {CanvasToWebGLContext}
81
- * @default null
82
- * @private
83
- */
84
- this._$context = null;
85
- /**
86
- * @type {object}
87
- * @default null
88
- * @private
89
- */
90
- this._$attachment = null;
91
- }
92
- /**
93
- * @return {Map}
94
- * @readonly
95
- * @public
96
- */
97
- get instances() {
98
- return this._$instances;
99
- }
100
- /**
101
- * @return {CacheStore}
102
- * @readonly
103
- * @public
104
- */
105
- get cacheStore() {
106
- return this._$cacheStore;
107
- }
108
- /**
109
- * @return {CanvasToWebGLContext}
110
- * @readonly
111
- * @public
112
- */
113
- get context() {
114
- return this._$context;
115
- }
116
- /**
117
- * @return {number}
118
- * @readonly
119
- * @public
120
- */
121
- get scaleX() {
122
- return this._$matrix[0];
123
- }
124
- /**
125
- * @description 描画の停止
126
- *
127
- * @return {void}
128
- * @method
129
- * @public
130
- */
131
- stop() {
132
- this._$cacheStore.reset();
133
- }
134
- /**
135
- * @description WebGLを起動
136
- *
137
- * @param {OffscreenCanvas} canvas
138
- * @param {number} [samples=4]
139
- * @param {number} [device_pixel_ratio=2]
140
- * @return {void}
141
- * @method
142
- * @public
143
- */
144
- _$initialize(canvas, samples = 4, device_pixel_ratio = 2) {
145
- // update
146
- $setDevicePixelRatio(device_pixel_ratio);
147
- this._$samples = samples;
148
- this._$canvas = canvas;
149
- const gl = canvas.getContext("webgl2", {
150
- "stencil": true,
151
- "premultipliedAlpha": true,
152
- "antialias": false,
153
- "depth": false,
154
- "preserveDrawingBuffer": true
155
- });
156
- if (gl) {
157
- const context = new CanvasToWebGLContext(gl, samples);
158
- this._$context = context;
159
- this._$cacheStore.context = context;
160
- }
161
- }
162
- /**
163
- * @description 背景色をセット
164
- *
165
- * @param {string} [background_color="transparent"]
166
- * @return {void}
167
- * @method
168
- * @public
169
- */
170
- _$setBackgroundColor(background_color = "transparent") {
171
- if (!this._$context) {
172
- return;
173
- }
174
- if (background_color === "transparent") {
175
- this._$context._$setColor(0, 0, 0, 0);
176
- }
177
- else {
178
- const color = $uintToRGBA($toColorInt(background_color));
179
- this._$context._$setColor(color.R / 255, color.G / 255, color.B / 255, 1);
180
- }
181
- }
182
- /**
183
- * @description 指定canvasに転写
184
- *
185
- * @param {RenderDisplayObject} source
186
- * @param {Float32Array} matrix
187
- * @param {Float32Array} color_transform
188
- * @param {OffscreenCanvas} canvas
189
- * @return {void}
190
- * @method
191
- * @private
192
- */
193
- _$bitmapDraw(source, matrix, color_transform, canvas) {
194
- const context = this._$context;
195
- if (!context) {
196
- return;
197
- }
198
- context._$bind(this._$attachment);
199
- // reset
200
- context.reset();
201
- context.setTransform(1, 0, 0, 1, 0, 0);
202
- context.clearRect(0, 0, this._$width, this._$height);
203
- context.beginPath();
204
- source._$draw(context, matrix, color_transform);
205
- const manager = context.frameBuffer;
206
- const texture = manager.getTextureFromCurrentAttachment();
207
- manager.unbind();
208
- // reset and draw to main canvas
209
- context.reset();
210
- context.setTransform(1, 0, 0, 1, 0, 0);
211
- context.clearRect(0, 0, this._$width, this._$height);
212
- context.drawImage(texture, 0, 0, this._$width, this._$height);
213
- // re bind
214
- context._$bind(this._$attachment);
215
- const ctx = canvas.getContext("2d");
216
- if (ctx && this._$canvas) {
217
- ctx.drawImage(this._$canvas, 0, 0);
218
- }
219
- }
220
- /**
221
- * @description 描画処理を実行
222
- *
223
- * @return {void}
224
- * @method
225
- * @private
226
- */
227
- _$draw() {
228
- if (!this._$width || !this._$height) {
229
- return;
230
- }
231
- // if (!this._$stage._$updated) {
232
- // return ;
233
- // }
234
- const context = this._$context;
235
- if (!context) {
236
- return;
237
- }
238
- context._$bind(this._$attachment);
239
- // reset
240
- context.reset();
241
- context.setTransform(1, 0, 0, 1, 0, 0);
242
- context.clearRect(0, 0, this._$width, this._$height);
243
- context.beginPath();
244
- this._$stage._$draw(context, this._$matrix, $COLOR_ARRAY_IDENTITY);
245
- // stage end
246
- this._$stage._$updated = false;
247
- const manager = context.frameBuffer;
248
- const texture = manager.getTextureFromCurrentAttachment();
249
- manager.unbind();
250
- // reset and draw to main canvas
251
- context.reset();
252
- context.setTransform(1, 0, 0, 1, 0, 0);
253
- context.clearRect(0, 0, this._$width, this._$height);
254
- context.drawImage(texture, 0, 0, this._$width, this._$height);
255
- // re bind
256
- context._$bind(this._$attachment);
257
- }
258
- /**
259
- * @description 描画範囲のサイズを変更
260
- *
261
- * @param {number} width
262
- * @param {number} height
263
- * @param {number} scale
264
- * @param {number} [tx = 0]
265
- * @param {number} [ty = 0]
266
- * @return {void}
267
- * @method
268
- * @private
269
- */
270
- _$resize(width, height, scale, tx = 0, ty = 0) {
271
- this._$width = width;
272
- this._$height = height;
273
- if (!this._$canvas) {
274
- return;
275
- }
276
- this._$canvas.width = width;
277
- this._$canvas.height = height;
278
- const context = this._$context;
279
- if (!context) {
280
- return;
281
- }
282
- context._$gl.viewport(0, 0, width, height);
283
- const manager = context.frameBuffer;
284
- if (this._$attachment) {
285
- manager.unbind();
286
- manager.releaseAttachment(this._$attachment, true);
287
- }
288
- this._$attachment = manager
289
- .createCacheAttachment(width, height, false);
290
- this._$matrix[0] = scale;
291
- this._$matrix[3] = scale;
292
- this._$matrix[4] = tx;
293
- this._$matrix[5] = ty;
294
- // update cache max size
295
- manager.setMaxSize(width, height);
296
- this._$stage._$updated = true;
297
- this._$cacheStore.reset();
298
- }
299
- /**
300
- * @param {number} instance_id
301
- * @return {void}
302
- * @method
303
- * @private
304
- */
305
- _$setStage(instance_id) {
306
- this._$stage._$instanceId = instance_id;
307
- this._$instances.set(instance_id, this._$stage);
308
- }
309
- /**
310
- * @description Stageの更新情報をセット
311
- *
312
- * @return {void}
313
- * @method
314
- * @private
315
- */
316
- _$updateStage() {
317
- this._$stage._$updated = true;
318
- }
319
- /**
320
- * @description DisplayObjectContainerクラスを生成
321
- *
322
- * @param {object} object
323
- * @return {void}
324
- * @method
325
- * @private
326
- */
327
- _$createDisplayObjectContainer(object) {
328
- const sprite = $getDisplayObjectContainer();
329
- sprite._$instanceId = object.instanceId;
330
- if (object.recodes) {
331
- sprite._$recodes = object.recodes;
332
- sprite._$maxAlpha = object.maxAlpha || 1;
333
- sprite._$canDraw = object.canDraw || true;
334
- sprite._$xMin = object.xMin || 0;
335
- sprite._$yMin = object.yMin || 0;
336
- sprite._$xMax = object.xMax || 0;
337
- sprite._$yMax = object.yMax || 0;
338
- }
339
- if (object.grid) {
340
- sprite._$scale9Grid = new Rectangle(object.grid.x, object.grid.y, object.grid.w, object.grid.h);
341
- }
342
- this._$instances.set(sprite._$instanceId, sprite);
343
- }
344
- /**
345
- * @description Shapeクラスを生成
346
- *
347
- * @param {object} object
348
- * @return {void}
349
- * @method
350
- * @private
351
- */
352
- _$createShape(object) {
353
- const shape = $getShape();
354
- shape._$instanceId = object.instanceId;
355
- shape._$parentId = object.parentId;
356
- if (object.recodes) {
357
- shape._$recodes = object.recodes;
358
- }
359
- shape._$maxAlpha = object.maxAlpha || 1;
360
- shape._$canDraw = object.canDraw || true;
361
- shape._$xMin = object.xMin || 0;
362
- shape._$yMin = object.yMin || 0;
363
- shape._$xMax = object.xMax || 0;
364
- shape._$yMax = object.yMax || 0;
365
- if (object.characterId) {
366
- shape._$characterId = object.characterId;
367
- }
368
- if ("loaderInfoId" in object) {
369
- shape._$loaderInfoId = object.loaderInfoId || 0;
370
- }
371
- if (object.grid) {
372
- shape._$scale9Grid = new Rectangle(object.grid.x, object.grid.y, object.grid.w, object.grid.h);
373
- }
374
- this._$instances.set(shape._$instanceId, shape);
375
- }
376
- /**
377
- * @description Videoクラスを生成
378
- *
379
- * @param {object} object
380
- * @return {void}
381
- * @method
382
- * @private
383
- */
384
- _$createVideo(object) {
385
- const video = $getVideo();
386
- video._$instanceId = object.instanceId;
387
- if (object.characterId) {
388
- video._$characterId = object.characterId;
389
- }
390
- if ("loaderInfoId" in object) {
391
- video._$loaderInfoId = object.loaderInfoId || 0;
392
- }
393
- video._$updateProperty(object);
394
- this._$instances.set(video._$instanceId, video);
395
- }
396
- /**
397
- * @description TextFieldクラスを生成
398
- *
399
- * @param {object} object
400
- * @return {void}
401
- * @method
402
- * @private
403
- */
404
- _$createTextField(object) {
405
- const textField = $getTextField();
406
- textField._$instanceId = object.instanceId;
407
- // bounds
408
- textField._$xMin = object.xMin || 0;
409
- textField._$yMin = object.yMin || 0;
410
- textField._$xMax = object.xMax || 0;
411
- textField._$yMax = object.yMax || 0;
412
- if (object.characterId) {
413
- textField._$characterId = object.characterId;
414
- }
415
- if ("loaderInfoId" in object) {
416
- textField._$loaderInfoId = object.loaderInfoId || 0;
417
- }
418
- textField._$updateProperty(object);
419
- this._$instances.set(textField._$instanceId, textField);
420
- }
421
- }
@@ -1,32 +0,0 @@
1
- import { RenderGraphics } from "./RenderGraphics";
2
- import type { CanvasToWebGLContext } from "../webgl/CanvasToWebGLContext";
3
- /**
4
- * @class
5
- */
6
- export declare class RenderShape extends RenderGraphics {
7
- /**
8
- * @param {CanvasToWebGLContext} context
9
- * @param {Float32Array} matrix
10
- * @return {void}
11
- * @method
12
- * @private
13
- */
14
- _$clip(context: CanvasToWebGLContext, matrix: Float32Array): void;
15
- /**
16
- * @param {CanvasToWebGLContext} context
17
- * @param {Float32Array} matrix
18
- * @param {Float32Array} color_transform
19
- * @return {void}
20
- * @method
21
- * @private
22
- */
23
- _$draw(context: CanvasToWebGLContext, matrix: Float32Array, color_transform: Float32Array): void;
24
- /**
25
- * @description Playerから登録を削除
26
- *
27
- * @return {void}
28
- * @method
29
- * @private
30
- */
31
- _$remove(): void;
32
- }
@@ -1,104 +0,0 @@
1
- import { RenderGraphics } from "./RenderGraphics";
2
- import { $shapes } from "./RenderGlobal";
3
- import { $boundsMatrix, $clamp, $Infinity, $Math, $multiplicationColor, $multiplicationMatrix, $poolBoundsObject, $poolFloat32Array6, $poolFloat32Array8 } from "../player/util/RenderUtil";
4
- /**
5
- * @class
6
- */
7
- export class RenderShape extends RenderGraphics {
8
- /**
9
- * @param {CanvasToWebGLContext} context
10
- * @param {Float32Array} matrix
11
- * @return {void}
12
- * @method
13
- * @private
14
- */
15
- _$clip(context, matrix) {
16
- let multiMatrix = matrix;
17
- const rawMatrix = this._$matrix;
18
- if (rawMatrix[0] !== 1 || rawMatrix[1] !== 0
19
- || rawMatrix[2] !== 0 || rawMatrix[3] !== 1
20
- || rawMatrix[4] !== 0 || rawMatrix[5] !== 0) {
21
- multiMatrix = $multiplicationMatrix(matrix, rawMatrix);
22
- }
23
- // size
24
- const baseBounds = this._$getBounds();
25
- const bounds = $boundsMatrix(baseBounds, multiMatrix);
26
- $poolBoundsObject(baseBounds);
27
- const width = $Math.ceil($Math.abs(bounds.xMax - bounds.xMin));
28
- const height = $Math.ceil($Math.abs(bounds.yMax - bounds.yMin));
29
- $poolBoundsObject(bounds);
30
- switch (true) {
31
- case width === 0:
32
- case height === 0:
33
- case width === 0 - $Infinity:
34
- case height === 0 - $Infinity:
35
- case width === $Infinity:
36
- case height === $Infinity:
37
- return;
38
- default:
39
- break;
40
- }
41
- super._$clip(context, multiMatrix);
42
- if (multiMatrix !== matrix) {
43
- $poolFloat32Array6(multiMatrix);
44
- }
45
- }
46
- /**
47
- * @param {CanvasToWebGLContext} context
48
- * @param {Float32Array} matrix
49
- * @param {Float32Array} color_transform
50
- * @return {void}
51
- * @method
52
- * @private
53
- */
54
- _$draw(context, matrix, color_transform) {
55
- if (!this._$visible || !this._$maxAlpha || !this._$canDraw) {
56
- return;
57
- }
58
- let multiColor = color_transform;
59
- const rawColor = this._$colorTransform;
60
- if (rawColor[0] !== 1 || rawColor[1] !== 1
61
- || rawColor[2] !== 1 || rawColor[3] !== 1
62
- || rawColor[4] !== 0 || rawColor[5] !== 0
63
- || rawColor[6] !== 0 || rawColor[7] !== 0) {
64
- multiColor = $multiplicationColor(color_transform, rawColor);
65
- }
66
- const alpha = $clamp(multiColor[3] + multiColor[7] / 255, 0, 1, 0);
67
- if (!alpha) {
68
- if (multiColor !== color_transform) {
69
- $poolFloat32Array8(multiColor);
70
- }
71
- return;
72
- }
73
- let multiMatrix = matrix;
74
- const rawMatrix = this._$matrix;
75
- if (rawMatrix[0] !== 1 || rawMatrix[1] !== 0
76
- || rawMatrix[2] !== 0 || rawMatrix[3] !== 1
77
- || rawMatrix[4] !== 0 || rawMatrix[5] !== 0) {
78
- multiMatrix = $multiplicationMatrix(matrix, rawMatrix);
79
- }
80
- super._$draw(context, multiMatrix, multiColor, this._$blendMode, this._$filters);
81
- if (multiMatrix !== matrix) {
82
- $poolFloat32Array6(multiMatrix);
83
- }
84
- if (multiColor !== color_transform) {
85
- $poolFloat32Array8(multiColor);
86
- }
87
- }
88
- /**
89
- * @description Playerから登録を削除
90
- *
91
- * @return {void}
92
- * @method
93
- * @private
94
- */
95
- _$remove() {
96
- this._$xMin = 0;
97
- this._$yMin = 0;
98
- this._$xMax = 0;
99
- this._$yMax = 0;
100
- this._$recodes = null;
101
- super._$remove();
102
- $shapes.push(this);
103
- }
104
- }