Contents

fill(using:)

Fills this list of rects in the current NSGraphicsContext with that rect’s associated color The compositing operation of the fill defaults to the context’s compositing operation, not necessarily using .copy like NSRectFill().

Declaration

func fill(using operation: NSCompositingOperation = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)

Discussion

See Also

Applying AppKit Graphic Operations