mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Update BitmapData.js
Fix explanation.
This commit is contained in:
parent
d412431947
commit
0416c6a9ee
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ Phaser.BitmapData = function (game, key, width, height) {
|
||||||
/**
|
/**
|
||||||
* @property {ImageData} imageData - The context image data.
|
* @property {ImageData} imageData - The context image data.
|
||||||
* Please note that a call to BitmapData.draw() or BitmapData.copy() does not update immediately this property for performance reason. Use BitmapData.update() to do so.
|
* Please note that a call to BitmapData.draw() or BitmapData.copy() does not update immediately this property for performance reason. Use BitmapData.update() to do so.
|
||||||
* This property is updated automatically after the first game loop, according to the dirty flag property initially set on an instance of BitmapData.
|
* This property is updated automatically after the first game loop, according to the dirty flag property.
|
||||||
*/
|
*/
|
||||||
this.imageData = this.context.getImageData(0, 0, width, height);
|
this.imageData = this.context.getImageData(0, 0, width, height);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue