[]
        
(Showing Draft Content)

MergeImageLayerCommand

Document Solutions Image Viewer - v8.0.0 / MergeImageLayerCommand

Class: MergeImageLayerCommand

MergeImageLayer undo command.

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new MergeImageLayerCommand(newDataUrl, originalImageDataUrl)

Constructor.

Parameters

Name Type
newDataUrl any
originalImageDataUrl any

Methods

execute

execute(viewer): Promise<void>

Action implementation.

Parameters

Name Type
viewer IImageViewer

Returns

Promise<void>

Implementation of

UndoCommandSupport.execute


undo

undo(viewer): Promise<void>

Undo action implementation.

Parameters

Name Type
viewer IImageViewer

Returns

Promise<void>

Implementation of

UndoCommandSupport.undo