@myoc/element 0.19.519 → 0.19.520
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/dev/index.js +1138 -355
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +13 -13
- package/dist/types/common/src/constants.d.ts +8 -5
- package/dist/types/common/src/utils.d.ts +0 -42
- package/dist/types/element/src/comparisons.d.ts +1 -0
- package/dist/types/element/src/image.d.ts +5 -0
- package/dist/types/element/src/newElement.d.ts +2 -0
- package/dist/types/element/src/types.d.ts +8 -0
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +22 -11
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionExport.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +10 -4
- package/dist/types/excalidraw/actions/actionGroup.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +4 -1
- package/dist/types/excalidraw/actions/actionLink.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionProperties.d.ts +16 -5
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +2 -1
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +2 -1
- package/dist/types/excalidraw/components/App.d.ts +12 -28
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +1 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
- package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +2 -0
- package/dist/types/excalidraw/data/blob.d.ts +2 -1
- package/dist/types/excalidraw/data/json.d.ts +2 -1
- package/dist/types/excalidraw/renderer/animation.d.ts +1 -0
- package/dist/types/excalidraw/scene/Renderer.d.ts +2 -0
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +1 -0
- package/dist/types/excalidraw/scroll.d.ts +46 -0
- package/dist/types/excalidraw/types.d.ts +16 -3
- package/dist/types/laser-pointer/src/index.d.ts +2 -0
- package/dist/types/laser-pointer/src/math.d.ts +16 -0
- package/dist/types/laser-pointer/src/simplify.d.ts +2 -0
- package/dist/types/laser-pointer/src/state.d.ts +35 -0
- package/package.json +5 -4
|
@@ -264,11 +264,12 @@ export declare const ROUGHNESS: {
|
|
|
264
264
|
readonly artist: 1;
|
|
265
265
|
readonly cartoonist: 2;
|
|
266
266
|
};
|
|
267
|
-
export
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
export type StrokeWidthKey = "thin" | "medium" | "bold";
|
|
268
|
+
export declare const STROKE_WIDTH_KEYS: readonly StrokeWidthKey[];
|
|
269
|
+
export declare const STROKE_WIDTH: Readonly<Record<StrokeWidthKey | "extraBold", ExcalidrawElement["strokeWidth"]>>;
|
|
270
|
+
export declare const FREEDRAW_STROKE_WIDTH: Readonly<Record<StrokeWidthKey | "extraBold", ExcalidrawElement["strokeWidth"]>>;
|
|
271
|
+
export declare const getStrokeWidthByKey: (elementType: ExcalidrawElement["type"], strokeWidthKey: StrokeWidthKey) => ExcalidrawElement["strokeWidth"];
|
|
272
|
+
export declare const DEFAULT_ELEMENT_STROKE_WIDTH_KEY: StrokeWidthKey;
|
|
272
273
|
export declare const DEFAULT_ELEMENT_PROPS: {
|
|
273
274
|
strokeColor: ExcalidrawElement["strokeColor"];
|
|
274
275
|
backgroundColor: ExcalidrawElement["backgroundColor"];
|
|
@@ -339,3 +340,5 @@ export declare const BIND_MODE_TIMEOUT = 700;
|
|
|
339
340
|
export declare const MOBILE_ACTION_BUTTON_BG: {
|
|
340
341
|
readonly background: "var(--mobile-action-button-bg)";
|
|
341
342
|
};
|
|
343
|
+
export declare const DEFAULT_STROKE_STREAMLINE = 0.5;
|
|
344
|
+
export declare const DEFAULT_STROKE_STREAMLINE_PRECISE = 0.2;
|
|
@@ -37,48 +37,6 @@ export declare const throttleRAF: <T extends any[]>(fn: (...args: T) => void) =>
|
|
|
37
37
|
* @returns {number} The tweened value.
|
|
38
38
|
*/
|
|
39
39
|
export declare const easeOut: (k: number) => number;
|
|
40
|
-
/**
|
|
41
|
-
* Animates values from `fromValues` to `toValues` using the requestAnimationFrame API.
|
|
42
|
-
* Executes the `onStep` callback on each step with the interpolated values.
|
|
43
|
-
* Returns a function that can be called to cancel the animation.
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* // Example usage:
|
|
47
|
-
* const fromValues = { x: 0, y: 0 };
|
|
48
|
-
* const toValues = { x: 100, y: 200 };
|
|
49
|
-
* const onStep = ({x, y}) => {
|
|
50
|
-
* setState(x, y)
|
|
51
|
-
* };
|
|
52
|
-
* const onCancel = () => {
|
|
53
|
-
* console.log("Animation canceled");
|
|
54
|
-
* };
|
|
55
|
-
*
|
|
56
|
-
* const cancelAnimation = easeToValuesRAF({
|
|
57
|
-
* fromValues,
|
|
58
|
-
* toValues,
|
|
59
|
-
* onStep,
|
|
60
|
-
* onCancel,
|
|
61
|
-
* });
|
|
62
|
-
*
|
|
63
|
-
* // To cancel the animation:
|
|
64
|
-
* cancelAnimation();
|
|
65
|
-
*/
|
|
66
|
-
export declare const easeToValuesRAF: <T extends Record<keyof T, number>, K extends keyof T>({ fromValues, toValues, onStep, duration, interpolateValue, onStart, onEnd, onCancel, }: {
|
|
67
|
-
fromValues: T;
|
|
68
|
-
toValues: T;
|
|
69
|
-
/**
|
|
70
|
-
* Interpolate a single value.
|
|
71
|
-
* Return undefined to be handled by the default interpolator.
|
|
72
|
-
*/
|
|
73
|
-
interpolateValue?: (fromValue: number, toValue: number,
|
|
74
|
-
/** no easing applied */
|
|
75
|
-
progress: number, key: K) => number | undefined;
|
|
76
|
-
onStep: (values: T) => void;
|
|
77
|
-
duration?: number;
|
|
78
|
-
onStart?: () => void;
|
|
79
|
-
onEnd?: () => void;
|
|
80
|
-
onCancel?: () => void;
|
|
81
|
-
}) => () => void;
|
|
82
40
|
export declare const chunk: <T extends any>(array: readonly T[], size: number) => T[][];
|
|
83
41
|
export declare const selectNode: (node: Element) => void;
|
|
84
42
|
export declare const removeSelection: () => void;
|
|
@@ -3,6 +3,7 @@ export declare const hasBackground: (type: ElementOrToolType) => type is "line"
|
|
|
3
3
|
export declare const hasStrokeColor: (type: ElementOrToolType) => type is "line" | "arrow" | "text" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "freedraw";
|
|
4
4
|
export declare const hasStrokeWidth: (type: ElementOrToolType) => type is "line" | "arrow" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "iframe" | "freedraw";
|
|
5
5
|
export declare const hasStrokeStyle: (type: ElementOrToolType) => type is "line" | "arrow" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "iframe";
|
|
6
|
+
export declare const hasFreedrawMode: (type: ElementOrToolType) => type is "freedraw";
|
|
6
7
|
export declare const canChangeRoundness: (type: ElementOrToolType) => type is "line" | "rectangle" | "diamond" | "embeddable" | "iframe" | "image";
|
|
7
8
|
export declare const toolIsArrow: (type: ElementOrToolType) => type is "arrow";
|
|
8
9
|
export declare const canHaveArrowheads: (type: ElementOrToolType) => type is "arrow";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { AppClassProperties, DataURL, BinaryFiles } from "@excalidraw/excalidraw/types";
|
|
2
2
|
import type { ExcalidrawElement, FileId, InitializedExcalidrawImageElement } from "./types";
|
|
3
|
+
export declare const generateThumbHash: (image: HTMLImageElement) => string | null;
|
|
4
|
+
export declare const getThumbHashPlaceholder: (thumbHash: string) => HTMLCanvasElement | null;
|
|
3
5
|
export declare const loadHTMLImageElement: (dataURL: DataURL) => Promise<HTMLImageElement>;
|
|
4
6
|
/** NOTE: updates cache even if already populated with given image. Thus,
|
|
5
7
|
* you should filter out the images upstream if you want to optimize this. */
|
|
@@ -11,6 +13,9 @@ export declare const updateImageCache: ({ fileIds, files, imageCache, }: {
|
|
|
11
13
|
imageCache: Map<FileId, {
|
|
12
14
|
image: HTMLImageElement | Promise<HTMLImageElement>;
|
|
13
15
|
mimeType: import("@excalidraw/common/utility-types").ValueOf<typeof import("@excalidraw/common").IMAGE_MIME_TYPES>;
|
|
16
|
+
isPlaceholder?: boolean;
|
|
17
|
+
placeholderImage?: HTMLImageElement;
|
|
18
|
+
transitionStart?: number;
|
|
14
19
|
}>;
|
|
15
20
|
/** includes errored files because they cache was updated nonetheless */
|
|
16
21
|
updatedFiles: Map<FileId, true>;
|
|
@@ -38,6 +38,7 @@ export declare const newFreeDrawElement: (opts: {
|
|
|
38
38
|
type: "freedraw";
|
|
39
39
|
points?: ExcalidrawFreeDrawElement["points"];
|
|
40
40
|
simulatePressure: boolean;
|
|
41
|
+
strokeOptions?: ExcalidrawFreeDrawElement["strokeOptions"];
|
|
41
42
|
pressures?: ExcalidrawFreeDrawElement["pressures"];
|
|
42
43
|
} & ElementConstructorOpts) => NonDeleted<ExcalidrawFreeDrawElement>;
|
|
43
44
|
export declare const newLinearElement: (opts: {
|
|
@@ -58,6 +59,7 @@ export declare const newImageElement: (opts: {
|
|
|
58
59
|
status?: ExcalidrawImageElement["status"];
|
|
59
60
|
fileId?: ExcalidrawImageElement["fileId"];
|
|
60
61
|
fileName?: ExcalidrawImageElement["fileName"];
|
|
62
|
+
thumbHash?: ExcalidrawImageElement["thumbHash"];
|
|
61
63
|
scale?: ExcalidrawImageElement["scale"];
|
|
62
64
|
crop?: ExcalidrawImageElement["crop"];
|
|
63
65
|
} & ElementConstructorOpts) => NonDeleted<ExcalidrawImageElement>;
|
|
@@ -130,6 +130,8 @@ export type ExcalidrawImageElement = _ExcalidrawElementBase & Readonly<{
|
|
|
130
130
|
type: "image";
|
|
131
131
|
fileId: FileId | null;
|
|
132
132
|
fileName: string | null;
|
|
133
|
+
/** compact base64-encoded ThumbHash used while the image is unavailable */
|
|
134
|
+
thumbHash: string | null;
|
|
133
135
|
/** whether respective file is persisted */
|
|
134
136
|
status: "pending" | "saved" | "error";
|
|
135
137
|
/** X and Y scale factors <-1, 1>, used for image axis flipping */
|
|
@@ -256,11 +258,17 @@ export type ExcalidrawElbowArrowElement = Merge<ExcalidrawArrowElement, {
|
|
|
256
258
|
*/
|
|
257
259
|
endIsSpecial: boolean | null;
|
|
258
260
|
}>;
|
|
261
|
+
export type StrokeVariability = "variable" | "constant";
|
|
262
|
+
export type StrokeOptions = Readonly<{
|
|
263
|
+
variability: StrokeVariability;
|
|
264
|
+
streamline: number;
|
|
265
|
+
}>;
|
|
259
266
|
export type ExcalidrawFreeDrawElement = _ExcalidrawElementBase & Readonly<{
|
|
260
267
|
type: "freedraw";
|
|
261
268
|
points: readonly LocalPoint[];
|
|
262
269
|
pressures: readonly number[];
|
|
263
270
|
simulatePressure: boolean;
|
|
271
|
+
strokeOptions: StrokeOptions;
|
|
264
272
|
}>;
|
|
265
273
|
export type FileId = string & {
|
|
266
274
|
_brand: "FileId";
|
|
@@ -93,9 +93,10 @@ export declare const actionBindText: {
|
|
|
93
93
|
currentItemStrokeColor: string;
|
|
94
94
|
currentItemBackgroundColor: string;
|
|
95
95
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
96
|
-
|
|
96
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
97
97
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
98
98
|
currentItemRoughness: number;
|
|
99
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
99
100
|
currentItemOpacity: number;
|
|
100
101
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
101
102
|
currentItemFontSize: number;
|
|
@@ -272,9 +273,10 @@ export declare const actionWrapTextInContainer: {
|
|
|
272
273
|
currentItemStrokeColor: string;
|
|
273
274
|
currentItemBackgroundColor: string;
|
|
274
275
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
275
|
-
|
|
276
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
276
277
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
277
278
|
currentItemRoughness: number;
|
|
279
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
278
280
|
currentItemOpacity: number;
|
|
279
281
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
280
282
|
currentItemFontSize: number;
|
|
@@ -84,9 +84,10 @@ export declare const actionZoomIn: {
|
|
|
84
84
|
currentItemStrokeColor: string;
|
|
85
85
|
currentItemBackgroundColor: string;
|
|
86
86
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
87
|
-
|
|
87
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
88
88
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
89
89
|
currentItemRoughness: number;
|
|
90
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
90
91
|
currentItemOpacity: number;
|
|
91
92
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
92
93
|
currentItemFontSize: number;
|
|
@@ -267,9 +268,10 @@ export declare const actionZoomOut: {
|
|
|
267
268
|
currentItemStrokeColor: string;
|
|
268
269
|
currentItemBackgroundColor: string;
|
|
269
270
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
270
|
-
|
|
271
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
271
272
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
272
273
|
currentItemRoughness: number;
|
|
274
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
273
275
|
currentItemOpacity: number;
|
|
274
276
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
275
277
|
currentItemFontSize: number;
|
|
@@ -450,9 +452,10 @@ export declare const actionResetZoom: {
|
|
|
450
452
|
currentItemStrokeColor: string;
|
|
451
453
|
currentItemBackgroundColor: string;
|
|
452
454
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
453
|
-
|
|
455
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
454
456
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
455
457
|
currentItemRoughness: number;
|
|
458
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
456
459
|
currentItemOpacity: number;
|
|
457
460
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
458
461
|
currentItemFontSize: number;
|
|
@@ -634,9 +637,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
634
637
|
currentItemStrokeColor: string;
|
|
635
638
|
currentItemBackgroundColor: string;
|
|
636
639
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
637
|
-
|
|
640
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
638
641
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
639
642
|
currentItemRoughness: number;
|
|
643
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
640
644
|
currentItemOpacity: number;
|
|
641
645
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
642
646
|
currentItemFontSize: number;
|
|
@@ -814,9 +818,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
814
818
|
currentItemStrokeColor: string;
|
|
815
819
|
currentItemBackgroundColor: string;
|
|
816
820
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
817
|
-
|
|
821
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
818
822
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
819
823
|
currentItemRoughness: number;
|
|
824
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
820
825
|
currentItemOpacity: number;
|
|
821
826
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
822
827
|
currentItemFontSize: number;
|
|
@@ -991,9 +996,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
991
996
|
currentItemStrokeColor: string;
|
|
992
997
|
currentItemBackgroundColor: string;
|
|
993
998
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
994
|
-
|
|
999
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
995
1000
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
996
1001
|
currentItemRoughness: number;
|
|
1002
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
997
1003
|
currentItemOpacity: number;
|
|
998
1004
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
999
1005
|
currentItemFontSize: number;
|
|
@@ -1172,9 +1178,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1172
1178
|
currentItemStrokeColor: string;
|
|
1173
1179
|
currentItemBackgroundColor: string;
|
|
1174
1180
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
1175
|
-
|
|
1181
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
1176
1182
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1177
1183
|
currentItemRoughness: number;
|
|
1184
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
1178
1185
|
currentItemOpacity: number;
|
|
1179
1186
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1180
1187
|
currentItemFontSize: number;
|
|
@@ -1354,9 +1361,10 @@ export declare const actionZoomToFit: {
|
|
|
1354
1361
|
currentItemStrokeColor: string;
|
|
1355
1362
|
currentItemBackgroundColor: string;
|
|
1356
1363
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
1357
|
-
|
|
1364
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
1358
1365
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1359
1366
|
currentItemRoughness: number;
|
|
1367
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
1360
1368
|
currentItemOpacity: number;
|
|
1361
1369
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1362
1370
|
currentItemFontSize: number;
|
|
@@ -1531,9 +1539,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1531
1539
|
currentItemStrokeColor: string;
|
|
1532
1540
|
currentItemBackgroundColor: string;
|
|
1533
1541
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
1534
|
-
|
|
1542
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
1535
1543
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1536
1544
|
currentItemRoughness: number;
|
|
1545
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
1537
1546
|
currentItemOpacity: number;
|
|
1538
1547
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1539
1548
|
currentItemFontSize: number;
|
|
@@ -1704,9 +1713,10 @@ export declare const actionToggleLassoTool: {
|
|
|
1704
1713
|
currentItemStrokeColor: string;
|
|
1705
1714
|
currentItemBackgroundColor: string;
|
|
1706
1715
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
1707
|
-
|
|
1716
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
1708
1717
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1709
1718
|
currentItemRoughness: number;
|
|
1719
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
1710
1720
|
currentItemOpacity: number;
|
|
1711
1721
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1712
1722
|
currentItemFontSize: number;
|
|
@@ -1876,9 +1886,10 @@ export declare const actionToggleHandTool: {
|
|
|
1876
1886
|
currentItemStrokeColor: string;
|
|
1877
1887
|
currentItemBackgroundColor: string;
|
|
1878
1888
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
1879
|
-
|
|
1889
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
1880
1890
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1881
1891
|
currentItemRoughness: number;
|
|
1892
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
1882
1893
|
currentItemOpacity: number;
|
|
1883
1894
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1884
1895
|
currentItemFontSize: number;
|
|
@@ -74,9 +74,10 @@ export declare const actionPaste: {
|
|
|
74
74
|
currentItemStrokeColor: string;
|
|
75
75
|
currentItemBackgroundColor: string;
|
|
76
76
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
77
|
-
|
|
77
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
78
78
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
79
79
|
currentItemRoughness: number;
|
|
80
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
80
81
|
currentItemOpacity: number;
|
|
81
82
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
82
83
|
currentItemFontSize: number;
|
|
@@ -291,9 +292,10 @@ export declare const actionCopyAsPng: {
|
|
|
291
292
|
currentItemStrokeColor: string;
|
|
292
293
|
currentItemBackgroundColor: string;
|
|
293
294
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
294
|
-
|
|
295
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
295
296
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
296
297
|
currentItemRoughness: number;
|
|
298
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
297
299
|
currentItemOpacity: number;
|
|
298
300
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
299
301
|
currentItemFontSize: number;
|
|
@@ -75,9 +75,10 @@ export declare const actionToggleCropEditor: {
|
|
|
75
75
|
currentItemStrokeColor: string;
|
|
76
76
|
currentItemBackgroundColor: string;
|
|
77
77
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
78
|
-
|
|
78
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
79
79
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
80
80
|
currentItemRoughness: number;
|
|
81
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
81
82
|
currentItemOpacity: number;
|
|
82
83
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
83
84
|
currentItemFontSize: number;
|
|
@@ -76,9 +76,10 @@ export declare const actionDeleteSelected: {
|
|
|
76
76
|
currentItemStrokeColor: string;
|
|
77
77
|
currentItemBackgroundColor: string;
|
|
78
78
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
79
|
-
|
|
79
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
80
80
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
81
81
|
currentItemRoughness: number;
|
|
82
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
82
83
|
currentItemOpacity: number;
|
|
83
84
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
84
85
|
currentItemFontSize: number;
|
|
@@ -276,9 +277,10 @@ export declare const actionDeleteSelected: {
|
|
|
276
277
|
currentItemStrokeColor: string;
|
|
277
278
|
currentItemBackgroundColor: string;
|
|
278
279
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
279
|
-
|
|
280
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
280
281
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
281
282
|
currentItemRoughness: number;
|
|
283
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
282
284
|
currentItemOpacity: number;
|
|
283
285
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
284
286
|
currentItemFontSize: number;
|
|
@@ -444,9 +446,10 @@ export declare const actionDeleteSelected: {
|
|
|
444
446
|
currentItemStrokeColor: string;
|
|
445
447
|
currentItemBackgroundColor: string;
|
|
446
448
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
447
|
-
|
|
449
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
448
450
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
449
451
|
currentItemRoughness: number;
|
|
452
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
450
453
|
currentItemOpacity: number;
|
|
451
454
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
452
455
|
currentItemFontSize: number;
|
|
@@ -68,9 +68,10 @@ export declare const actionDeselect: {
|
|
|
68
68
|
currentItemStrokeColor: string;
|
|
69
69
|
currentItemBackgroundColor: string;
|
|
70
70
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
71
|
-
|
|
71
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
72
72
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
73
73
|
currentItemRoughness: number;
|
|
74
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
74
75
|
currentItemOpacity: number;
|
|
75
76
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
76
77
|
currentItemFontSize: number;
|
|
@@ -104,9 +104,10 @@ export declare const actionLinkToElement: {
|
|
|
104
104
|
currentItemStrokeColor: string;
|
|
105
105
|
currentItemBackgroundColor: string;
|
|
106
106
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
107
|
-
|
|
107
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
108
108
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
109
109
|
currentItemRoughness: number;
|
|
110
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
110
111
|
currentItemOpacity: number;
|
|
111
112
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
112
113
|
currentItemFontSize: number;
|
|
@@ -86,9 +86,10 @@ export declare const actionToggleElementLock: {
|
|
|
86
86
|
currentItemStrokeColor: string;
|
|
87
87
|
currentItemBackgroundColor: string;
|
|
88
88
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
89
|
-
|
|
89
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
90
90
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
91
91
|
currentItemRoughness: number;
|
|
92
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
92
93
|
currentItemOpacity: number;
|
|
93
94
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
94
95
|
currentItemFontSize: number;
|
|
@@ -264,9 +265,10 @@ export declare const actionUnlockAllElements: {
|
|
|
264
265
|
currentItemStrokeColor: string;
|
|
265
266
|
currentItemBackgroundColor: string;
|
|
266
267
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
267
|
-
|
|
268
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
268
269
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
269
270
|
currentItemRoughness: number;
|
|
271
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
270
272
|
currentItemOpacity: number;
|
|
271
273
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
272
274
|
currentItemFontSize: number;
|
|
@@ -72,9 +72,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
72
72
|
currentItemStrokeColor: string;
|
|
73
73
|
currentItemBackgroundColor: string;
|
|
74
74
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
75
|
-
|
|
75
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
76
76
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
77
77
|
currentItemRoughness: number;
|
|
78
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
78
79
|
currentItemOpacity: number;
|
|
79
80
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
80
81
|
currentItemFontSize: number;
|
|
@@ -197,9 +197,10 @@ export declare const actionLoadScene: {
|
|
|
197
197
|
currentItemStrokeColor: string;
|
|
198
198
|
currentItemBackgroundColor: string;
|
|
199
199
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
200
|
-
|
|
200
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
201
201
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
202
202
|
currentItemRoughness: number;
|
|
203
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
203
204
|
currentItemOpacity: number;
|
|
204
205
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
205
206
|
currentItemFontSize: number;
|
|
@@ -311,9 +312,10 @@ export declare const actionLoadScene: {
|
|
|
311
312
|
currentItemStrokeColor: string;
|
|
312
313
|
currentItemBackgroundColor: string;
|
|
313
314
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
314
|
-
|
|
315
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
315
316
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
316
317
|
currentItemRoughness: number;
|
|
318
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
317
319
|
currentItemOpacity: number;
|
|
318
320
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
319
321
|
currentItemFontSize: number;
|
|
@@ -74,9 +74,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
74
74
|
currentItemStrokeColor: string;
|
|
75
75
|
currentItemBackgroundColor: string;
|
|
76
76
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
77
|
-
|
|
77
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
78
78
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
79
79
|
currentItemRoughness: number;
|
|
80
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
80
81
|
currentItemOpacity: number;
|
|
81
82
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
82
83
|
currentItemFontSize: number;
|
|
@@ -257,9 +258,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
257
258
|
currentItemStrokeColor: string;
|
|
258
259
|
currentItemBackgroundColor: string;
|
|
259
260
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
260
|
-
|
|
261
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
261
262
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
262
263
|
currentItemRoughness: number;
|
|
264
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
263
265
|
currentItemOpacity: number;
|
|
264
266
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
265
267
|
currentItemFontSize: number;
|
|
@@ -438,9 +440,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
438
440
|
currentItemStrokeColor: string;
|
|
439
441
|
currentItemBackgroundColor: string;
|
|
440
442
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
441
|
-
|
|
443
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
442
444
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
443
445
|
currentItemRoughness: number;
|
|
446
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
444
447
|
currentItemOpacity: number;
|
|
445
448
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
446
449
|
currentItemFontSize: number;
|
|
@@ -619,9 +622,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
619
622
|
currentItemStrokeColor: string;
|
|
620
623
|
currentItemBackgroundColor: string;
|
|
621
624
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
622
|
-
|
|
625
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
623
626
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
624
627
|
currentItemRoughness: number;
|
|
628
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
625
629
|
currentItemOpacity: number;
|
|
626
630
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
627
631
|
currentItemFontSize: number;
|
|
@@ -1013,6 +1017,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1013
1017
|
type: "image";
|
|
1014
1018
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1015
1019
|
fileName: string | null;
|
|
1020
|
+
thumbHash: string | null;
|
|
1016
1021
|
status: "pending" | "saved" | "error";
|
|
1017
1022
|
scale: [number, number];
|
|
1018
1023
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
@@ -1168,6 +1173,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1168
1173
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1169
1174
|
pressures: readonly number[];
|
|
1170
1175
|
simulatePressure: boolean;
|
|
1176
|
+
strokeOptions: import("@excalidraw/element/types").StrokeOptions;
|
|
1171
1177
|
}> & {
|
|
1172
1178
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1173
1179
|
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|
|
@@ -80,9 +80,10 @@ export declare const actionGroup: {
|
|
|
80
80
|
currentItemStrokeColor: string;
|
|
81
81
|
currentItemBackgroundColor: string;
|
|
82
82
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
83
|
-
|
|
83
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
84
84
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
85
85
|
currentItemRoughness: number;
|
|
86
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
86
87
|
currentItemOpacity: number;
|
|
87
88
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
88
89
|
currentItemFontSize: number;
|
|
@@ -262,9 +263,10 @@ export declare const actionUngroup: {
|
|
|
262
263
|
currentItemStrokeColor: string;
|
|
263
264
|
currentItemBackgroundColor: string;
|
|
264
265
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
265
|
-
|
|
266
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
266
267
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
267
268
|
currentItemRoughness: number;
|
|
269
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
268
270
|
currentItemOpacity: number;
|
|
269
271
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
270
272
|
currentItemFontSize: number;
|
|
@@ -106,9 +106,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
106
106
|
currentItemStrokeColor: string;
|
|
107
107
|
currentItemBackgroundColor: string;
|
|
108
108
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
109
|
-
|
|
109
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
110
110
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
111
111
|
currentItemRoughness: number;
|
|
112
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
112
113
|
currentItemOpacity: number;
|
|
113
114
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
114
115
|
currentItemFontSize: number;
|
|
@@ -501,6 +502,7 @@ export declare const actionTogglePolygon: {
|
|
|
501
502
|
type: "image";
|
|
502
503
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
503
504
|
fileName: string | null;
|
|
505
|
+
thumbHash: string | null;
|
|
504
506
|
status: "pending" | "saved" | "error";
|
|
505
507
|
scale: [number, number];
|
|
506
508
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
@@ -656,6 +658,7 @@ export declare const actionTogglePolygon: {
|
|
|
656
658
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
657
659
|
pressures: readonly number[];
|
|
658
660
|
simulatePressure: boolean;
|
|
661
|
+
strokeOptions: import("@excalidraw/element/types").StrokeOptions;
|
|
659
662
|
}> & {
|
|
660
663
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
661
664
|
}))[];
|
|
@@ -71,9 +71,10 @@ export declare const actionLink: {
|
|
|
71
71
|
currentItemStrokeColor: string;
|
|
72
72
|
currentItemBackgroundColor: string;
|
|
73
73
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
74
|
-
|
|
74
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
75
75
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
76
76
|
currentItemRoughness: number;
|
|
77
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
77
78
|
currentItemOpacity: number;
|
|
78
79
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
79
80
|
currentItemFontSize: number;
|
|
@@ -78,9 +78,10 @@ export declare const actionShortcuts: {
|
|
|
78
78
|
currentItemStrokeColor: string;
|
|
79
79
|
currentItemBackgroundColor: string;
|
|
80
80
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
81
|
-
|
|
81
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
82
82
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
83
83
|
currentItemRoughness: number;
|
|
84
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
84
85
|
currentItemOpacity: number;
|
|
85
86
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
86
87
|
currentItemFontSize: number;
|