Class: LinearFocusOperation

PhotoEditorSDK.Operations. LinearFocusOperation

An operation that can draw a linear focus

new PhotoEditorSDK.Operations.LinearFocusOperation(sdk, options)

sdk/operations/linear-focus-operation.js, line 27

Creates a new LinearFocusOperation

Name Type Description
sdk PhotoEditorSDK
options Object optional

Extends

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.js, line 163

Disposes this operation

flip(direction)

sdk/operations/linear-focus-operation.js, line 81

Applies a flip with the given direction

Name Type Description
direction String

getBlurRadius(){undefined}

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

getEnd(){undefined}

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

getGradientSize(){undefined}

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

getSize(){undefined}

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

getStart(){undefined}

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

rotate(operation, degrees)

sdk/operations/linear-focus-operation.js, line 58

Applies the given rotation change

Name Type Description
operation PhotoEditorSDK.Operations.RotationOperation
degrees Number

setBlurRadius(blurRadius)

Sets the blurRadius
Name Type Description
blurRadius undefined

setEnd(end)

Sets the end
Name Type Description
end undefined

setGradientSize(gradientSize)

Sets the gradientSize
Name Type Description
gradientSize undefined

setSize(size)

Sets the size
Name Type Description
size undefined

setStart(start)

Sets the start
Name Type Description
start undefined