Class: CropOperation

PhotoEditorSDK.Operations. CropOperation

An operation that can crop out a part of the image

new PhotoEditorSDK.Operations.CropOperation()

sdk/operations/crop-operation.js, line 26

Extends

Members

staticPhotoEditorSDK.Operations.CropOperation.identifierString

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

Default Value:
  • crop

Methods

flip(direction)

sdk/operations/crop-operation.js, line 86

Flips this operation into the given direction

Name Type Description
direction String

rotate(degrees)

sdk/operations/crop-operation.js, line 103

Rotates this operation with the given degrees

Name Type Description
degrees Number