# `GSHandleRectForBounds`

*Function*

## Declaration

```swift
func GSHandleRectForBounds(_ bounds: NSRect, _ corner: GSAlignment, _ handleSize: CGFloat) -> NSRect
```

```objc
NSRect GSHandleRectForBounds(NSRect bounds, GSAlignment corner, CGFloat handleSize);
```

```python
GSHandleRectForBounds(bounds: NSRect, corner: GSAlignment, handleSize: float) -> NSRect
```

## See Also

### Rect Alignment and Handles

- [`GSRectWithCenter`](/Core/GlyphsCore/GSRectWithCenter)
- [`GSHandleRect`](/Core/GlyphsCore/GSHandleRect)
- [`GSMirrorAlignment`](/Core/GlyphsCore/GSMirrorAlignment)
- [`GSAlignedPointForBounds`](/Core/GlyphsCore/GSAlignedPointForBounds)

