# `GSGlyphEditView drawBackgroundImageOfLayer:atPoint:asActive:`

*Instance Method*

Draws the background image of the given glyph layer into the receiver’s background CA layer. The CA layer is created if necessary.

## Declaration

```swift
func drawBackgroundImage(of layer: GSLayer?, at layerOrigin: NSPoint, asActive active: Bool)
```

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

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

## Parameters

- `layer` — The glyph layer providing the background image. If this is nil, the current background image is removed.
- `layerOrigin` — The origin of the given glyph layer.
- `active` — If this is YES, the image is highlighted to indicate that it belongs to the selected glyph layer.

