Contents

highlight(_:withFrame:in:)

Draws the receiver’s image with optional highlighting.

Declaration

@MainActor func highlight(_ flag: Bool, withFrame cellFrame: NSRect, in controlView: NSView?)

Parameters

  • flag:

    A Boolean value that indicates whether to highlight the image. Add a highlight if the value is True.

  • cellFrame:

    The frame rectangle in which to draw.

  • controlView:

    The view in which to draw.

See Also

Related Documentation

Drawing the cell contents