---
title: "divided(atDistance:from:)"
framework: corefoundation
role: symbol
role_heading: Instance Method
path: "corefoundation/cgrect/divided(atdistance:from:)"
---

# divided(atDistance:from:)

## Declaration

```swift
func divided(atDistance: CGFloat, from fromEdge: CGRectEdge) -> (slice: CGRect, remainder: CGRect)
```
