Merge pull request #5235 from mk360/text-padding

[types] allow Text#setPadding to receive an object
This commit is contained in:
Richard Davey 2020-08-20 10:04:35 +01:00 committed by GitHub
commit ed33253fb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
*/