<!--
{
  "documentType" : "article",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/1509228-rotation-constants",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Rotation constants"
}
-->

# Rotation constants

The number of degrees to rotate an image.

## Topics

### Constants

[`var kRotate0DegreesClockwise: Int`](/documentation/Accelerate/kRotate0DegreesClockwise)

A constant that specifies rotation by 0° (that is, copy without rotating).

[`var kRotate90DegreesClockwise: Int`](/documentation/Accelerate/kRotate90DegreesClockwise)

A constant that specifies rotation by 90° clockwise.

[`var kRotate180DegreesClockwise: Int`](/documentation/Accelerate/kRotate180DegreesClockwise)

A constant that specifies rotation by 180° clockwise.

[`var kRotate270DegreesClockwise: Int`](/documentation/Accelerate/kRotate270DegreesClockwise)

A constant that specifies rotation by 270° clockwise.

[`var kRotate0DegreesCounterClockwise: Int`](/documentation/Accelerate/kRotate0DegreesCounterClockwise)

A constant that specifies rotation by 0° (that is, copy without rotating).

[`var kRotate90DegreesCounterClockwise: Int`](/documentation/Accelerate/kRotate90DegreesCounterClockwise)

A constant that specifies rotation by 90° counterclockwise.

[`var kRotate180DegreesCounterClockwise: Int`](/documentation/Accelerate/kRotate180DegreesCounterClockwise)

A constant that specifies rotation by 180° counterclockwise.

[`var kRotate270DegreesCounterClockwise: Int`](/documentation/Accelerate/kRotate270DegreesCounterClockwise)

A constant that specifies rotation by 270° counterclockwise.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)