From 25696d2e3c8ff58f30824743d9a32c56ce7eab50 Mon Sep 17 00:00:00 2001 From: Amphiluke Date: Sat, 23 Dec 2023 15:18:42 +0700 Subject: [PATCH] Minor update in the documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ae0db0..719b1b1 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ let {multiPathData, minX, minY, width, height} = getMultiPathSVGData(lsParams); If an attribute array contains fewer elements than the maximum branching depth (e.g. see `stroke-linecap` in the example above), the missing items are implicitly made equal to the last one. So you don’t need to repeat the same value in the end of the list. -You may also use the special value `"n/a"` which prevents an attribute from being added on the corresponding `` element (e.g. when you need to add an attribute only to one or to a few ``s: `pathAttributes: {transform: ["skewY(-35)", "n/a"]}`). +You may also use the special value `"n/a"` which prevents an attribute from being added on the corresponding `` element (e.g. when you need to add an attribute only to one or to a few ``s: `{pathAttributes: {transform: ["skewY(-35)", "n/a"]}}`). The property `multiPathData` in the object returned by `getMultiPathSVGData` is a _list_ of path data for every `` element. The list is sorted in the order of increasing branch level (the deeper the branch the higher the index in the array).