RotationMode

Description

Contains functions to select the rotation mode.
Learn more: Rotating images
Learn more: Rotating videos

Details

Visit Rotate Action for an example

Classes


new RotationModeQualifierValue()

Methods


<static> autoRight() → {Qualifiers.RotationMode.RotationModeQualifierValue}

qualifier

Description

Rotate image 90 degrees clockwise only if the requested aspect ratio does not match the image's aspect ratio.


<static> autoLeft() → {Qualifiers.RotationMode.RotationModeQualifierValue}

qualifier

Description

Rotate image 90 degrees counterclockwise only if the requested aspect ratio does not match the image's aspect ratio.


<static> verticalFlip() → {Qualifiers.RotationMode.RotationModeQualifierValue}

qualifier

Description

Vertical mirror flip of the image.


<static> horizontalFlip() → {Qualifiers.RotationMode.RotationModeQualifierValue}

qualifier

Description

Horizontal mirror flip of the image.


<static> ignore() → {Qualifiers.RotationMode.RotationModeQualifierValue}

qualifier

Description

By default, the image is automatically rotated according to the EXIF data stored by the camera when the image was taken. Set the angle to 'ignore' if you do not want the image to be automatically rotated.