UNPKG

@mescius/dsimageviewer

Version:

Document Solutions Image Viewer

18 lines (17 loc) 853 B
import { PaintCommandName, PointerTriggerType } from "../../../ImageViewer/Layers/types"; import { PointLocation } from "../../../ImageViewer/Models/SelectionBoxTypes"; import { PaintObjectDesigner } from "../Objects/PaintObjectDesigner"; import { PaintToolbar } from "../PaintToolbar"; import { ObjectPaintCommandBase, PaintExecuteOptions } from "./PaintCommands"; export declare class TextPaintObjectCommand extends ObjectPaintCommandBase { text: any; toolbar: PaintToolbar; name: PaintCommandName; point: PointLocation; trigger: PointerTriggerType; opacity?: number; paintObjectDesigner: PaintObjectDesigner; private _jsonState; constructor(text: any, toolbar: PaintToolbar); execute(mainCtx: CanvasRenderingContext2D, backCtx: CanvasRenderingContext2D, options: PaintExecuteOptions): void; }