# `GSBaseObject boundsTransform:`

*Instance Method*

The geometric bounds of the object after applying a transform.

## Declaration

```swift
func bounds(applying transform: AffineTransform?) -> NSRect
```

```objc
- (NSRect) boundsTransform:(NSAffineTransform *) transform;
```

```python
boundsTransform_(transform: NSAffineTransform) -> NSRect
```

## Parameters

- `transform` — The transform to apply before measuring bounds.

## Discussion

Passing `nil` returns [`GSBaseObject bounds`](/Core/GlyphsCore/GSBaseObject/bounds).

## See Also

### Bounds

- [`GSBaseObject bounds`](/Core/GlyphsCore/GSBaseObject/bounds) — The geometric bounds of the object.
- [`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.

