File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 * @since 3.0.0
1212 *
1313 * @param {Phaser.GameObjects.Text } text - The Text object to calculate the size from.
14- * @param {TextMetrics } size - The Text metrics to use when calculating the size.
14+ * @param {BitmapTextMetrics } size - The Text metrics to use when calculating the size.
1515 * @param {array } lines - The lines of text to calculate the size from.
1616 *
1717 * @return {object } An object containing dimensions of the Text object.
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ var propertyMap = {
5353/**
5454 * Font metrics for a Text Style object.
5555 *
56- * @typedef {object } TextMetrics
56+ * @typedef {object } BitmapTextMetrics
5757 *
5858 * @property {number } ascent - The ascent of the font.
5959 * @property {number } descent - The descent of the font.
@@ -929,7 +929,7 @@ var TextStyle = new Class({
929929 * @method Phaser.GameObjects.Text.TextStyle#getTextMetrics
930930 * @since 3.0.0
931931 *
932- * @return {TextMetrics } The text metrics.
932+ * @return {BitmapTextMetrics } The text metrics.
933933 */
934934 getTextMetrics : function ( )
935935 {
You can’t perform that action at this time.
0 commit comments