@leapfrog/interactive-canvas 2.0.18 → 2.0.19
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/abstract-interactive-canvas.d.ts +3 -0
- package/dist/interactive-canvas.es.js +298 -256
- package/dist/interactive-canvas.js +317 -267
- package/dist/mutator/mutable-text.interface.d.ts +6 -0
- package/dist/object/impl/text.d.ts +11 -1
- package/dist/types/selection-data.interface.d.ts +9 -0
- package/dist/types/text-alignment.interface.d.ts +1 -1
- package/package.json +4 -3
|
@@ -23,6 +23,7 @@ import { ITextSelection } from "./mutator/mutable-text-style.interface";
|
|
|
23
23
|
import { fabric } from "fabric";
|
|
24
24
|
import { IRichText } from "./object/impl/rich-text";
|
|
25
25
|
import { IBackgroundImage } from "./object/impl/background-image";
|
|
26
|
+
import { IEvent } from "fabric/fabric-impl";
|
|
26
27
|
export declare abstract class AbstractInteractiveCanvas implements IInteractiveCanvas {
|
|
27
28
|
fabric: any;
|
|
28
29
|
protected readonly fabricCanvas: fabric.Canvas;
|
|
@@ -368,5 +369,7 @@ export declare class SelectionData implements ISelectionData {
|
|
|
368
369
|
readonly objects: Array<AbstractCanvasObject<any>>;
|
|
369
370
|
readonly isText: boolean;
|
|
370
371
|
readonly textSelection: ITextSelection | null;
|
|
372
|
+
event: IEvent<MouseEvent>;
|
|
371
373
|
constructor(objects: Array<AbstractCanvasObject<any>>);
|
|
374
|
+
setEvent(event: IEvent<MouseEvent>): void;
|
|
372
375
|
}
|