mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 11:57:19 +00:00
Improved some GetBitmapTextSize descriptions.
This commit is contained in:
parent
efaff363aa
commit
8a7f381a28
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calculate the position, width and height of a BitmapText Game Object.
|
* Calculate the position, width and height of a BitmapText Game Object.
|
||||||
*
|
*
|
||||||
* Returns a BitmapTextSize object that contains global and local variants of the Game Objects x and y coordinates and
|
* Returns a BitmapTextSize object that contains global and local variants of the Game Objects x and y coordinates and
|
||||||
* its width and height.
|
* its width and height.
|
||||||
*
|
*
|
||||||
|
@ -43,9 +43,9 @@
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
* @private
|
* @private
|
||||||
*
|
*
|
||||||
* @param {(Phaser.GameObjects.DynamicBitmapText|Phaser.GameObjects.BitmapText)} src - The BitmapText object to inspect.
|
* @param {(Phaser.GameObjects.DynamicBitmapText|Phaser.GameObjects.BitmapText)} src - The BitmapText to calculate the position, width and height of.
|
||||||
* @param {boolean} round - Whether to round the results to the nearest integer.
|
* @param {boolean} round - Whether to round the results to the nearest integer.
|
||||||
* @return {BitmapTextSize} The calculated
|
* @return {BitmapTextSize} The calculated position, width and height of the BitmapText.
|
||||||
*/
|
*/
|
||||||
var GetBitmapTextSize = function (src, round)
|
var GetBitmapTextSize = function (src, round)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue