new PhotoEditorSDK.Operations.SelectiveBlurOperation(sdk, options)
sdk/operations/selective-blur-operation.js, line 29
Creates a new SelectiveBlurOperation
Name | Type | Description |
---|---|---|
sdk |
PhotoEditorSDK | |
options |
Object | optional |
Extends
Members
-
staticPhotoEditorSDK.Operations.SelectiveBlurOperation.identifierString
-
A unique string that identifies this operation. Can be used to select operations.
- Default Value:
- selective-blur
Methods
-
createPath(thickness, hardness){PhotoEditorSDK.Operations.BrushOperation.Path}
sdk/operations/selective-blur-operation.js, line 207 -
Creates and adds a new path
Name Type Default Description thickness
Number hardness
Number 1 = 1
Returns:
Type Description PhotoEditorSDK.Operations.BrushOperation.Path -
crop(cropOperation, options)
sdk/operations/selective-blur-operation.js, line 111 -
Applies a crop to this operation
Name Type Description cropOperation
PhotoEditorSDK.Operation options
Object -
dispose()
sdk/operations/selective-blur-operation.js, line 228 -
Disposes this operation
-
flip(direction)
sdk/operations/selective-blur-operation.js, line 90 -
Applies a flip to this operation
Name Type Description direction
String -
getBlurRadius(){undefined}
-
Returns the blurRadius
Returns:
Name Type Description blurRadius
undefined The blurRadius -
getBrush(){PhotoEditorSDK.Operations.SpriteOperation.Brush}
sdk/operations/selective-blur-operation.js, line 197 -
Returns this operation's brush
Returns:
Type Description PhotoEditorSDK.Operations.SpriteOperation.Brush -
getPaths(){undefined}
-
Returns the paths
Returns:
Name Type Description paths
undefined The paths -
rotate(degrees)
sdk/operations/selective-blur-operation.js, line 100 -
Applies a rotation to this operation
Name Type Description degrees
Number -
setBlurRadius(blurRadius)
-
Sets the blurRadius
Name Type Description blurRadius
undefined -
setDirtyForRenderer(dirty, renderer, dimensionsChanged)
sdk/operations/selective-blur-operation.js, line 220 -
Sets the dirtiness for the given renderer
Name Type Description dirty
Boolean renderer
PhotoEditorSDK.Engine.BaseRenderer dimensionsChanged
Boolean = false
-
setPaths(paths)
-
Sets the paths
Name Type Description paths
undefined