# `GSAlignedPointForBounds`

*Function*

## Declaration

```swift
func GSAlignedPointForBounds(_ bounds: NSRect, _ corner: GSAlignment) -> NSPoint
```

```objc
NSPoint GSAlignedPointForBounds(NSRect bounds, GSAlignment corner);
```

```python
GSAlignedPointForBounds(bounds: NSRect, corner: GSAlignment) -> NSPoint
```

## See Also

### Rect Alignment and Handles

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

