Class: SelectiveBlurOperation

PhotoEditorSDK.Operations~ SelectiveBlurOperation

An operation that can draw a selective blur using brushes

new SelectiveBlurOperation(sdk, options)

sdk/operations/selective-blur-operation/index.js, line 35

Creates a new SelectiveBlurOperation

Name Type Description
sdk PhotoEditorSDK
options Object optional

Extends

  • PhotoEditorSDK.Operation

Members

staticPhotoEditorSDK.Operations.SelectiveBlurOperation.identifierString

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

Default Value:
  • selective-blur

Methods

createPath(size, hardness){PhotoEditorSDK.Operations.SpriteOperation.BrushSprite.Path}

sdk/operations/selective-blur-operation/index.js, line 212

Creates and adds a new path

Name Type Default Description
size Number
hardness Number 1

= 1

Returns:
Type Description
PhotoEditorSDK.Operations.SpriteOperation.BrushSprite.Path

dispose()

sdk/operations/selective-blur-operation/index.js, line 234

Disposes this operation

flip(direction)

sdk/operations/selective-blur-operation/index.js, line 90

Applies a flip to this operation

Name Type Description
direction String

getBrush(){PhotoEditorSDK.Operations.SpriteOperation.BrushSprite}

sdk/operations/selective-blur-operation/index.js, line 202

Returns this operation's brush

Returns:
Type Description
PhotoEditorSDK.Operations.SpriteOperation.BrushSprite

hasChanges(){Boolean}

sdk/operations/selective-blur-operation/index.js, line 255

Checks if the operation has changes/modifications

Returns:
Type Description
Boolean

rotate(degrees)

sdk/operations/selective-blur-operation/index.js, line 100

Applies a rotation to this operation

Name Type Description
degrees Number

setDirtyForRenderer(dirty, renderer, dimensionsChanged)

sdk/operations/selective-blur-operation/index.js, line 226

Sets the dirtiness for the given renderer

Name Type Description
dirty Boolean
renderer PhotoEditorSDK.Engine.BaseRenderer
dimensionsChanged Boolean

= false

transform(transformOperation, options)

sdk/operations/selective-blur-operation/index.js, line 111

Applies a transform to this operation

Name Type Description
transformOperation PhotoEditorSDK.Operation
options Object