image-annotation-drawer 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -68,6 +68,10 @@ export declare class Drawer {
68
68
  * 撤销上一步操作
69
69
  */
70
70
  withdraw(): void;
71
+ /**
72
+ * 调整 canvas 尺寸以适配容器大小变化
73
+ */
74
+ resize(): void;
71
75
  /**
72
76
  * 绑定事件监听器
73
77
  */