[]
Document Solutions Image Viewer - v7.2.0 / IPaintCommand
Canvas paint command.
▸ clone(): any
Clone the current command.
any
▸ execute(mainCtx
, backCtx
, options
): any
Execute the current command.
Name | Type | Description |
---|---|---|
mainCtx |
CanvasRenderingContext2D |
Main rendering context for new edits. |
backCtx |
CanvasRenderingContext2D |
Background rendering context, contains original image. |
options |
IPaintExecuteOptions |
- |
any