@@ -32,7 +32,7 @@ var Texture = require('./Texture');
3232 * @extends Phaser.Textures.Texture
3333 * @memberOf Phaser.Textures
3434 * @constructor
35- * @since 3.6.1
35+ * @since 3.7.0
3636 *
3737 * @param {Phaser.Textures.TextureManager } manager - A reference to the Texture Manager this Texture belongs to.
3838 * @param {string } key - The unique string-based key of this Texture.
@@ -58,7 +58,7 @@ var CanvasTexture = new Class({
5858 * @name Phaser.Textures.TextureManager#_source
5959 * @type {Phaser.Textures.TextureSource }
6060 * @private
61- * @since 3.6.1
61+ * @since 3.7.0
6262 */
6363 this . _source = this . frames [ '__BASE' ] . source ;
6464
@@ -68,7 +68,7 @@ var CanvasTexture = new Class({
6868 * @name Phaser.Textures.TextureManager#canvas
6969 * @readOnly
7070 * @type {HTMLCanvasElement }
71- * @since 3.6.1
71+ * @since 3.7.0
7272 */
7373 this . canvas = this . _source . image ;
7474
@@ -78,7 +78,7 @@ var CanvasTexture = new Class({
7878 * @name Phaser.Textures.TextureManager#canvas
7979 * @readOnly
8080 * @type {CanvasRenderingContext2D }
81- * @since 3.6.1
81+ * @since 3.7.0
8282 */
8383 this . context = this . canvas . getContext ( '2d' ) ;
8484
@@ -89,7 +89,7 @@ var CanvasTexture = new Class({
8989 * @name Phaser.Textures.TextureManager#width
9090 * @readOnly
9191 * @type {integer }
92- * @since 3.6.1
92+ * @since 3.7.0
9393 */
9494 this . width = width ;
9595
@@ -100,7 +100,7 @@ var CanvasTexture = new Class({
100100 * @name Phaser.Textures.TextureManager#height
101101 * @readOnly
102102 * @type {integer }
103- * @since 3.6.1
103+ * @since 3.7.0
104104 */
105105 this . height = height ;
106106 } ,
@@ -111,7 +111,7 @@ var CanvasTexture = new Class({
111111 * canvas has changed, as there is a significant GPU texture allocation cost involved in doing so.
112112 *
113113 * @method Phaser.Textures.CanvasTexture#refresh
114- * @since 3.6.1
114+ * @since 3.7.0
115115 *
116116 * @return {Phaser.Textures.CanvasTexture } This CanvasTexture.
117117 */
@@ -126,7 +126,7 @@ var CanvasTexture = new Class({
126126 * Gets the Canvas Element.
127127 *
128128 * @method Phaser.Textures.CanvasTexture#getCanvas
129- * @since 3.6.1
129+ * @since 3.7.0
130130 *
131131 * @return {HTMLCanvasElement } The Canvas DOM element this texture is using.
132132 */
@@ -139,7 +139,7 @@ var CanvasTexture = new Class({
139139 * Gets the 2D Canvas Rendering Context.
140140 *
141141 * @method Phaser.Textures.CanvasTexture#getContext
142- * @since 3.6.1
142+ * @since 3.7.0
143143 *
144144 * @return {CanvasRenderingContext2D } The Canvas Rendering Context this texture is using.
145145 */
@@ -152,7 +152,7 @@ var CanvasTexture = new Class({
152152 * Clears this Canvas Texture, resetting it back to transparent.
153153 *
154154 * @method Phaser.Textures.CanvasTexture#clear
155- * @since 3.6.1
155+ * @since 3.7.0
156156 *
157157 * @return {Phaser.Textures.CanvasTexture } The Canvas Texture.
158158 */
@@ -167,7 +167,7 @@ var CanvasTexture = new Class({
167167 * Changes the size of this Canvas Texture.
168168 *
169169 * @method Phaser.Textures.CanvasTexture#setSize
170- * @since 3.6.1
170+ * @since 3.7.0
171171 *
172172 * @param {integer } width - The new width of the Canvas.
173173 * @param {integer } [height] - The new height of the Canvas. If not given it will use the width as the height.
0 commit comments