---
title: "CGRectGetMinY(_:)"
framework: coregraphics
role: symbol
role_heading: Function
path: "coregraphics/cgrectgetminy(_:)"
---

# CGRectGetMinY(_:)

Returns the smallest value for the y-coordinate of the rectangle.

## Declaration

```swift
func CGRectGetMinY(_ rect: CGRect) -> CGFloat
```

## Parameters

- `rect`: The rectangle to examine.

## Return Value

Return Value The smallest value for the y-coordinate of the rectangle.

## See Also

### Getting Min, Mid, and Max Values

- [CGRectGetMinX(_:)](coregraphics/cgrectgetminx(_:).md)
- [CGRectGetMidX(_:)](coregraphics/cgrectgetmidx(_:).md)
- [CGRectGetMidY(_:)](coregraphics/cgrectgetmidy(_:).md)
- [CGRectGetMaxX(_:)](coregraphics/cgrectgetmaxx(_:).md)
- [CGRectGetMaxY(_:)](coregraphics/cgrectgetmaxy(_:).md)
