@@ -15,16 +15,24 @@ var Render = require('./BitmapTextRender');
1515/**
1616 * @typedef {object } TextBounds
1717 *
18- * @param {object } local - [description]
19- * @param {number } local.x - [description]
20- * @param {number } local.y - [description]
21- * @param {number } local.width - [description]
22- * @param {number } local.height - [description]
23- * @param {object } global - [description]
24- * @param {number } global.x - [description]
25- * @param {number } global.y - [description]
26- * @param {number } global.width - [description]
27- * @param {number } global.height - [description]
18+ * @property {object } local - [description]
19+ * @property {number } local.x - [description]
20+ * @property {number } local.y - [description]
21+ * @property {number } local.width - [description]
22+ * @property {number } local.height - [description]
23+ * @property {object } global - [description]
24+ * @property {number } global.x - [description]
25+ * @property {number } global.y - [description]
26+ * @property {number } global.width - [description]
27+ * @property {number } global.height - [description]
28+ */
29+
30+ /**
31+ * @typedef {object } JSONBitmapText
32+ *
33+ * @property {string } font - [description]
34+ * @property {string } text - [description]
35+ * @property {number } fontSize - [description]
2836 */
2937
3038/**
@@ -130,7 +138,7 @@ var BitmapText = new Class({
130138 * [description]
131139 *
132140 * @name Phaser.GameObjects.BitmapText#_bounds
133- * @type {object }
141+ * @type {TextBounds }
134142 * @private
135143 * @since 3.0.0
136144 */
@@ -248,7 +256,7 @@ var BitmapText = new Class({
248256 * @method Phaser.GameObjects.BitmapText#toJSON
249257 * @since 3.0.0
250258 *
251- * @return {JSONGameObject } [description]
259+ * @return {JSONGameObject.<JSONBitmapText> } [description]
252260 */
253261 toJSON : function ( )
254262 {
0 commit comments