---
title: UIRectCorner
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uirectcorner
---

# UIRectCorner

The corners of a rectangle.

## Declaration

```swift
struct UIRectCorner
```

## Overview

Overview The specified constants reflect the corners of a rectangle that has not been modified by an affine transform and is drawn in the default coordinate system (where the origin is in the upper-left corner and positive values extend down and to the right).

## Topics

### Constants

- [topLeft](uikit/uirectcorner/topleft.md)
- [topRight](uikit/uirectcorner/topright.md)
- [bottomLeft](uikit/uirectcorner/bottomleft.md)
- [bottomRight](uikit/uirectcorner/bottomright.md)
- [allCorners](uikit/uirectcorner/allcorners.md)

### Initializer

- [init(rawValue:)](uikit/uirectcorner/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)
