# `GSBoundsPen`

*Class*

## Declaration

```swift
class GSBoundsPen
```

```objc
@interface GSBoundsPen : NSObject
```

```python
class GSBoundsPen(NSObject)
```

## Topics

### Instance Properties

- [`GSBoundsPen.bounds`](/Core/GlyphsCore/GSBoundsPen/bounds) — `CGRectNull` when `hasContent == NO`.
- [`GSBoundsPen.overestimated`](/Core/GlyphsCore/GSBoundsPen/overestimated) — Whether the bounds may be larger than the actual bounds.

### Type Methods

- [`GSBoundsPen boundsPen`](/Core/GlyphsCore/GSBoundsPen/boundsPen)
- [`GSBoundsPen overestimatingBoundsPen`](/Core/GlyphsCore/GSBoundsPen/overestimatingBoundsPen) — The computed bounds are guaranteed to be no smaller than the bounds computed by a pen returned by `-boundsPen`.

## Relationships

### Inherits From

- `NSObject`

### Conforms To

- [`GSPenProtocol`](/Core/GlyphsCore/GSPenProtocol)

