diff --git a/src/item/Item.js b/src/item/Item.js index 17c98664..b3d031b9 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -2229,8 +2229,10 @@ new function() { // Injection scope for hit-test functions shared with project * @option options.onError {Function} the callback function to call if an * error occurs during loading. Only required when loading from external * resources. + * @option [options.insert=true] {Boolean} whether the imported items should + * be added to the item that `importSVG()` is called on * @option [options.applyMatrix={@link PaperScope#settings}.applyMatrix] - * {Boolean} whether imported items should have their transformation + * {Boolean} whether the imported items should have their transformation * matrices applied to their contents or not * * @param {SVGElement|String} svg the SVG content to import, either as a SVG diff --git a/src/item/Project.js b/src/item/Project.js index bd115c00..1cab04f0 100644 --- a/src/item/Project.js +++ b/src/item/Project.js @@ -782,8 +782,10 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{ * @option options.onError {Function} the callback function to call if an * error occurs during loading. Only required when loading from external * resources. + * @option [options.insert=true] {Boolean} whether the imported items should + * be added to the project that `importSVG()` is called on * @option [options.applyMatrix={@link PaperScope#settings}.applyMatrix] - * {Boolean} whether imported items should have their transformation + * {Boolean} whether the imported items should have their transformation * matrices applied to their contents or not * * @param {SVGElement|String} svg the SVG content to import, either as a SVG