---
title: drawsBackground
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmatrix/drawsbackground
---

# drawsBackground

A Boolean that indicates whether the matrix draws its background.

## Declaration

```swift
var drawsBackground: Bool { get set }
```

## Discussion

Discussion When the value of this property is true, the matrix draws its background (the space between the cells).

## See Also

### Modifying Graphics Attributes

- [backgroundColor](appkit/nsmatrix/backgroundcolor.md)
- [cellBackgroundColor](appkit/nsmatrix/cellbackgroundcolor.md)
- [drawsCellBackground](appkit/nsmatrix/drawscellbackground.md)
