Contents

drawBackground(in:)

Draws the background of the text view.

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.

See Also

Controlling text display