Class: MirroredFocusOperation

PhotoEditorSDK.Operations~ MirroredFocusOperation

An operation that can draw a mirrored focus

new MirroredFocusOperation(sdk, options)

sdk/operations/mirrored-focus-operation/index.js, line 32

Creates a new MirroredFocusOperation

Name Type Description
sdk PhotoEditorSDK
options Object optional

Extends

  • PhotoEditorSDK.Operation

Members

staticPhotoEditorSDK.Operations.MirroredFocusOperation.identifierString

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

Default Value:
  • mirrored-focus

Methods

dispose()

sdk/operations/mirrored-focus-operation/index.js, line 214

Disposes this operation

flip(direction)

sdk/operations/mirrored-focus-operation/index.js, line 87

Applies a flip with the given direction

Name Type Description
direction String

hasChanges(){Boolean}

sdk/operations/mirrored-focus-operation/index.js, line 225

Checks if the operation has changes/modifications

Returns:
Type Description
Boolean

rotate(operation, degrees)

sdk/operations/mirrored-focus-operation/index.js, line 64

Applies the given rotation change

Name Type Description
operation PhotoEditorSDK.Operations.RotationOperation
degrees Number