# `GlyphsToolDraw drawBackgroundForLayer:atPoint:asActive:`

*Instance Method*

Draws the background for the Layer.

## Declaration

```swift
optional func drawBackground(for layer: GSLayer, at layerOrigin: NSPoint, asActive active: Bool)
```

```objc
- (void) drawBackgroundForLayer:(GSLayer *) layer atPoint:(NSPoint) layerOrigin asActive:(BOOL) active;
```

```python
drawBackgroundForLayer_atPoint_asActive_(layer: GSLayer, layerOrigin: NSPoint, active: bool)
```

## Parameters

- `layer` — The layer
- `layerOrigin` — The current position in the edit view
- `active` — If the layer is currently active

