Contents

drawInsertionPoint(in:color:turnedOn:)

Draws or erases the insertion point.

Declaration

func drawInsertionPoint(in rect: NSRect, color: NSColor, turnedOn flag: Bool)

Parameters

  • rect:

    The rectangle in which to draw the insertion point.

  • color:

    The color with which to draw the insertion point.

  • flag:

    True to draw the insertion point, False to erase it.

Discussion

The focus must be locked on the receiver when this method is invoked. You should not need to invoke this method directly.

See Also

Related Documentation

Controlling text display