new PhotoEditorSDK.Operations.OrientationOperation()
sdk/operations/orientation-operation/index.js, line 25
Extends
- PhotoEditorSDK.Operation
Members
-
staticPhotoEditorSDK.Operations.OrientationOperation.identifierString
-
A unique string that identifies this operation. Can be used to select operations.
- Default Value:
- orientation
Methods
-
flip(direction)
sdk/operations/orientation-operation/index.js, line 82 -
Flips the image while incorporating the current rotation
Name Type Description direction
String -
getNewDimensions(dimensions){PhotoEditorSDK.Math.Vector2}
sdk/operations/orientation-operation/index.js, line 70 -
Returns the dimensions the given dimensions will have after this operation has been applied
Name Type Description dimensions
PhotoEditorSDK.Math.Vector2 Returns:
Type Description PhotoEditorSDK.Math.Vector2