Class: WatermarkOperation

PhotoEditorSDK.Operations. WatermarkOperation

An operation that can draw a watermark on top of the image

new PhotoEditorSDK.Operations.WatermarkOperation(sdk, options)

sdk/operations/watermark-operation.js, line 25

Creates a new WatermarkOperation

Name Type Description
sdk PhotoEditorSDK
options Object optional

Extends

Members

staticPhotoEditorSDK.Operations.WatermarkOperation.identifierString

A unique string that identifies this operation. Can be used to select operations.

Default Value:
  • watermark

Methods

dispose()

sdk/operations/watermark-operation.js, line 70

Disposes this operation

getImage(){undefined}

Returns the image
Returns:
Name Type Description
image undefined The image

setImage(image)

Sets the image
Name Type Description
image undefined