Contents

drawFocusRingMask()

Draws the focus ring mask for the view.

Declaration

func drawFocusRingMask()

Discussion

This method provides the shape of the focus ring mask by drawing the focus ring mask. An implementation of this method should draw in the view’s interior (bounds) coordinate space, that the focus ring style has been set (it will be set it to NSFocusRingPlacement.only to capture the focus ring itself), and that the fill and stroke colors have been set to an arbitrary fully opaque color.

Subclasses that find the default behavior insufficient should only draw the focus ring shape.

The NSView implementation of this method simply fills [self bounds].

See Also

Drawing the Focus Ring