---
title: angle
framework: vision
role: symbol
role_heading: Instance Property
path: vision/vnhorizonobservation/angle
---

# angle

The angle of the observed horizon.

## Declaration

```swift
var angle: CGFloat { get }
```

## Discussion

Discussion Use the angle to orient the image in an upright position and make the detected horizon level.

## See Also

### Evaluating the Horizon

- [transform](vision/vnhorizonobservation/transform.md)
- [transform(forImageWidth:height:)](vision/vnhorizonobservation/transform(forimagewidth:height:).md)
