@mescius/dsimageviewer
Version:
Document Solutions Image Viewer
21 lines (20 loc) • 894 B
TypeScript
import { IPaintObject, PaintObjectPropertyName } from "../../../ImageViewer/Layers/types";
import { PointLocation } from "../../../ImageViewer/Models/SelectionBoxTypes";
export interface IPaintObjectDesigner {
readonly id: string;
readonly typeName: "PaintObjectDesigner" | "SelectedRegion";
selected: boolean;
paintObject: IPaintObject | null;
dispose(): any;
invalidate(): any;
getPaintObjectProperty(propertyName: PaintObjectPropertyName): any | null;
setPaintObjectProperty(propertyName: PaintObjectPropertyName, val: any, dirty?: boolean): boolean;
finishInlineEdits(): any;
onPointerStart(point: PointLocation): any;
onPointerMove(point: PointLocation): any;
onPointerEnd(point: PointLocation): boolean;
updatePosition(point: PointLocation, moveDisatance?: {
x: number;
y: number;
}): boolean;
}