@leapfrog/interactive-canvas 2.0.13 → 2.0.15-beta-0

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.
@@ -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
  }