[]
Document Solutions Image Viewer - v8.0.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