# `GSBaseObject bounds`

*Instance Method*

The geometric bounds of the object.

## Declaration

```swift
func bounds() -> NSRect
```

```objc
- (NSRect) bounds;
```

```python
bounds() -> NSRect
```

## Discussion

For curve segments, the bounds enclose the curve and may exclude control points outside the curve.

## See Also

### Bounds

- [`GSBaseObject boundsTransform:`](/Core/GlyphsCore/GSBaseObject/boundsTransform:) — The geometric bounds of the object after applying a transform.
- [`GSBaseObject boundsAngle:`](/Core/GlyphsCore/GSBaseObject/boundsAngle:) — The geometric bounds of the object after applying a transform.
- [`GSBaseObject fastBounds`](/Core/GlyphsCore/GSBaseObject/fastBounds) — The overestimated bounds of the object.
- [`GSBaseObject fastBoundsTransform:`](/Core/GlyphsCore/GSBaseObject/fastBoundsTransform:) — The overestimated bounds of the object after applying a transform.

