Contents

displayIfNeededIgnoringOpacity(_:)

Acts as Displayifneeded(), but confining drawing to aRect and not backing up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code.

Declaration

func displayIfNeededIgnoringOpacity(_ rect: NSRect)

Parameters

  • rect:

    A rectangle defining the region to be redrawn. It should be specified in the coordinate system of the view.

See Also

Invalidating the View’s Content