@netless/appliance-plugin 1.1.7 → 1.1.9

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.
@@ -1,7 +1,7 @@
1
1
  var ee = Object.defineProperty;
2
2
  var te = (L, t, e) => t in L ? ee(L, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : L[t] = e;
3
3
  var u = (L, t, e) => te(L, typeof t != "symbol" ? t + "" : t, e);
4
- import { D as R, E as W, a as f, b as g, g as F, t as A, c as p, S as Z, d as N, e as $, i as se, C as U, f as oe, h as T, M, V as re, j, T as H, k as P, l as q, m as B, n as ie, o as G, p as V, q as ae } from "./index-C-flLj6b.mjs";
4
+ import { D as R, E as W, a as f, b as g, g as F, t as A, c as p, S as Z, d as N, e as $, i as se, C as U, f as oe, h as T, M, V as re, j, T as H, k as P, l as q, m as B, n as ie, o as G, p as V, q as ae } from "./index-D8AMdzYo.mjs";
5
5
  import { Scene as X, Group as Y } from "spritejs";
6
6
  import { cloneDeep as Q, xor as ce, isEqual as K, isNumber as ne } from "lodash";
7
7
  import "lineclip";
@@ -22,4 +22,8 @@ export declare const DefaultAppliancePluginOptions: {
22
22
  pencilEraser: {
23
23
  useBitMap: boolean;
24
24
  };
25
+ strokeWidth: {
26
+ min: number;
27
+ max: number;
28
+ };
25
29
  };
@@ -259,6 +259,11 @@ export type AppliancePluginOptions = {
259
259
  bezier?: BezierOpt;
260
260
  /** 局部橡皮擦配置项 */
261
261
  pencilEraser?: PencilEraserOpt;
262
+ /** 线条粗细范围配置项 */
263
+ strokeWidth?: {
264
+ min: number;
265
+ max: number;
266
+ };
262
267
  };
263
268
  export interface AppliancePluginAttributes {
264
269
  [key: string]: ISerializableStorageViewData | ISerializableEventData;