您可以使用以下程式碼,並在呼叫toJSON()方法時擁有所有其他屬性: var obj = fabric.util.groupSVGElements(objects, options).set({ top: 0, left: 0 }); obj.
確定! 回上一頁