# `GSRectInsetWithEdgeInsets`

*Function*

## Declaration

```objc
NSRect GSRectInsetWithEdgeInsets(NSRect rect, NSEdgeInsets insets);
```

```python
GSRectInsetWithEdgeInsets(rect: NSRect, insets: NSEdgeInsets) -> NSRect
```

## See Also

### Rect Geometry

- [`GSRectFromTwoPoints`](/Core/GlyphsCore/GSRectFromTwoPoints)
- [`GSRectFromFourPoints`](/Core/GlyphsCore/GSRectFromFourPoints) — Returns the bounds of the given four points.

