Class: FrameOperation

PhotoEditorSDK.Operations~ FrameOperation

An operation that can draw a frame around the image

new FrameOperation(sdk, options)

sdk/operations/frame-operation/index.js, line 32

Creates a new FrameOperation

Name Type Description
sdk PhotoEditorSDK
options Object optional

Extends

  • PhotoEditorSDK.Operation

Members

staticPhotoEditorSDK.Operations.FrameOperation.identifierString

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

Default Value:
  • frame

Methods

staticPhotoEditorSDK.Operations.FrameOperation.validateFrame(frame)

sdk/operations/frame-operation/index.js, line 424

Validates the given frame object

Name Type Description
frame Object

dispose()

sdk/operations/frame-operation/index.js, line 413

Disposes this operation