better comment, include in toJSON

This commit is contained in:
arbassic 2022-12-05 22:14:55 +01:00
parent aa0d9be861
commit 720cf7e296

View file

@ -154,7 +154,7 @@ var BitmapText = new Class({
this._letterSpacing = 0;
/**
* Adds / Removes spacing lines in a multiline BitmapText object.
* Adds / Removes line spacing in a multiline BitmapText object.
*
* Can be a negative or positive number.
*
@ -1114,6 +1114,7 @@ var BitmapText = new Class({
text: this.text,
fontSize: this.fontSize,
letterSpacing: this.letterSpacing,
lineSpacing: this.lineSpacing,
align: this.align
};