# `GlyphsToolDraw drawBackgroundForLayer:options:`

*Instance Method*

Draws the background for the active layer.

## Declaration

```swift
optional func drawBackground(for layer: GSLayer, options: [AnyHashable : Any]? = nil)
```

```objc
- (void) drawBackgroundForLayer:(GSLayer *) layer options:(NSDictionary *) options;
```

```python
drawBackgroundForLayer_options_(layer: GSLayer, options: dict)
```

## Parameters

- `layer` — The actual GSLayer instance.
- `options` — Options

## Discussion

This should be only additional items, as the actual glyph is drawn somewhere else. The drawing happened in font units scale (the view does the transformation). If you need to draw something in a definite size (text) you have to counter scale it.

