mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Merge pull request #5235 from mk360/text-padding
[types] allow Text#setPadding to receive an object
This commit is contained in:
commit
ed33253fb1
1 changed files with 3 additions and 3 deletions
|
@ -1022,9 +1022,9 @@ var Text = new Class({
|
|||
* @since 3.0.0
|
||||
*
|
||||
* @param {(number|Phaser.Types.GameObjects.Text.TextPadding)} left - The left padding value, or a padding config object.
|
||||
* @param {number} top - The top padding value.
|
||||
* @param {number} right - The right padding value.
|
||||
* @param {number} bottom - The bottom padding value.
|
||||
* @param {number} [top] - The top padding value.
|
||||
* @param {number} [right] - The right padding value.
|
||||
* @param {number} [bottom] - The bottom padding value.
|
||||
*
|
||||
* @return {this} This Text object.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue