From bd0d0125be8977d952a21f0479b29add0cbf9e9b Mon Sep 17 00:00:00 2001 From: Andrea Bogazzi Date: Fri, 1 Jun 2018 23:46:54 +0200 Subject: [PATCH] improved jsdoc --- src/util/misc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/misc.js b/src/util/misc.js index 410aab89..1a84fd7c 100644 --- a/src/util/misc.js +++ b/src/util/misc.js @@ -764,7 +764,8 @@ }, /** - * Clear char widths cache for a font family. + * Given current aspect ratio, determines the max width and height that can + * respect the total allowed area for the cache. * @memberOf fabric.util * @param {Number} ar aspect ratio * @param {Number} maximumArea Maximum area you want to achieve