@mescius/dsimageviewer
Version:
Document Solutions Image Viewer
51 lines (50 loc) • 1.5 kB
TypeScript
import { IImageViewer } from "../../ImageViewer/Models/IImageViewer";
import { PaintToolsPlugin } from "./PaintToolsPlugin";
export declare function addPaintTools(viewer: any, paintToolsPlugin: PaintToolsPlugin): void;
export declare function removePaintTools(viewer: IImageViewer): void;
export declare function getShortcutTitlePart(viewer: any, key: string): any;
export declare function PaintToolsButton(viewer: IImageViewer, paintToolsPlugin: PaintToolsPlugin): {
key: string;
icon: {
type: string;
content: any;
};
title: string;
checked: boolean;
enabled: boolean;
action: () => void;
onUpdate: (args: any) => {
enabled: boolean;
checked: boolean;
};
};
export declare function TextToolsButton(viewer: IImageViewer, paintToolsPlugin: PaintToolsPlugin): {
key: string;
icon: {
type: string;
content: any;
};
title: string;
checked: boolean;
enabled: boolean;
action: () => void;
onUpdate: (args: any) => {
enabled: boolean;
checked: boolean;
};
};
export declare function EffectsButton(viewer: IImageViewer, paintToolsPlugin: PaintToolsPlugin): {
key: string;
icon: {
type: string;
content: any;
};
title: string;
checked: boolean;
enabled: boolean;
action: () => void;
onUpdate: (args: any) => {
enabled: boolean;
checked: boolean;
};
};