new RadialFocusOperation(sdk, options)
sdk/operations/radial-focus-operation/index.js, line 32
Creates a new RadialFocusOperation
Name | Type | Description |
---|---|---|
sdk |
PhotoEditorSDK | |
options |
Object | optional |
Extends
- PhotoEditorSDK.Operation
Members
-
staticPhotoEditorSDK.Operations.RadialFocusOperation.identifierString
-
A unique string that identifies this operation. Can be used to select operations.
- Default Value:
- radial-focus
Methods
-
dispose()
sdk/operations/radial-focus-operation/index.js, line 195 -
Disposes this operation
-
flip(direction)
sdk/operations/radial-focus-operation/index.js, line 79 -
Applies a flip with the given direction
Name Type Description direction
String -
hasChanges(){Boolean}
sdk/operations/radial-focus-operation/index.js, line 206 -
Checks if the operation has changes/modifications
Returns:
Type Description Boolean -
rotate(degrees)
sdk/operations/radial-focus-operation/index.js, line 61 -
Applies the given rotation change
Name Type Description degrees
Number