Draws a menu item separator.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
Parameters
cellFrame
A rectangle defining the receiver's frame area.
controlView
The view object that contains this cell (usually an
NSControl
object).
Discussion
This method uses the cell
parameter to calculate the rectangle in which to draw the menu item separator. This method uses the control
to determine whether the separator item should be drawn normally or flipped.
You should not need to invoke this method directly. Subclasses may override this method to control the drawing of the separator.