@overtone-art/canvas-editor-core 0.8.2 → 0.8.4
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.mts +14 -3
- package/dist/index.d.ts +14 -3
- package/dist/index.global.js +51 -51
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +80 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +79 -3
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/{types-DmintAiu.d.mts → types-BeaEHTFc.d.mts} +8 -0
- package/dist/{types-DmintAiu.d.ts → types-BeaEHTFc.d.ts} +8 -0
- package/package.json +1 -1
package/dist/node.d.mts
CHANGED
package/dist/node.d.ts
CHANGED
|
@@ -158,6 +158,14 @@ interface LayerMaskEntry {
|
|
|
158
158
|
rel?: number[];
|
|
159
159
|
/** Host data describing where the geometry came from (preset id, generator…). */
|
|
160
160
|
meta?: Record<string, unknown>;
|
|
161
|
+
/** Original layer data retained so an unmask restores an editable layer. */
|
|
162
|
+
sourceLayer?: Omit<LayerData, 'id' | 'children'>;
|
|
163
|
+
/** Fabric properties the mask compositor temporarily overwrites. */
|
|
164
|
+
sourceObject?: {
|
|
165
|
+
opacity: number;
|
|
166
|
+
globalCompositeOperation: GlobalCompositeOperation;
|
|
167
|
+
objectCaching: boolean;
|
|
168
|
+
};
|
|
161
169
|
}
|
|
162
170
|
interface LayerShadowConfig {
|
|
163
171
|
enabled: boolean;
|
|
@@ -158,6 +158,14 @@ interface LayerMaskEntry {
|
|
|
158
158
|
rel?: number[];
|
|
159
159
|
/** Host data describing where the geometry came from (preset id, generator…). */
|
|
160
160
|
meta?: Record<string, unknown>;
|
|
161
|
+
/** Original layer data retained so an unmask restores an editable layer. */
|
|
162
|
+
sourceLayer?: Omit<LayerData, 'id' | 'children'>;
|
|
163
|
+
/** Fabric properties the mask compositor temporarily overwrites. */
|
|
164
|
+
sourceObject?: {
|
|
165
|
+
opacity: number;
|
|
166
|
+
globalCompositeOperation: GlobalCompositeOperation;
|
|
167
|
+
objectCaching: boolean;
|
|
168
|
+
};
|
|
161
169
|
}
|
|
162
170
|
interface LayerShadowConfig {
|
|
163
171
|
enabled: boolean;
|