Canvas paint command.

Hierarchy

  • IPaintCommand

Methods

Methods

  • Clone the current command.

    Returns any

  • Execute the current command.

    Parameters

    • mainCtx: CanvasRenderingContext2D

      Main rendering context for new edits.

    • backCtx: CanvasRenderingContext2D

      Background rendering context, contains original image.

    • options: IPaintExecuteOptions

    Returns any