Class: LinearFocusOperation

PhotoEditorSDK.Operations~ LinearFocusOperation

An operation that can draw a linear focus

new LinearFocusOperation(sdk, options)

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

Creates a new LinearFocusOperation

Name Type Description
sdk PhotoEditorSDK
options Object optional

Extends

  • PhotoEditorSDK.Operation

Members

staticPhotoEditorSDK.Operations.LinearFocusOperation.identifierString

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

Default Value:
  • linear-focus

Methods

dispose()

sdk/operations/linear-focus-operation/index.js, line 205

Disposes this operation

flip(direction)

sdk/operations/linear-focus-operation/index.js, line 86

Applies a flip with the given direction

Name Type Description
direction String

hasChanges(){Boolean}

sdk/operations/linear-focus-operation/index.js, line 216

Checks if the operation has changes/modifications

Returns:
Type Description
Boolean

rotate(operation, degrees)

sdk/operations/linear-focus-operation/index.js, line 63

Applies the given rotation change

Name Type Description
operation PhotoEditorSDK.Operations.RotationOperation
degrees Number