Update rect.ts (#8247)

This commit is contained in:
李学武
2021-02-03 15:03:11 +08:00
committed by GitHub
parent 8a73c95a03
commit 1a046e45ff
+1 -1
View File
@@ -365,7 +365,7 @@ export class Rect extends ValueType {
* @en Return the information of the current rect in string
* @zh 返回当前矩形的字符串表示。
* @returns The information of the current rect in string
*/T
*/
public toString () {
return `(${this.x.toFixed(2)}, ${this.y.toFixed(2)}, ${this.width.toFixed(2)}, ${this.height.toFixed(2)})`;
}