Draws the background of the text view.
SDK
- macOS 10.3+
Framework
- App
Kit
Declaration
func drawBackground(in rect: NSRect)
Parameters
rect
The rectangle in which to draw the background.
Discussion
Subclasses can override this method to perform additional drawing behind the text.