Skip to content

Variable: rotate ​

ts
const rotate: ((angle) => CdnOperation) & NamedOperationCreator;

Defined in: ops/geometric.ts:363

Counterclockwise rotation; the angle must be a multiple of 90.

See ​

https://uploadcare.com/docs/transformations/image/resize-crop/#operation-rotate

Example ​

ts
rotate(270) // → -/rotate/270/