# `GSNullPen`

*Class*

A pen that does nothing except fulfill the pen protocol.

## Declaration

```swift
class GSNullPen
```

```objc
@interface GSNullPen : NSObject
```

```python
class GSNullPen(NSObject)
```

## Overview

Useful as the required first argument in `-drawInPen:…` methods when only the other parameters are of interest.

## Topics

### Instance Properties

- [`GSNullPen.lastPoint`](/Core/GlyphsCore/GSNullPen/lastPoint) — The last point to which the pen was drawn.

## Relationships

### Inherits From

- `NSObject`

### Conforms To

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

